Everything-react-native-expo setup-device

Install and configure agent-device MCP server for simulator/emulator control

install
source · Clone the upstream repo
git clone https://github.com/JubaKitiashvili/everything-react-native-expo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JubaKitiashvili/everything-react-native-expo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/setup-device" ~/.claude/skills/jubakitiashvili-everything-react-native-expo-setup-device && rm -rf "$T"
manifest: .claude/skills/setup-device/SKILL.md
source content

/setup-device — Setup Device Control

You are executing the

/setup-device
command. This is script-driven — it sets up the agent-device MCP server.

What This Does

Installs and configures the agent-device MCP server so commands like

/debug
,
/perf
,
/component
, and
/deploy
gain visual device interaction capabilities.

Process

Step 1: Check Prerequisites

# iOS: Check for Xcode and simulator
xcodebuild -version
xcrun simctl list devices

# Android: Check for Android Studio and emulator
adb version
emulator -list-avds

Step 2: Install agent-device MCP

Check if already configured in

.claude/settings.json
:

{
  "mcpServers": {
    "agent-device": {
      "command": "npx",
      "args": ["-y", "agent-device"]
    }
  }
}

If not present, add the configuration.

Step 3: Verify Connection

# Boot a simulator (iOS)
xcrun simctl boot "iPhone 16 Pro"

# Or start an emulator (Android)
emulator -avd Pixel_8_API_35 &

Test that agent-device can:

  • Take a screenshot
  • Detect booted device
  • Perform a tap action

Step 4: Configure Command Integration

After setup, these commands gain enhanced capabilities:

CommandEnhancement
/debug
Screenshot reproduction steps, tap through UI
/perf
Measure real FPS, capture actual jank frames
/component
Render on device, visual verification screenshot
/deploy
Launch preview build, verify UI before submit
/build-fix
Build, install, and launch to verify fix

Output

## agent-device Setup Complete

### Status
- MCP server: Configured ✓
- iOS Simulator: Available (iPhone 16 Pro)
- Android Emulator: Available (Pixel 8 API 35)

### Capabilities Enabled
- Screenshot capture
- Tap/type/swipe interaction
- App navigation
- Visual verification

### Commands Enhanced
/debug, /perf, /component, /deploy, /build-fix
now have visual device control.

Troubleshooting

ProblemSolution
iOS simulator not foundInstall Xcode, run
xcode-select --install
Android emulator not foundInstall Android Studio, create AVD in AVD Manager
agent-device fails to connectCheck MCP server config in
.claude/settings.json
Screenshots are blackWait for device to finish booting, retry