Best for
- Developers using Xcode on macOS who want to operate projects and analyze test results through an MCP client.
- Teams that need Xcode project management and XCResult analysis tools.
The supplied sources describe a JXA-based Xcode MCP server with project management, build and test, diagnostics, and XCResult analysis tools. The manifest lists status active, version 2.1.4, and an npm package using stdio.
Strongest · Setup experience 13/20 Weakest · Security and permissions 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 18+
LOG_LEVEL
Sets logging verbosity; supported values include SILENT, ERROR, WARN, INFO, and DEBUG.
XCODEMCP_LOG_FILE
Optional path for writing logs to a file in addition to stderr.
XCODEMCP_CONSOLE_LOGGING
Enables or disables log output to stderr; defaults to true.
XCODE_MCP_PREFERRED_SCHEME
Optional preferred Xcode scheme name that supplies a default in single-project workflows.
XCODE_MCP_PREFERRED_XCODEPROJ
Optional preferred .xcodeproj name that supplies a default in single-project workflows.
Add the provided configuration to an MCP client. The client starts the server over stdio using npx -y xcodemcp@latest. The package can also be installed globally with npm. Requires macOS with Xcode and Node.js 18 or later; XCLogParser is recommended (brew install xclogparser).
{"mcpServers":{"xcodemcp":{"command":"npx","args":["-y","xcodemcp@latest"],"env":{}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"xcodemcp": {
"command": "npx",
"args": [
"-y",
"xcodemcp@latest"
],
"env": {}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.xcodemcp] command = "npx" args = ["-y", "xcodemcp@latest"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add xcodemcp -- npx -y xcodemcp@latest
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm `xcode_health_check` and `xcode_build` appear in your MCP client's tool list. Call `xcode_health_check` and check that it returns environment diagnostics.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
XcodeMCP is an MCP server that controls Xcode directly through JavaScript for Automation (JXA), and it also provides a standalone CLI. It can open projects, build, run, test, and debug, and uses XCLogParser to parse build logs. It can also browse .xcresult test results, extract attachments, and inspect UI hierarchies. XCLogParser is optional but recommended.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 8124fd1198da Data synced 2026-12-05 Read the FMRS scoring method Markdown