Tool Reference

React Native MCP provides 42 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 & Status5Connection status, device listing, deep links, GPS, app reset
Screen Capture4Screenshots, component tree snapshots, native UI tree, visual comparison
Element Query4Find elements, run JS in app or WebView
Interaction8Tap, swipe, text input, key events, scrolling
Assertions4Verify text, visibility, element count
Console & Network4Inspect console logs and network requests
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