Build and run
Discover projects, list schemes, build for Simulator, launch apps, and run tests from the agent.
XCAutokit
An MCP server and CLI that lets agents build, test, screenshot, and drive iOS Simulator UI without leaving Cursor, Claude Code, or Codex.
One server for project discovery, simulator control, UI automation, capture, and optional live Xcode tools.
Discover projects, list schemes, build for Simulator, launch apps, and run tests from the agent.
Tap, swipe, type, long press, and read the accessibility tree so agents verify what they just changed.
Detect permission sheets and system alerts, then dismiss them with an explicit accept or decline action.
Screenshots, video, and log capture return ticket handles. Stop tools take the ticket back. Clean MCP state.
On Xcode 26.3+, use mcpbridge for Issue Navigator, previews, and docs. Older Xcode falls back to xcodebuild.
Every workflow is available from the terminal for scripting, CI, and doctor checks next to your agent.
Build it. Boot it. Touch the pixels. Repeat until green.
Add XCAutokit as an MCP server for your coding agent, or install the global CLI.
{
"mcpServers": {
"xcautokit": {
"command": "npx",
"args": ["-y", "xcautokit@latest", "mcp"]
}
}
}
npm install -g xcautokit@latest xcautokit doctor xcautokit tools xcautokit mcp
xcautokit doctor # Needs macOS, Xcode CLT, and axe on PATH for UI tools
Drop the npx config into Cursor, Claude Code, or any MCP client. Restart the client so XCAutokit tools load.
Ask the agent to discover the Xcode project, set session defaults, and build for a booted Simulator.
The agent taps through flows, dismisses interrupts, captures screenshots, and iterates until the UI looks right.
Same install shape with npx and a CLI. XCAutokit is a first party surface with interrupt handling, ticketed capture, and an optional mcpbridge backend when you are on Xcode 26.3 or newer.
Node is the distribution wrapper. The engine is a Go binary. Direct binary installs can ship the same way later.
XCAutokit still works. Build and test use xcodebuild. Upgrade to 26.3 or newer when you want live Issue Navigator, previews, and docs search.
A small handle like xca_rec_… returned by record_start or start_sim_log_cap. Pass it to the matching stop tool. That is the modern MCP state pattern.
macOS, Xcode command line tools, and axe on PATH for UI automation. Run xcautokit doctor to verify.
Yes. XCAutokit Studio in this repo records Simulator interactions into reusable Blocks for replay. Launch it with the app script under apps/XCAutokitStudio.