Skip to main content
Glama
skylarbarrera

react-devtools-mcp

react-devtools-mcp

Give AI agents eyes into your React app.

Setup

1. Add MCP server to Claude Code

.mcp.json:

{ "mcpServers": { "react-devtools": { "command": "npx", "args": ["react-devtools-mcp"] } } }

2. Connect your React app

Web - Add to your HTML (before your app bundle):

<script src="http://localhost:8097"></script>

React Native - DevTools is built-in. No extra setup needed.

3. (Optional) Install the skill

Teach Claude when to use these tools:

npx add-skill skylarbarrera/react-devtools-mcp

Or manually:

cp node_modules/react-devtools-mcp/SKILL.md ~/.claude/skills/react-devtools/SKILL.md

Usage

With your React app running, ask Claude things like:

  • "What's the current state of the Counter component?"

  • "Why doesn't clicking this button update the UI?"

  • "Which components are re-rendering too often?"

Docs

License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/skylarbarrera/react-devtools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server