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
README.md•1.02 KiB
# react-devtools-bridge
Give AI agents eyes into your React app.
## Setup
### 1. Add MCP server to Claude Code
`.mcp.json`:
```json
{
"mcpServers": {
"react-devtools": {
"command": "npx",
"args": ["react-devtools-bridge"]
}
}
}
```
### 2. Connect your React app
**Web** - Add to your HTML (before your app bundle):
```html
<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:
```bash
npx add-skill skylarbarrera/react-devtools-mcp
```
Or manually:
```bash
cp node_modules/react-devtools-bridge/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
- [All tools](TOOLS.md)
- [Skill guide](SKILL.md) - When and how to use each tool
## License
MIT