react-scan icon indicating copy to clipboard operation
react-scan copied to clipboard

[Feature Request] MCP Server

Open leo-paz opened this issue 1 year ago • 7 comments

It would be super cool to get the logs of react-scan and have them be available in cursor to iterate on. Not just performance issues but also simple things like:

  • grabbing screenshots of react components
  • getting network errors
  • getting console errors

leo-paz avatar Feb 21 '25 19:02 leo-paz

This would be HUGE!

steven-tey avatar Feb 22 '25 06:02 steven-tey

Cline has a feature where you can ask it to right an MCP server and it will write one and then install automatically. Not 100% perfect, but might be a good start.

jelling avatar Feb 23 '25 17:02 jelling

In v0.0.2 we have an option to export the data we collect as a prompt in different formats https://x.com/aidenybai/status/1894421396799066441

We can do an MCP server soon, I agree that would be awesome

RobPruzan avatar Feb 25 '25 20:02 RobPruzan

Would it be too far out of scope to include console output?

Working with Cline, I frequently find myself copy and pasting debug output .

jelling avatar Feb 26 '25 17:02 jelling

Would it be too far out of scope to include console output?

Working with Cline, I frequently find myself copy and pasting debug output .

i want that too, we can definitely do that

RobPruzan avatar Feb 26 '25 17:02 RobPruzan

@RobPruzan have any progress about this? bro

arronKler avatar May 16 '25 07:05 arronKler

@RobPruzan have any progress about this? bro

Yep! This feature unfortunately never got out since I left million around this time.

But, fortunately, I'm working on a library for building devtools, https://github.com/RobPruzan/kyju, and automatic MCP support is a feature im building. React Scan will be the first devtool implemented with it!

I would estimate 2-4 week timeline if all goes well

RobPruzan avatar May 16 '25 07:05 RobPruzan