# xcforge - iOS MCP Server & CLI [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/justinthevoid/xcforge  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xcforge-ios-mcp-server-cli

## Description
95 MCP tools for iOS — build, test, simulate, automate UI, capture, and diagnose.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/justinthevoid/xcforge), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew tap justinthevoid/tap && brew install xcforge
```

2. Add to Claude Code:

```sh
claude mcp add xcforge -- xcforge
```

3. Install:

```sh
git clone https://github.com/justinthevoid/xcforge.git
```

4. Install:

```sh
cd xcforge && swift build -c release
```

5. Install:

```sh
cp .build/release/XCForgeCLI /usr/local/bin/xcforge
```

## Documentation

## What xcforge - iOS MCP Server & CLI does

xcforge - iOS MCP Server & CLI exposes iOS development operations to MCP-compatible AI clients and to terminal workflows. Its MCP interface contains 109 tools, while the command-line interface organizes the same functions into 19 command groups. The project is distributed as a native Swift 6.0 binary for macOS 13 and later, with no external runtime dependencies.

The toolset spans the development loop: discovering projects and schemes, building for simulators, running and inspecting tests, controlling simulators and physical devices, automating interfaces, collecting evidence, and investigating failures. It also includes commands for Swift Package Manager, Git, accessibility checks, debugging, and persistent session settings.

## How it works

Run `xcforge` without a subcommand to start the MCP server over stdio JSON-RPC. Configure an MCP client to launch the executable as a stdio server. Alternatively, invoke a command such as `xcforge build --scheme MyApp` directly from a terminal. All CLI commands provide a `--json` option, allowing scripts and agents to consume structured output.

Test operations read Xcode `.xcresult` bundles rather than relying only on raw `xcodebuild` output. Results can include pass and failure counts, source locations, failure messages, exported screenshots, and the bundle path for further inspection. Simulator screenshots use framebuffer capture with coordinate handling and can optionally include a grid overlay.

UI automation uses WebDriverAgent together with a native accessibility bridge. Device operations use Apple’s `devicectl`, while simulator operations cover lifecycle actions and settings such as location, appearance, and status bar state. Diagnosis and plan-execution tools combine multiple operations into workflows with evidence capture, comparisons, and assertions.

## Setup and configuration

The supported platform is macOS 13 or newer. The recommended installation path is Homebrew:

```bash
brew tap justinthevoid/tap && brew install xcforge
```

You can also build from source with Swift and copy the release executable to a directory on your PATH. After installation, register the binary with an MCP client. Claude Code supports `claude mcp add xcforge -- xcforge`; other clients use their own configuration files and keys.

Claude Desktop, Cursor, Windsurf, and Zed examples use an absolute executable path. Claude Code uses `.mcp.json`, Cursor uses `.cursor/mcp.json`, VS Code uses `.vscode/mcp.json` with a `servers` key, Windsurf uses `~/.codeium/windsurf/mcp_config.json`, and Zed uses `context_servers` in its settings file. Claude Desktop stores its configuration under the user Library. Restart clients where required after changing configuration.

## Tools and capabilities

The available categories include:

- Build, clean, project discovery, and scheme discovery
- Simulator lifecycle, recording, location, appearance, and status controls
- Physical-device listing, pairing, installation, launching, and screenshots
- Test execution, failure inspection, coverage, test listing, and test-plan inspection
- UI actions such as finding elements, tapping, swiping, dragging, typing, and handling alerts
- Screenshots, pixel-diff visual regression, multi-device checks, and baseline blessing
- Filtered logs, application stdout/stderr capture, and regex-based waits
- Swift Package Manager dependency operations and Git status, diff, log, commit, and branch actions
- LLDB attachment, breakpoints, variable inspection, backtraces, stepping, and commands
- Accessibility audits, diagnosis workflows, scripted plans, and session profiles

xcforge - iOS MCP Server & CLI also includes an optional Claude Code skill installed with `npx skills justinthevoid/xcforge`. That skill loads reference material covering parameters, return values, and usage patterns for the tool categories.

_Full upstream README: https://allmcps.com/mcp/xcforge-ios-mcp-server-cli/readme_

