CLI & environment
npx expo-mcp-bridge init
npx expo-mcp-bridge init --cursor
npx expo-mcp-bridge
npx expo-mcp-bridge --help| Command | What it does |
|---|---|
npx expo-mcp-bridge init | In your Expo project: .mcp.json, the expo-app-control skill and an AGENTS.md section |
npx expo-mcp-bridge init --cursor | Also write .cursor/mcp.json |
npx expo-mcp-bridge | Run the MCP server over stdio (your agent launches this) |
npx expo-mcp-bridge --help | Usage |
Environment variables
| Variable | Default | What |
|---|---|---|
EXPO_MCP_PORT | 8347 | WebSocket port the phone connects to (match <AgentBridge port>) |
Trying the server by hand
Your agent normally launches the server itself. To poke at it manually, any MCP client works:
npx @modelcontextprotocol/inspector npx expo-mcp-bridge