Skip to main content
Glama
react-native-devtools-mcp

react-native-devtools-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RN_DEVTOOLS_IDB_PATHNoPath to the `idb` binary for iOS view hierarchy.auto-discover
RN_DEVTOOLS_PLATFORMNoForce platform: `ios` or `android`.auto-detect
RN_DEVTOOLS_DEVICE_IDNoForce device UDID (iOS) or serial (Android).auto-detect
RN_DEVTOOLS_METRO_HOSTNoMetro bundler host.127.0.0.1
RN_DEVTOOLS_METRO_PORTNoMetro bundler port.8081

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pingA

Health check — returns device info and connection status

screenshotA

Capture the current simulator/emulator screen and return it as an image

get_view_hierarchyA

Dump the current UI accessibility tree with labels, types, frames, and testIDs. Requires Facebook IDB on iOS.

get_device_infoB

Show current device/simulator/emulator info and connection status

get_device_logsC

Capture recent device console logs from the simulator/emulator

start_recordingC

Start recording the simulator/emulator screen to a video file

stop_recordingA

Stop the current screen recording and return the file path

tapC

Tap on the screen at given coordinates

type_textB

Type text into the currently focused input field

press_buttonC

Press a device button (home, back, enter, delete)

scrollB

Scroll the screen in a direction

open_deeplinkB

Open a URL or deep link in the app (e.g., metamask://dapp/example.com)

get_metro_statusA

Check if Metro bundler is running and list connected React Native runtimes

get_js_logsA

Capture JavaScript console output (console.log/warn/error) from the running React Native app via Metro CDP

js_evalA

Execute JavaScript in the running React Native app via Metro CDP. Returns the result. Supports await for async expressions.

helpA

List all available tools with descriptions, parameters, and current system status

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 16 tools

Disambiguation4/5

Each tool maps to a distinct action on the simulator/app (tap, scroll, screenshot, record, eval, logs), so selection is mostly clear. The main overlap is `ping` ("returns device info and connection status") versus `get_device_info` ("show device/simulator info and connection status"), which are near-duplicates, and `get_device_logs` vs `get_js_logs` require reading descriptions carefully to pick correctly.

Naming Consistency4/5

Names are uniformly snake_case and mostly follow a verb_noun pattern (get_device_info, start_recording, open_deeplink, get_js_logs). Minor deviations are `js_eval` (noun_verb, reversed order) and bare-verb tools like ping, screenshot, tap, scroll, help, which are intuitive enough for action-style commands.

Tool Count4/5

16 tools is on the high side but each roughly corresponds to a real devtools workflow: device control, screen capture, recording, log capture, Metro status, and JS evaluation. The set could be trimmed by merging ping with get_device_info and possibly folding help into a meta-capability, but nothing feels gratuitous.

Completeness4/5

The surface covers the core loop well: connect/inspect device, capture screen and view hierarchy, read JS/device logs, drive input (tap, type, button, scroll, deeplink), record video, and run JS via Metro. Gaps include network request inspection, app relaunch/reload, and richer gestures (long press, swipe, pinch), but agents can work around these.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues