mcpserver.lol
registry/mcp-rn-devtools
Connection check local install

mcp-rn-devtools

MCP server for React Native runtime debugging — gives Claude access to logs, errors, network, state, storage, and performance profiling from your running app

Tools 25
GitHub stars 1
Installs / wk 19
Licence MIT
Transport stdio
Last checked never

Tools & capabilities

25 tools

Read from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.

clear_buffers from source
Clear captured data buffers (logs, errors, network, actions, state, renders). Call before reproducing a bug so subsequent reads contain only fresh data.
dispatch_action from source
Dispatch a Redux action to a store discovered by the runtime agent. Useful to reproduce states or trigger flows while debugging.
evaluate_js from source
Execute JavaScript in the React Native app (Hermes) via CDP Runtime.evaluate. Runs in the global scope:
force_gc from source
Force garbage collection and return before/after heap memory comparison.
get_action_log from source
Get Redux action dispatch log. Shows action types, reducer duration, and which state slices changed. Zero-config: the runtime agent records dispatches automatically once a store is…
get_app_state from source
Get application state from Redux/Zustand stores. Zero-config: discovers Redux stores automatically via the injected runtime agent. The optional SDK adds Zustand and custom stores.
get_console_logs from source
Get console log output from the running React Native app. Returns log, info, and debug messages (not errors/warnings \u2014 use get_errors and get_warnings for those).
get_cpu_profile from source
Profile CPU usage for a given duration and return the hottest functions sorted by self time.
get_errors from source
Get JavaScript errors and exceptions from the running React Native app. Includes RedBox errors captured via console.error.
get_failed_requests from source
Get failed HTTP requests (status >= 400 or network errors) from the running React Native app.
get_memory_usage from source
Get current JavaScript heap memory usage from the React Native app.
get_navigation_state from source
Get the current navigation state (React Navigation). Zero-config: the runtime agent discovers the navigation container automatically; the SDK channel is used when available.
get_navigation_timing from source
Get navigation transition timing data \u2014 how long each screen transition takes. Requires mcp-rn-devtools-sdk with navigationRef.
get_network_requests from source
Get HTTP network requests from the running React Native app. Shows URL, method, status and duration; verbose mode adds headers and truncated bodies (secrets redacted).
get_render_profile from source
Get component render profile data. Requires mcp-rn-devtools-sdk with Profiler wrapping components.
get_state_diff from source
Show what changed in a Redux store since the last call. First call records a baseline; subsequent calls diff the current state against it and reset the baseline. Workflow: call onc…
get_storage_keys from source
List storage keys from AsyncStorage or MMKV. AsyncStorage works zero-config via the runtime agent; MMKV requires the SDK.
get_storage_value from source
Read a value from AsyncStorage or MMKV by key. AsyncStorage works zero-config via the runtime agent; MMKV requires the SDK. Secrets are redacted (opt out with MCP_RN_NO_REDACT=1).
get_warnings from source
Get LogBox warnings from the running React Native app. These are captured via console.warn.
health_check from source
Connection status with the verdict first: READY (target, stores, capture) or BLOCKED with the cause and the fix. Then version, which instance owns the debugger, SDK channel, counte…
list_targets from source
List debuggable React Native targets on every Metro port (8081\u20138085), with who holds each one: \u2192 this instance, \u2299 another rn-devtools/tapfix instance, \u2717 a libra…
resolve_source_location from source
Resolve a bundle line/column (e.g. from a CPU profile or stack trace showing index.bundle:69306) back to the original source file and line. Requires Metro to be running.
select_target from source
Attach to a specific target and pin it for reconnects: by target_id (from list_targets, optionally with metro_port) or by app id prefix (e.g.
take_heap_snapshot from source
Take a heap snapshot and return a summary with top memory retainers. This may take a few seconds.
wait_for_log from source
Block until a console log or error matching a pattern appears (only entries newer than the call count). Use it to synchronize with app activity: call it, interact with the app, and…