Skip to content

[MCP] Add tools for React performance analysis #33490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

jorge-cab
Copy link
Contributor

@jorge-cab jorge-cab commented Jun 9, 2025

Summary

Add a set of performance tools to analyze interactively analyze the performance of a live React App. This approach leverages Chrome running on debugging mode and puppeteer to extract custom performance tracks of the app.

The flow goes as follows:

  • First we ask LLM to start recording:

    • start-react-performance-recording - Starts the recording of the running app, adds a visual indicator and a stop button
      Screenshot 2025-06-11 at 10 39 52 AM
  • Then we tell LLM we are done recording and that it should analyze the data:

    • process-react-performance-data - Saves the performance data to the MCP server and creates the DB
    • interpret-react-performance-data - Interprets the data via iteratively running SQL queries.

@jorge-cab jorge-cab marked this pull request as ready for review June 11, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants