What dependencies are required?
You need `@babel/preset-react` installed because the plugin traverses the AST to collect React component names.
@jazelly
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"vite-react-mcp": {
"type": "http",
"url": "http://localhost:3000/sse"
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list directly from this server's endpoint using the button above.
Vite React MCP is a Vite plugin that creates an MCP (Model Context Protocol) server to help LLMs understand your React app’s component structure, states, and performance. It is designed for developers using Vite and React who want to give AI assistants live insight into their application.
Install it as a dev dependency with pnpm install vite-react-mcp -D and also install @babel/preset-react. Add ReactMCP() to your Vite config’s plugins array. For MCP integration, configure your client: in Cursor, create ./cursor/mcp.json with a url property pointing to http://localhost:3000/sse. In Claude Desktop, a workaround script is needed because it expects command‑based execution. You can also access the tools directly via window.__VITE_REACT_MCP_TOOLS__ in the browser console.
You need `@babel/preset-react` installed because the plugin traverses the AST to collect React component names.
It uses `bippy` to inject a `__REACT_GLOBAL_DEVTOOLS_HOOK__` into the window, which provides access to React’s internal state without needing the DevTools extension.
The server exposes an HTTP endpoint via SSE at `http://localhost:3000/sse` (the same port as your Vite dev server).
Yes, but it requires a custom bridge script because Claude Desktop expects command‑based execution, while this MCP server is HTTP‑based. See [this discussion](https://github.com/orgs/modelcontextprotocol/discussions/16) for details.
No. By default it shows only self‑defined components. Pass `allComponent: true` to get the full tree.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments