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.mdsource 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:
| Command | Enhancement |
|---|---|
| Screenshot reproduction steps, tap through UI |
| Measure real FPS, capture actual jank frames |
| Render on device, visual verification screenshot |
| Launch preview build, verify UI before submit |
| 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
| Problem | Solution |
|---|---|
| iOS simulator not found | Install Xcode, run |
| Android emulator not found | Install Android Studio, create AVD in AVD Manager |
| agent-device fails to connect | Check MCP server config in |
| Screenshots are black | Wait for device to finish booting, retry |