by cameroncooke
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
# Add to your Claude Code skills
git clone https://github.com/cameroncooke/XcodeBuildMCPA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
npm install -g xcodebuildmcp@latest
xcodebuildmcp --help
Add XcodeBuildMCP to your MCP client configuration. Most clients use JSON configuration with the following server entry:
"XcodeBuildMCP": {
"command": "npx",
"args": ["-y", "xcodebuildmcp@latest", "mcp"]
}
<details>
<summary>Cursor</summary>
<br />
Recommended (project-scoped): add .cursor/mcp.json in your workspace root:
{
"mcpServers": {
"XcodeBuildMCP": {
"command": "npx",
"args": ["-y", "xcodebuildmcp@latest", "mcp"]
}
}
}
</details>
<details>
<summary>Claude Code</summary>
<br />
<br />
</details>
<details>
<summary>Codex CLI</summary>
<br />
<br />
</details>
<details>
<summary>Claude Desktop</summary>
<br />
No comments yet. Be the first to share your thoughts!
For global Cursor config (~/.cursor/mcp.json), use this variant so startup is aligned with the active workspace:
{
"mcpServers": {
"XcodeBuildMCP": {
"command": "/bin/zsh",
"args": [
"-lc",
"cd \"${workspaceFolder}\" && exec npx -y xcodebuildmcp@latest mcp"
]
}
}
}
Or use the quick install link:
Run:
claude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest mcp
Run:
codex mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest mcp
Or add to ~/.codex/config.toml:
[mcp_servers.XcodeBuildMCP]
command = "npx"
args = ["-y", "xcodebuildmcp@latest", "mcp"]
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"XcodeBuildMCP": {
"command": "npx",
"ar...