Skip to main content
ClaudeWave

Local inspector for React Native and Expo apps: network, crashes, storage, SQLite, screen mirror, remote actions and MCP server, streamed to a web dashboard. Zero native dependencies. Docs: https://rn-devtools-hub.github.io/rn-devtools-hub/

MCP ServersRegistry oficial3 estrellas1 forksTypeScriptMITActualizado today
Install in Claude Code / Claude Desktop
Method: NPX · rn-devtools-hub
Claude Code CLI
claude mcp add rn-devtools-hub -- npx -y rn-devtools-hub
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "rn-devtools-hub": {
      "command": "npx",
      "args": ["-y", "rn-devtools-hub"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

<p align="center">
  <img src="assets/logo.svg" width="120" alt="rn-devtools-hub">
</p>

<h1 align="center">rn-devtools-hub</h1>

<p align="center">
  The agent runtime for React Native. Your agent sees the app the way React
  sees it, knows which file produced each element, acts without coordinates,
  and proves that it works. Zero dependencies, everything stays on your
  machine.
</p>

<p align="center">
  <a href="https://rn-devtools-hub.github.io/rn-devtools-hub/">Documentation</a> ·
  <a href="#quick-start">Quick start</a> ·
  <a href="#integration-guide">Integration</a> ·
  <a href="#contributing">Contributing</a>
</p>

## Use it from an agent

Both plugins install the MCP server plus a skill that teaches the agent to
chain its tools: check the project context before debugging anything that
looks impossible, prove results with assertions instead of screenshots, wait
on events instead of sleeping, and read an element's source instead of
grepping the repository.

**Claude Code**

```
/plugin marketplace add rn-devtools-hub/rn-devtools-hub
/plugin install rn-devtools-hub
```

**Codex**

```
codex plugin marketplace add rn-devtools-hub/rn-devtools-hub
codex plugin add rn-devtools-hub
```

Then start the hub at the root of your app, which is what the agent talks
to:

```
npx rn-devtools-hub
```

Registering the server by hand works too. Claude Code:

```
claude mcp add rn-devtools --transport http http://127.0.0.1:8973/mcp
```

Codex, in `~/.codex/config.toml`:

```toml
[mcp_servers.rn-devtools]
url = "http://127.0.0.1:8973/mcp"
```

Any client that speaks only stdio uses `npx rn-devtools-hub mcp`, which
bridges to the hub and starts it on demand.

## Screenshots

<p align="center">
  <img src="assets/screenshots/overview.png" alt="Overview panel: KPI tiles, JS thread lag, HTTP statuses and request durations">
  <em>Overview: request counts, error rate, JS thread lag, connection and device at a glance</em>
</p>

<p align="center">
  <img src="assets/screenshots/network.png" alt="Network panel: request list with colored methods and a foldable JSON response">
  <em>Network: colored methods, slow requests highlighted, foldable JSON, copy as cURL, secrets redacted before they leave the device</em>
</p>

<p align="center">
  <img src="assets/screenshots/mirror.png" alt="Mirror panel: live Android screen with tap, swipe and key controls">
  <em>Mirror: the live device screen over adb, click to tap, drag to swipe, wheel to scroll, plus Back/Home/Recents/Dev menu</em>
</p>

## Why

The SDK lives **inside the JavaScript runtime of your app**.

An accessibility-driven tool sees what the OS exposes. A WebDriver-driven one
sees a black box. An IDE inspector sees the tree but will not act on it. None
of them can read a component's props, call a handler, intercept a request or
write to a store, because none of them is inside.

That position is what the whole product is built on. Everything else follows
from it:

| The agent can | Because it is inside the runtime |
| --- | --- |
| Find an element by role and accessible name, then act on it | Actions go through the app's own props, not through pixels |
| Get the file and line that produced an element | The location lives in React's dev bookkeeping |
| Prove a step without a screenshot | A screenshot cannot show a request that failed silently |
| Tell a stale native build from a code problem | Only the runtime knows what the binary actually is |
| Freeze the clock and the network | Date and fetch are in the runtime |
| Put the app in an exact state without walking ten screens | Stores are reachable directly |
| Explain a visual regression, not just score it | The changed region maps back to the component that owns it |

A pure JavaScript SDK in the app (inert in production), a local hub in a single
process, a dashboard in the browser. Zero dependencies anywhere, including the
hub. Your data never leaves your machine.

## Features

| Panel | What you see |
| --- | --- |
| Overview | KPI tiles, JS thread lag, HTTP statuses, duration distribution |
| Crashes | Fatal errors, JS errors, unhandled promise rejections, stacks |
| Network | Request/response inspector (colored methods, durations, sizes), copy as cURL, secrets redacted |
| Uploads | Live upload queue (if your app emits the events, see the protocol) |
| Cache | React Query snapshot: keys, statuses, freshness, data |
| Storage | AsyncStorage keys, sizes, values, live write timestamps |
| Screens | Navigation journey, time spent per screen |
| Logs | console.log/info/warn/error, colorized JSON, filters |
| SQLite | Read-only SQL console (SELECT/PRAGMA) on your app's database |
| Endpoints | Map of declared endpoints, calls, latencies |
| Actions | Buttons driving the app: reload, clear caches, your custom actions |
| Design | Icon, splash, fonts, sounds, identity (read from app.json and the assets) |
| Mirror | Live app screen (needs react-native-view-shot in the app), full Android via adb (tap, swipe, keyboard, Wi-Fi), iOS simulator via xcrun |

The Overview panel opens with the project context: what the project declares,
what the app actually runs, and whatever the two disagree on. A stale native
build is the most common way to lose an afternoon here, and it is named before
you start reading code.

Plus: multi-device with merged sessions, bug report export in Markdown (ready
for a GitHub issue), real-time capability badges, and a local MCP server to
drive everything from Claude, Cursor or any MCP client.

## What an agent gets

| Tool | What it answers |
| --- | --- |
| `get_project_context` | What the project declares, what it actually runs, and the contradictions. Call it first when anything behaves impossibly |
| `get_ui_tree`, `query_ui` | The visible components, each carrying the source file and line that produced it |
| `ui_act` | Tap, type, submit, scroll, by element and never by pixel |
| `assert` | Proves a step: element kinds retry, event kinds catch a request that failed silently, a console error, an unhandled rejection |
| `freeze_time`, `mock_network` | Deterministic at the JS level, so a scenario runs the same twice |
| `get_state`, `set_state` | Put the app in an exact state without walking ten screens |
| `render_component` | Mount a component inside the running app, under its real providers |
| `snapshot_baseline`, `compare_snapshot` | A visual diff that names the component owning the changed region |
| `export_session`, `export_flow` | One correlated timeline, and actions paired with the consequences they caused |
| `audit_accessibility` | What React renders but the accessibility tree does not expose |

Source locations survive React 19, where the location lives in owner stacks
pointing into the bundle: the hub symbolicates them against Metro before the
agent sees them.

For AI agents, the hub also exposes runtime UI automation over MCP:
`get_ui_tree` (semantic tree of the visible components, read from the React
runtime, including native views without accessibility like maps), `query_ui`
(find elements by role and accessible name, testID, text or label, scoped
with `within`, with measured rects), `ui_act` (tap, type exact text, submit,
scroll, all by element, never by pixels), typed dev actions
(`list_actions`/`run_action`: navigate, seed, login without touching the
UI), and a correlated event flow (`wait_for_event`, `get_events_since`) that
replaces sleeps with real signals like `screen.ready`. Works in Expo Go,
development builds and bare React Native, and in CI without any simulator:
enable it with `devtools.attachUiAutomation()`.

The hub covers the native layer too, as a superset of what idb/simctl
scripting gives an agent: `session_start` boots a dev build on the right
Metro server with zero dialogs (permissions pre-granted, dev-menu
onboarding skipped), plus `set_permission`, `launch_app`, `open_url`,
`screenshot_native`, `set_location`, `send_push`, `set_appearance`,
`set_animations` and a last-resort `tap_native`, on iOS simulators and
Android devices, with every capability probed and degrading cleanly.

## Quick start

Prerequisites: Node 20+. [Bun](https://bun.sh) is used when present, and is not required. Optional
capabilities (adb mirror, iOS simulator, Wi-Fi) have their own prerequisites:
see the [integration guide](docs/integration.md#prerequisites-by-capability).

```bash
# 1. In your React Native / Expo project, as a devDependency:
npm install --save-dev rn-devtools-hub

# 2. Wire it up automatically (detects your libraries, writes the glue,
#    hooks the entry point, adds the `devtools` script):
npx rn-devtools-hub init

# 3. Start the hub (runs on Bun or Node 20+)
npm run devtools
# -> Dashboard: http://localhost:8973/?token=... (URL printed at startup)
```

`init` inspects your project and generates only the code it can actually
run: axios interception if you use axios, the Storage panel if you have
AsyncStorage, device info if you have expo-device, and so on. It never
overwrites an existing glue file (use `--force`), and `--dry-run` shows
what it would change.

That's it: logs, crashes and performance already flow in. Every additional
integration (network, cache, storage, SQLite, mirror...) is a recipe of a few
lines: see the [integration guide](docs/integration.md).

## Integration guide

The SDK is agnostic: it exposes generic primitives that you wire to YOUR
libraries. All the recipes are in
[docs/integration.md](docs/integration.md), notably:

- `devtools.attachAxios(instance, "api")`: any axios instance
- `devtools.wrapFetch(fetch, "uploads")`: any fetch-based client
- `devtools.emit(type, payload)`: feed any panel
- `devtools.onCommand(name, handler)`: respond to the dashboard (e.g. SQLite)
- `devtools.registerAction({name, label, danger, requiresNative}, handler)`
- `devtools.attachUiAutomation()`: UI perception and actions for AI agents
- `devtools.markScreenReady("Login")`: "screen ready" signal agents wait on
- The complete events and commands protocol:
  [docs/protocol.
debuggingdevtoolsexpoflipper-alternativeinspectormcpreact-native

Lo que la gente pregunta sobre rn-devtools-hub

¿Qué es rn-devtools-hub/rn-devtools-hub?

+

rn-devtools-hub/rn-devtools-hub es mcp servers para el ecosistema de Claude AI. Local inspector for React Native and Expo apps: network, crashes, storage, SQLite, screen mirror, remote actions and MCP server, streamed to a web dashboard. Zero native dependencies. Docs: https://rn-devtools-hub.github.io/rn-devtools-hub/ Tiene 3 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala rn-devtools-hub?

+

Puedes instalar rn-devtools-hub clonando el repositorio (https://github.com/rn-devtools-hub/rn-devtools-hub) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar rn-devtools-hub/rn-devtools-hub?

+

rn-devtools-hub/rn-devtools-hub aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene rn-devtools-hub/rn-devtools-hub?

+

rn-devtools-hub/rn-devtools-hub es mantenido por rn-devtools-hub. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a rn-devtools-hub?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega rn-devtools-hub en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: rn-devtools-hub/rn-devtools-hub
[![Featured on ClaudeWave](https://claudewave.com/api/badge/rn-devtools-hub-rn-devtools-hub)](https://claudewave.com/repo/rn-devtools-hub-rn-devtools-hub)
<a href="https://claudewave.com/repo/rn-devtools-hub-rn-devtools-hub"><img src="https://claudewave.com/api/badge/rn-devtools-hub-rn-devtools-hub" alt="Featured on ClaudeWave: rn-devtools-hub/rn-devtools-hub" width="320" height="64" /></a>

Más MCP Servers

Alternativas a rn-devtools-hub