Configuration
Xcode Pilot MCP works with any MCP-compatible client. Below are setup instructions for the most popular editors.
Claude Code
Section titled “Claude Code”Create or edit .mcp.json in your project root:
{ "mcpServers": { "xcode-pilot": { "command": "npx", "args": ["xcode-pilot-mcp"] } }}{ "mcpServers": { "xcode-pilot": { "command": "xcode-pilot-mcp" } }}{ "mcpServers": { "xcode-pilot": { "command": "node", "args": ["/path/to/xcode-pilot-mcp/build/index.js"] } }}Cursor
Section titled “Cursor”Edit ~/.cursor/mcp.json:
{ "mcpServers": { "xcode-pilot": { "command": "npx", "args": ["xcode-pilot-mcp"] } }}{ "mcpServers": { "xcode-pilot": { "command": "xcode-pilot-mcp" } }}Windsurf
Section titled “Windsurf”Add to your Windsurf MCP configuration:
{ "mcpServers": { "xcode-pilot": { "command": "npx", "args": ["xcode-pilot-mcp"] } }}VS Code (Copilot MCP)
Section titled “VS Code (Copilot MCP)”Add to your VS Code settings.json:
{ "mcp": { "servers": { "xcode-pilot": { "command": "npx", "args": ["xcode-pilot-mcp"] } } }}Other MCP Clients
Section titled “Other MCP Clients”Any MCP client that supports stdio transport can use Xcode Pilot. The server configuration follows the standard pattern:
| Field | Value |
|---|---|
| Command | npx (or xcode-pilot-mcp if globally installed) |
| Arguments | ["xcode-pilot-mcp"] (only needed with npx) |
| Transport | stdio (default) |
| Environment | No additional env vars required |
Environment Variables
Section titled “Environment Variables”Xcode Pilot auto-detects your Xcode installation. Override with:
| Variable | Purpose | Default |
|---|---|---|
DEVELOPER_DIR | Path to Xcode developer directory | Auto-detected via xcode-select -p |
{ "mcpServers": { "xcode-pilot": { "command": "npx", "args": ["xcode-pilot-mcp"], "env": { "DEVELOPER_DIR": "/Applications/Xcode-beta.app/Contents/Developer" } } }}Verify It Works
Section titled “Verify It Works”After configuring your editor, ask your AI assistant:
“List all available iOS simulator runtimes”
If the server is running correctly, you’ll see a list of installed simulator runtimes (iOS, watchOS, tvOS, visionOS).
Next Step
Section titled “Next Step”Browse all available tools: Tools Overview.