xcode-build-optimizer-mcp
Provides tools for optimizing Xcode build performance, including instrumented build runs, ranked build-timing reports, DerivedData/module-cache inspection and cleanup, and linting of build configuration files for common build-speed anti-patterns.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@xcode-build-optimizer-mcpRun a build and show me the slowest compile tasks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
xcode-build-optimizer-mcp
An MCP server for deterministic Xcode build-time optimization: build-timing analysis, DerivedData/module-cache management, and build-speed config linting — for AI coding agents (Claude Code, Claude Desktop, and other MCP clients).
This is deliberately not a build/test/simulator orchestration tool — use it alongside XcodeBuildMCP or any other build runner.
Install
npx xcode-build-optimizer-mcpAdd to your MCP client config (e.g. Claude Code ~/.claude.json or Claude
Desktop claude_desktop_config.json):
{
"mcpServers": {
"xcode-build-optimizer": {
"command": "npx",
"args": ["xcode-build-optimizer-mcp"]
}
}
}Related MCP server: xcsift-mcp
Tools
Tool | Purpose |
| Run an instrumented |
| Ranked slow build task categories/functions/expressions for a |
| DerivedData/module-cache size, staleness, and bloat report. |
| Delete a specific cache path reported by |
| Scan |
Requirements
macOS with Xcode Command Line Tools installed.
Node.js >= 20.
For per-expression timing, pass deep: true to build_run; build_timing_report
then reports deepSource: "debug-time-function-bodies".
Not yet implemented: an opportunistic XCLogParser enhancement was prototyped but is not wired up in v0.1 — its JSON output shape and the
.xcactivitylognaming convention it depends on have not been verified against a real XCLogParser install.build_timing_reportnever invokesxclogparser, whether or not it is onPATH.
Contributing
Issues and PRs welcome. Run npm test before submitting; npm run test:integration additionally requires a full Xcode install and runs a real build against the fixture project in test/integration/.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Xcode build automation and log parsing that opens Xcode projects, triggers builds directly in Xcode, and parses build logs to extract errors and warnings.266958Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to parse Xcode and Swift build outputs into structured, token-efficient formats like JSON or TOON. It provides tools for executing build commands and extracting detailed diagnostic information such as errors, warnings, and test failures.8MIT
- AlicenseNot gradedqualityDmaintenanceMCP server and CLI for iOS development — build, test, automate, and diagnose from any AI agent or terminal.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Xcode build tools, iOS Simulator, and Apple notarization services.155MIT
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sanatillayev/xcode-build-optimizer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server