Skip to content

Configuration

Xcode Pilot MCP works with any MCP-compatible client. Below are setup instructions for the most popular editors.

Create or edit .mcp.json in your project root:

{
"mcpServers": {
"xcode-pilot": {
"command": "npx",
"args": ["xcode-pilot-mcp"]
}
}
}

Edit ~/.cursor/mcp.json:

{
"mcpServers": {
"xcode-pilot": {
"command": "npx",
"args": ["xcode-pilot-mcp"]
}
}
}

Add to your Windsurf MCP configuration:

{
"mcpServers": {
"xcode-pilot": {
"command": "npx",
"args": ["xcode-pilot-mcp"]
}
}
}

Add to your VS Code settings.json:

{
"mcp": {
"servers": {
"xcode-pilot": {
"command": "npx",
"args": ["xcode-pilot-mcp"]
}
}
}
}

Any MCP client that supports stdio transport can use Xcode Pilot. The server configuration follows the standard pattern:

FieldValue
Commandnpx (or xcode-pilot-mcp if globally installed)
Arguments["xcode-pilot-mcp"] (only needed with npx)
Transportstdio (default)
EnvironmentNo additional env vars required

Xcode Pilot auto-detects your Xcode installation. Override with:

VariablePurposeDefault
DEVELOPER_DIRPath to Xcode developer directoryAuto-detected via xcode-select -p
{
"mcpServers": {
"xcode-pilot": {
"command": "npx",
"args": ["xcode-pilot-mcp"],
"env": {
"DEVELOPER_DIR": "/Applications/Xcode-beta.app/Contents/Developer"
}
}
}
}

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).

Browse all available tools: Tools Overview.