Xcforge   iOS MCP Server & CLI logo

Xcforge iOS MCP Server & CLI

Native macOS MCP server and CLI for building, testing, simulating, automating, and diagnosing iOS apps.

Install Xcforge iOS MCP Server & CLI

Run the project’s own setup commands, in order.

Setup steps from the project

xcforge - iOS MCP Server & CLI installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew tap justinthevoid/tap && brew install xcforge
    
  2. 2. Add to Claude Code
    claude mcp add xcforge -- xcforge
    
  3. 3. Install
    git clone https://github.com/justinthevoid/xcforge.git
    
  4. 4. Install
    cd xcforge && swift build -c release
    
  5. 5. Install
    cp .build/release/XCForgeCLI /usr/local/bin/xcforge
    

Overview

xcforge - iOS MCP Server & CLI MCP server provides 109 iOS development tools through a native macOS binary using stdio JSON-RPC. It covers Xcode builds and tests, simulator and device control, UI automation, screenshots, logs, accessibility, LLDB, Git, and diagnosis workflows. The same capabilities are available as 19 CLI command groups, with JSON output supported by every CLI command. Reach for it when an AI agent needs to perform or inspect iOS development tasks on macOS.

Use cases

  • Build and test an iOS project from an AI coding client
  • Automate simulator UI interactions and capture screenshots
  • Inspect structured test failures and coverage results
  • Run visual regression checks across devices and appearances
  • Diagnose iOS app behavior with logs and LLDB

Key features

  • 109 MCP tools over stdio JSON-RPC
  • 19 matching CLI command groups with JSON output
  • Simulator and physical-device control
  • UI automation, screenshots, and visual regression
  • Structured test-result and diagnostic workflows
  • LLDB, logs, accessibility, Git, and SPM tooling

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9/11/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Xcforge iOS MCP Server & CLI works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Xcforge iOS MCP Server & CLI

xcforge - iOS MCP Server & CLI is an MCP server that connects AI agents to macOS-based iOS development workflows. Its main tools build and test apps, control simulators and devices, automate UI, capture screenshots, inspect logs and test results, run accessibility checks, and debug with LLDB.

Install it with Homebrew using `brew tap justinthevoid/tap && brew install xcforge`. You can also clone the repository, build the release binary with Swift, and copy it to `/usr/local/bin/xcforge`.

Yes, xcforge - iOS MCP Server & CLI works with Cursor through a stdio MCP configuration. Add it to `.cursor/mcp.json` with the executable command, preferably using an absolute Homebrew path, then restart Cursor.

Run `claude mcp add xcforge -- xcforge` after installing the binary. This registers xcforge in the current project; you can also add an `xcforge` stdio entry manually to `.mcp.json`.

Yes, run `xcforge` for MCP server mode or use a command such as `xcforge build --scheme MyApp` for CLI mode. Every CLI command supports `--json` for structured output.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXcforge   iOS MCP Server & CLI AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xcforge-ios-mcp-server-cli?style=directory)](https://allmcps.com/mcp/xcforge-ios-mcp-server-cli)
HTML Embed
<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>