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.