react-native-dev-mcp
Provides device control via adb: list/boot devices, install/launch apps, deep links, screenshots, and demo status bar.
Works with Expo-managed React Native projects, providing full tooling support.
Runs Gradle as a background job and parses build logs for diagnostics, returning structured error information.
Uses Hermes CDP protocol for runtime bridge to stream logs and evaluate JS.
Provides device control via simctl: list/boot devices, install/launch apps, deep links, screenshots, and demo status bar.
Connects to Metro's inspector to stream console logs and evaluate JavaScript inside the running app.
Targets React Native framework, providing development tools for device control, runtime inspection, and build diagnostics.
Allows inspecting Redux store state by evaluating JavaScript expressions inside the running app.
Runs xcodebuild as a background job and parses build logs for diagnostics, returning structured error information.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@react-native-dev-mcp Run my app on Android and figure out why it's broken at startup."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
react-native-dev-mcp
MCP server that gives AI coding agents hands, eyes and a mechanic's ear for React Native development.
Coding agents are good at writing React Native code and bad at everything around it: putting the app on a device, seeing what it logs, and understanding why the native build exploded into 4,000 lines of Gradle. This server closes that loop with three pillars:
Pillar | What the agent gets |
๐คฒ Device control | One uniform interface over |
๐ Runtime bridge | Connects to Metro's inspector (CDP/Hermes, RN 0.76+ "Fusebox"). Streams |
๐ง Build diagnostics | Runs |
Works with Expo and bare React Native CLI, RN 0.76+ (tested on 0.80+).
The server is environment-aware: on Windows/Linux, iOS tools are never even registered, and
every failure returns a structured remediation the agent can act on. Start with the
doctor tool.
Install
Requires Node 22+. The server runs on your machine over stdio.
Claude Code
claude mcp add rn-dev -- npx -y react-native-dev-mcpOr per-project, in .mcp.json:
{
"mcpServers": {
"rn-dev": {
"command": "npx",
"args": ["-y", "react-native-dev-mcp"]
}
}
}Codex CLI
In ~/.codex/config.toml:
[mcp_servers.rn-dev]
command = "npx"
args = ["-y", "react-native-dev-mcp"]Cursor / Claude Desktop / others
Any MCP client that speaks stdio works โ point it at npx -y react-native-dev-mcp.
Useful flags: --project-root <path>, --metro-port <port>, --eager-metro, --verbose.
Related MCP server: multivon-mcp
Try asking your agent
Once installed, talk to your agent in plain language โ it picks the right tools:
"Run my app on Android and figure out why it's broken at startup."
"Boot an iPhone simulator, build and install the app, then screenshot the login screen."
"The iOS build is failing. Diagnose it, apply the suggested fix and rebuild until it's green."
"Watch the console while I tap through checkout and summarize any errors you see."
"What's in the Redux store right now? Read the auth slice from the running app."
"Open the deep link myapp://profile/42 and verify it lands on the right screen."
The loop
A typical agent session against a real app:
doctor โ toolchains ok, Metro running, project: expo ยท RN 0.85
list_devices โ iPhone 16 Pro (booted)
run_build {platform: "ios"} โ job a1b2c3d4
get_build_status {jobId} โ โ failed ยท "Sandbox not in sync with Podfile.lock"
โ fix: run pod install (tool run_pod_install)
run_pod_install โ โ
run_build โ get_build_status โ โ
artifact: .../MyApp.app
install_app + launch_app โ app running
read_console {level:"error"} โ "TypeError: cannot read property 'id' of undefined"
evaluate_js {expression:
"globalThis.store.getState().auth"} โ { user: null, โฆ } โ found it
(agent edits code) โ reload_app โ read_console โ clean โ
take_screenshot โ ๐ธ verified visuallyTools (20)
Environment ยท doctor
Devices ยท list_devices boot_device shutdown_device install_app uninstall_app launch_app terminate_app open_url take_screenshot set_status_bar_demo
Runtime ยท list_runtime_targets read_console evaluate_js reload_app
Build ยท run_build get_build_status cancel_build run_pod_install parse_build_log
Full reference with schemas and error codes: documentation site.
Good to know
One debugger at a time (Hermes limitation). If React Native DevTools is attached, runtime tools return
DEBUGGER_OCCUPIEDwith instructions. Close the DevTools tab and retry.Builds never block.
run_buildreturns a job id in <2s; poll withget_build_status(it long-polls up to 60s per call). Logs persist on disk and can be re-parsed any time withparse_build_log.Token-frugal by design. Lists are collapsed and capped, console reads are cursor-based and deduped, build results carry at most 10 diagnostics plus a
logPathescape hatch.
Contributing
The easiest high-impact contribution is a build error signature โ pure YAML plus a log
snippet, no TypeScript. See CONTRIBUTING.md. Development is spec-driven:
every tool's contract lives in specs/.
License
MIT ยฉ Luiz Esper
Available Tools
9 toolscancel_buildCancel buildA
Cancel a running build job (kills the whole process tree).
Inputs: jobId (required). Returns: status
doctorEnvironment doctorARead-only
Check the health of the React Native development environment: detected OS, iOS/Android toolchains, Metro status and project info. Call this first when something is failing or before device/build operations.
Inputs: projectRoot. Returns: ios, host, metro, android, +3 more
evaluate_jsEvaluate JavaScript in the appA
Execute a JavaScript expression inside the running React Native app and return the result. Use to inspect state (Redux/Zustand stores, globals) or trigger behavior. Promises are awaited via polling (Hermes limitation), up to timeoutMs. This can mutate app state โ prefer read-only expressions when verifying. Requires Metro running.
Inputs: expression (required), targetId, timeoutMs, awaitPromise. Returns: result, preview, exception, truncated, +1 more
get_build_statusGet build statusARead-only
Check a build job started by run_build. Long-polls up to waitSeconds (default 25) so you can wait efficiently; on completion returns structured diagnostics with probable causes and suggested fixes.
Inputs: jobId (required), waitSeconds. Returns: status, logPath, logTail, exitCode, +6 more
list_runtime_targetsList runtime targetsARead-only
List debuggable React Native runtimes exposed by Metro. Call when a runtime tool reports TARGET_AMBIGUOUS or to check what is connectable. Requires Metro running.
Inputs: port. Returns: targets, metroPort
parse_build_logParse a build logARead-only
Parse a native build log (xcodebuild, Gradle, CocoaPods, Metro) into structured diagnostics with probable causes and suggested fixes. Use on logs from terminals, CI, or a logPath from get_build_status.
Inputs: logPath, logText. Returns: errorCount, diagnostics, warningCount, platformGuess, +1 more
read_consoleRead console logsARead-only
Read console logs from the running React Native app (buffered since the runtime bridge connected). Cursor-based: pass the previous nextCursor to read only new entries. Requires Metro running.
Inputs: level, limit, cursor, filter, +1 more. Returns: dropped, entries, nextCursor, bufferedSince
reload_appReload appAIdempotent
Trigger a full JS reload of the running React Native app (same as pressing 'r' in the Metro terminal). Requires Metro running.
Inputs: targetId. Returns: reloaded
run_buildRun native buildA
Start a native build (Gradle) in the background and return a job id immediately. Poll with get_build_status. Use after native-layer changes; for pure JS changes prefer reload_app.
Inputs: platform (required), clean, scheme, variant, +1 more. Returns: jobId, status, command, logPath
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 9 tools
Each tool has a distinct purpose: doctor checks environment health, evaluate_js/read_console/reload_app interact with running app, run_build/get_build_status/cancel_build/parse_build_log handle builds, and list_runtime_targets discovers runtimes. No significant overlap.
Most tools follow a clear verb_noun snake_case pattern (e.g., cancel_build, evaluate_js, get_build_status). The exception is 'doctor', which is a single word noun used as a command, but it's a standard term in React Native CLI.
With 9 tools, the set is well-scoped for React Native development. It covers build management, runtime interaction, diagnostics, and health checks without being overwhelming or sparse.
The tool surface covers the core development loop: build, status, parse logs, cancel, reload, inspect state, read console, health, and runtime discovery. Minor gaps like explicit device running or Metro starting are likely out of scope.
Maintenance
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
Nifty's MCP server โ exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server designed for React Native and Expo development that provides specialized tools for project scaffolding, architectural best practices, and troubleshooting. It enables AI assistants to guide users through setup, navigation configuration, and CI/CD processes using modern stacks like NativeWind and Zustand.134MIT

multivon-mcpofficial
AlicenseAqualityBmaintenanceMCP server that gives AI coding agents direct access to evaluation tools.23Apache 2.0- AlicenseNot gradedqualityCmaintenanceMCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.79 npm10MIT
- AlicenseAqualityCmaintenanceAn MCP server that empowers AI coding agents to work effectively with Minecraft mod development, providing static analysis of decompiled source code and runtime interaction with a running Minecraft instance.3159 npm18MIT