Lets agents build, run and test iOS and macOS projects, manage simulators and devices, and capture logs.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add xcodebuildmcp -- npx -y xcodebuildmcp~/.codex/config.toml
[mcp_servers.xcodebuildmcp]
command = "npx"
args = ["-y", "xcodebuildmcp"]
# codex mcp add xcodebuildmcp -- npx -y xcodebuildmcp~/.cursor/mcp.json
{
"mcpServers": {
"xcodebuildmcp": {
"command": "npx",
"args": [
"-y",
"xcodebuildmcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"xcodebuildmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xcodebuildmcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"xcodebuildmcp": {
"command": "npx",
"args": [
"-y",
"xcodebuildmcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"xcodebuildmcp": {
"command": "npx",
"args": [
"-y",
"xcodebuildmcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"xcodebuildmcp": {
"command": "npx",
"args": [
"-y",
"xcodebuildmcp"
]
}
}
}