Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"xcode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/xcode-server"
],
"env": {
"PROJECTS_BASE_DIR": ""
}
}
}
}