95 MCP tools for iOS β build, test, simulate, automate UI, capture, and diagnose.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

An MCP server and CLI for iOS development β build, test, automate, and diagnose from any AI agent or terminal.
109 MCP tools. 19 CLI command groups. Single native binary (~8 MB stripped, ~18 MB with debug symbols). Zero external runtime dependencies.
This registers xcforge as an MCP server in your current project. Run it after installing via Homebrew.
After uninstalling the binary, remove the "xcforge" entry from your MCP client config file (see Configure for file locations).
For Claude Code:
Add xcforge to your MCP client. Each client has a different config format and file location.
The fastest way is the CLI command shown above under Install. To configure manually, add to .mcp.json in your project root (or ~/.claude/.mcp.json for global):
File: ~/Library/Application Support/Claude/claude_desktop_config.json
Note: Claude Desktop does not inherit your shell PATH. Use the full Homebrew path β
/opt/homebrew/bin/xcforgeon Apple Silicon,/usr/local/bin/xcforgeon Intel.
File: .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global)
Note: Same PATH caveat as Claude Desktop β use the absolute path. Restart Cursor after changes.
File: .vscode/mcp.json in your project root
Note: VS Code uses
"servers"not"mcpServers". Requires the GitHub Copilot extension with agent mode enabled. VS Code typically resolves PATH from your shell, so the bare command works.
File: ~/.codeium/windsurf/mcp_config.json
Note: Full path recommended. Restart Windsurf after editing.
File: ~/.config/zed/settings.json (or .zed/settings.json per-project)
Note: Zed uses
"context_servers"with a nested"command.path"β different from every other client.
| Client | Config key | File location | Needs absolute path? |
|---|---|---|---|
| Claude Code | mcpServers | .mcp.json | No |
| Claude Desktop | mcpServers | ~/Library/Application Support/Claude/claude_desktop_config.json | Yes |
| Cursor | mcpServers | .cursor/mcp.json | Yes |
| VS Code | servers | .vscode/mcp.json | No |
| Windsurf | mcpServers | ~/.codeium/windsurf/mcp_config.json | Yes |
| Zed | context_servers | ~/.config/zed/settings.json | Yes |
xcforge includes a Claude Code skill that loads the full tool reference into context when you're working on iOS tasks. Install it globally with:
Once installed, Claude will automatically load the right reference files when you use xcforge tools β exact parameters, return values, and usage patterns for each category (build, test, simulator, UI automation, logs, LLDB, diagnosis, and more).
Every tool available over MCP has a matching CLI command. Every CLI command supports --json.
| Category | Count | Highlights |
|---|---|---|
| Build | 6 | build_sim, build_compile (fast compile-only), build_run_sim, clean, project/scheme discovery |
| Test | 7 | test_sim with xcresult parsing, test_failures, test_coverage, list_tests, test_plan_inspect, agent output mode, known-failures gating |
| Simulator | 18 | Full lifecycle + video recording, location simulation, dark mode toggle, status bar override, info |
| Physical Devices | 7 | Via devicectl β list, install, launch, screenshot, pair |
| UI Automation | 20 | WebDriverAgent + native AX bridge β find, tap (point or pixel), swipe, drag, type, alerts |
| Screenshots | 3 | Framebuffer capture (0.3s), point-space coordinate alignment, optional grid overlay |
| Visual Regression | 3 | Pixel-diff baselines, multi-device checks (Dark Mode, Landscape, iPad), bless workflow |
| Logs | 4 | 4-layer filtered capture, 8 topic categories, regex wait |
| Console | 3 | stdout/stderr capture for launched apps |
| SPM | 5 | Resolve, update, show deps, reset, clean |
| Accessibility | 5 | Audit labels, traits, VoiceOver order, contrast |
| Git | 5 | Status, diff, log, commit, branch |
| LLDB Debugger | 8 | Attach, breakpoints, inspect variables, backtrace, step/continue, arbitrary commands |
| Diagnosis | 10 | Multi-step workflows: build, run, inspect, capture evidence, compare, verify |
| Plan Execution | 2 | Scripted multi-step automation with assertions |
| Session | 3 | Persistent defaults, .xcforge.yaml repo config, session profiles |
Test output is parsed from .xcresult bundles β the structured format Xcode generates internally β not from raw xcodebuild stdout/stderr.
A single test_sim call returns: pass/fail counts, failure messages with source location, exported failure screenshots, and the xcresult path for deeper inspection via test_failures or test_coverage.
The screenshot tool reads the simulator framebuffer via CoreSimulator's IOSurface API, falling back to ScreenCaptureKit, then simctl. Typical latency is ~300ms.
xcforge communicates directly with WebDriverAgent over HTTP and supplements it with a native Accessibility API bridge (AXPBridge). This means:
find_element with scroll: true auto-scrolls using 3 fallback strategieshandle_alert searches across SpringBoard, ContactsUI, and the active app β accept_all clears multiple permission dialogs in one calldrag_and_drop works with element IDs, not just coordinatesget_source returns the full view hierarchy in ~20msstart_log_capture streams os_log through 4 filter layers:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xcforge-ios-mcp-server-cli)<a href="https://allmcps.com/mcp/xcforge-ios-mcp-server-cli"><img src="https://allmcps.com/api/badge/xcforge-ios-mcp-server-cli?style=directory" alt="Xcforge iOS MCP Server & CLI on AllMCPs" /></a>