LibreAI / AI Agents / MobileBuildMCP
// agents · getsentry/MobileBuildMCP

MobileBuildMCP

An MCP server and CLI that lets AI agents build, test and run iOS and macOS projects.

★ 6.5k stars⑂ 322 forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

MobileBuildMCP is an open-source ai agents project by getsentry (getsentry/MobileBuildMCP on GitHub). It has 6,467 GitHub stars and 322 forks, is released under the MIT license, and was last updated on GitHub on 8 October 2026.

GitHub stars
6,467
Forks
322
License
MIT
Last updated on GitHub
8 October 2026
Category
AI Agents
Listing
Full install guide
// how it works

How it works

  1. Clarify your goal

    Decide whether you want your agent to build, test or inspect your iOS/macOS project, and make sure Xcode 16+ is installed.

  2. Install the tool

    Install via Homebrew or npm, depending on whether you want the native binary or the Node package.

  3. Connect your MCP client

    Run the init command to register the server with your MCP client, or add the documented server config manually.

  4. Run your first build

    Ask your agent — or use the CLI directly — to build your scheme for the simulator and run the tests.

// features

Why people love it

MCP server for Apple builds

Exposes build, test and project tools over the Model Context Protocol so agents can drive xcodebuild directly.

Full CLI included

The same capabilities are available as a CLI: list tools, build for simulator, prepare test products and run them.

Simulator and device workflows

Build and test on simulators, and work with physical devices where code signing is configured in Xcode.

Agent skills

Ships MCP and CLI skills that prime your agent with instructions for using the server and CLI effectively.

Self-upgrade commands

Built-in upgrade --check and upgrade commands keep the installation current.

Macro-validation workaround

Requests that xcodebuild skip macro validation to avoid errors with projects that use Swift Macros.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Clone MobileBuildMCP if you want the source; most users install the packaged tool in the next step.

    git clone https://github.com/getsentry/MobileBuildMCP.git
    cd MobileBuildMCP
  2. Install the tool

    Install via Homebrew, or globally from npm.

    brew tap getsentry/xcodebuildmcp
    brew install mobilebuildmcp
    # or: npm install -g mobilebuildmcp@latest
  3. Initialize and build

    Register the server with your MCP client, then build a scheme for the simulator from the CLI.

    mobilebuildmcp init
    mobilebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeproj
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains MobileBuildMCP?

It is maintained by getsentry, the Sentry organization, in the getsentry/MobileBuildMCP repository.

Is it free?

Yes — it is open source under the MIT license.

Does it need a paid API key?

No API key is required; it drives your local Xcode installation. You supply the MCP client and LLM you use with it.

How does it compare to driving xcodebuild directly?

It wraps xcodebuild in structured MCP tools and a friendlier CLI, with agent skills and safer defaults, so an AI agent can build and test reliably instead of composing raw shell commands.

How do I get started?

Install with Homebrew or npm, run mobilebuildmcp init to connect your MCP client, and open an iOS or macOS project.

// keep exploring

Similar tools

AI Agents

apify-mcp-server

MCP server that lets AI agents run thousands of Apify Store scrapers and crawlers as tools.

★ 10.1k starsMIT
View guide →
AI Agents

n8n-mcp

An MCP server that lets Claude, Cursor and Windsurf build n8n workflows for you

★ 23.0k starsMIT
View guide →
AI Agents

hexstrike-ai

MCP server letting AI agents run 150+ cybersecurity tools for authorized pentesting and research.

★ 12.5k starsMIT
View guide →
AI Agents

chrome-devtools-mcp

Chrome DevTools for coding agents: an MCP server that lets agents debug and inspect real Chrome

★ 53.1k starsApache-2.0
View guide →
AI Agents

agent-device

Mobile app automation and verification built for AI coding agents — CLI, MCP server, and Node API

★ 4.9k starsMIT
View guide →
AI Agents

paper-search-mcp

MCP server, CLI and skills for searching and downloading academic papers from arXiv, PubMed and 20+ sources

★ 2.8k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if MobileBuildMCP is not the right fit.

Get MobileBuildMCP

Free and open — grab the source, star the repo, and start creating.