Tool Reference

React Native MCP provides 49 tools across 12 categories. Every tool is available to any MCP-compatible client (Cursor, Claude, Copilot, etc.) out of the box.

Common Parameters

Most tools accept these optional parameters:

ParameterTypeDescription
deviceIdstringTarget device ID. Omit when only one device is connected — auto-selected. Use get_debugger_status to list connected devices.
platform"ios" | "android"Target platform. Auto-detected when only one device of that platform is connected.

Selector Syntax

Several tools accept a selector parameter that queries the React Native Fiber tree. The syntax supports:

PatternExampleDescription
TypeTextMatch by component type
testID#submit-btnMatch by testID prop
Text:text("Hello")Match by text content
Attribute[accessibilityLabel="Close"]Match by prop value
displayName:display-name("MyComponent")Match by display name
Index:nth-of-type(2)Match Nth element of type
Capability:has-pressPressable elements
HierarchyScrollView > View > TextDirect child or descendant
OR#btn-a, #btn-bMatch either selector

See each tool page for detailed parameter tables, examples, and platform-specific tips.

Categories

CategoryToolsDescription
Device & Status10Connection status, device/app listing, deep links, GPS, terminate app, orientation/screen size, app reset
Screen Capture6Screenshots, snapshots, native UI tree, visual comparison, video recording
Element Query5Find elements, run JS in app or WebView, resolve component to source location
Interaction8Tap, swipe, text input, key events, scrolling
Assertions5Verify text, visibility, element count, state
Console & Network3Inspect console logs and network requests, clear buffers
Network Mocking4Mock API responses without backend changes
State Inspection3Inspect React hooks and state changes
Render Profiling3Profile renders, find unnecessary re-renders
Accessibility1Automated accessibility audit
File & Media2Push files, add photos/videos to gallery