xc-mcp
by conorluddy·★ 84·Score 48
Intelligent Xcode MCP server for iOS development with progressive disclosure to reduce context usage.
Overview
XC-MCP is a production-grade MCP server that makes Xcode and iOS simulator tooling accessible to AI agents through intelligent context engineering. It addresses token overflow issues by implementing progressive disclosure and defer_loading architecture. The server provides 29 tools with token-efficient workflows, accessibility-first iOS automation, and high-level abstractions for common operations like app builds and UI testing.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose XC-MCP if you're working with Xcode and iOS development and need to integrate with AI agents that need to interact with simulators, build systems, and UI elements while being mindful of token limitations.
When NOT to choose this
Avoid XC-MCP if you need direct control over Xcode without token constraints or if you're not working in the Apple ecosystem as it's specifically tailored for iOS/macOS development.
Tools this server exposes
12 tools extracted from the READMEsimctl-deviceSimulator lifecycle operations (boot, shutdown, create, delete, erase, clone, rename)
simctl-appApp management operations (install, uninstall, launch, terminate)
idb-appIDB app operations for physical devices and simulators
cacheCache management operations (get-stats, get-config, set-config, clear)
persistencePersistence control (enable, disable, status)
idb-targetsTarget management (list, describe, connect, disconnect)
xcodebuild-buildBuild Xcode project with progressive disclosure
xcodebuild-testRun tests with filtering and test plans
xcodebuild-cleanClean build artifacts
accessibility-quality-checkAssess UI accessibility quality to determine automation approach
idb-ui-find-elementFind UI element by label/identifier using accessibility
workflow-tap-elementHigh-level semantic tap combining quality check, element search, and tap
Comparable tools
Installation
# Install globally
npm install -g xc-mcp
# Or run without installation
npx xc-mcp**MCP Configuration** (Claude Desktop):
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"xc-mcp": {
"command": "npx",
"args": ["-y", "xc-mcp"]
}
}
}**Minimal Mode** (for clients that don't support defer_loading):
{
"mcpServers": {
"xc-mcp": {
"command": "npx",
"args": ["-y", "xc-mcp", "--mini"]
}
}
}FAQ
- How does XC-MCP handle token overflow?
- XC-MCP uses progressive disclosure to return concise summaries first, with cache IDs for on-demand detail retrieval, reducing token usage by up to 97%.
- What is defer_loading?
- defer_loading is a platform-native feature in V3.0.0 that allows Claude to discover tools on-demand, minimizing baseline context overhead to zero tokens at startup.
On Hacker News
Recent discussion from the developer community.
- Xcode MCP▲ 2Story by persuader · 2025-10-29
Compare xc-mcp with
Last updated · Auto-generated from public README + GitHub signals.