Metro MCP Server
A plugin-based MCP server for React Native runtime debugging, inspection, and automation. Connects to Metro bundler via Chrome DevTools Protocol — no app code changes needed for most features.
Documentation
metro-mcpThe MCP server for React Native & Expo
Connect Claude, Cursor, VS Code, OpenCode, Codex or any MCP-compatible AI agent to your running app. Inspect components, track network requests, record tests, and more — no app code changes needed.
Tools Reference
View on GitHub
Claude
You|
Claude
Claude
You|
Claude
Quick Install
Multiple AgentsClaude CodeCodexOpenCodeCursorVS Code
npx add-mcp metro-mcp --all -g -y
🔌
Zero setup
Connects to Metro via Chrome DevTools Protocol. No app modifications required for core debugging features.
🧩
Plugin-based
Every capability is a plugin. Extend metro-mcp with local files or npm packages using the definePlugin API.
🤖
AI-native
Designed as an MCP server — expose tools, resources, and prompts directly to Claude, Cursor, VS Code, OpenCode, Codex and more.
🧪
Test recording
Record real user interactions and generate Appium, Maestro, or Detox tests with accurate selectors automatically.
📊
Profiling
CPU profiling via Hermes CDP and React Profiler integration to find performance hotspots fast.
🛠️
Full control
Inspect components, dispatch Redux actions, navigate, take screenshots, run JS — all from your AI agent.