MobileBuildMCP

Developer tools

A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.

Your AI app calls the MobileBuildMCP MCP server, which does the developer tools work and sends the result back to the chat.

About MobileBuildMCP

MobileBuildMCP is the official MCP server from getsentry, filed in our directory under developer tools. A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.

MobileBuildMCP runs on your own machine: your AI app starts it with the command npx -y mobilebuildmcp and talks to it over standard input and output.

At a glance

Publisher
getsentry, the company behind the product
Runs
Locally on your machine
Install from
Node.js package on npm: mobilebuildmcp
Written in
TypeScript
License
MIT
GitHub stars
6,621

How to set up MobileBuildMCP

  1. Install Node.js on the machine that runs your AI app, because MobileBuildMCP starts with npx and downloads its package on first run.
  2. Check the MobileBuildMCP README for keys or settings; the registry lists none that MobileBuildMCP requires.
  3. Add MobileBuildMCP to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the MobileBuildMCP tools to confirm the connection.
  5. Run one read-only task with MobileBuildMCP first, and keep your app asking before each tool call until the results look right.

MobileBuildMCP compared with similar servers

  • Semble by MinishLab has fewer GitHub stars than MobileBuildMCP (6.5k against 6.6k); MobileBuildMCP is official while Semble is a community server, and both run locally.
  • Jscpd by kucherenko has more GitHub stars than MobileBuildMCP (6.7k against 6.6k); MobileBuildMCP is official while Jscpd is a community server, and both run locally.
  • Sandbox by agent-infra has fewer GitHub stars than MobileBuildMCP (6.4k against 6.6k); MobileBuildMCP is official while Sandbox is a community server, and both run locally.

Before you connect MobileBuildMCP

  • Give MobileBuildMCP its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each MobileBuildMCP tool call until you trust what it does with them.
  • Treat text that MobileBuildMCP fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for MobileBuildMCP on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for MobileBuildMCP

How marketing and sales teams put MobileBuildMCP to work, by company size. Pick the size closest to yours and start MobileBuildMCP on one use case.

Small business

  • A small business with a developer can use MobileBuildMCP to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask MobileBuildMCP to explain and fix a marketing site issue without context switching between tools.
  • MobileBuildMCP runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use MobileBuildMCP to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect MobileBuildMCP to keep scripts and automations documented and versioned as they change.
  • Start MobileBuildMCP on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out MobileBuildMCP with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on MobileBuildMCP so web and marketing engineering share one reviewed way of working with AI.
  • Because MobileBuildMCP comes from getsentry, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

MobileBuildMCP README

From getsentry/MobileBuildMCP on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.

Installation

MobileBuildMCP ships as a single package with two modes: a CLI for direct terminal use and an MCP server for AI coding agents. Either install method gives you both.

Option A, Homebrew

brew tap getsentry/xcodebuildmcp
brew install mobilebuildmcp

Option B, npm (Node.js 18+)

npm install -g mobilebuildmcp@latest

Verify either install:

mobilebuildmcp --help

Connect your MCP client

Drop-in config snippets for Cursor, Claude Code, Codex, can be found in the official docs page MCP Clients. Most clients can also run the MCP server on demand via npx -y mobilebuildmcp@latest mcp without a global install.

Requirements

  • macOS 14.5 or later
  • Xcode 16.x or later
  • Node.js 18.x or later (not required for Homebrew installation)

Skills

MobileBuildMCP now includes two optional agent skills:

  • MCP Skill: Primes the agent with instructions on how to use the MCP server's tools (optional when using the MCP server).

  • CLI Skill: Primes the agent with instructions on how to navigate the CLI (recommended when using the CLI).

To install with a global binary:

mobilebuildmcp init

Or install directly via npx without a global install:

npx -y mobilebuildmcp@latest init

For further information on installing skills, see Agent Skills.

Notes

  • MobileBuildMCP requests xcodebuild to skip macro validation to avoid errors when building projects that use Swift Macros.
  • Device tools require code signing to be configured in Xcode. See Device Code Signing.

Privacy

MobileBuildMCP uses Sentry for internal runtime error telemetry only. For details and opt-out instructions, see Privacy & Telemetry.

CLI

MobileBuildMCP provides a unified command-line interface. The mcp subcommand starts the MCP server, while all other commands provide direct terminal access to tools:

# Install globally
npm install -g mobilebuildmcp@latest

# Start the MCP server (for MCP clients)
mobilebuildmcp mcp

# List available tools
mobilebuildmcp tools

# Build for simulator
mobilebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeproj

# Prepare portable test products without running tests
mobilebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeproj --simulator-name "iPhone 17" --build-for-testing --test-products-path ./MyApp.xctestproducts

# Run previously prepared test products
mobilebuildmcp simulator test --test-products-path ./MyApp.xctestproducts --simulator-name "iPhone 17"

Check for updates and upgrade in place:

mobilebuildmcp upgrade --check
mobilebuildmcp upgrade --yes

The CLI uses a per-workspace daemon for stateful operations (log capture, debugging, etc.) that auto-starts when needed. See the CLI guide for full documentation.

Documentation

Licence

This project is licensed under the MIT License - see the LICENSE file for details. For third-party licensing notices see the THIRD_PARTY_LICENSES file for details. For npm package attributions see the THIRD_PARTY_PACKAGE_LICENSES file for details.

Questions about MobileBuildMCP

What is the MobileBuildMCP MCP server?

A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects. MobileBuildMCP is published by getsentry, the company behind the product, on GitHub at getsentry/MobileBuildMCP, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the MobileBuildMCP MCP server?

Add MobileBuildMCP to your AI app's MCP config with the command npx -y mobilebuildmcp. In Claude Code, run claude mcp add --transport stdio mobilebuildmcp -- npx -y mobilebuildmcp. To run MobileBuildMCP this way you need Node.js installed.

Does MobileBuildMCP need an API key?

The registry lists no required keys for MobileBuildMCP. Check the MobileBuildMCP README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is MobileBuildMCP an official MCP server?

Yes. MobileBuildMCP is published by getsentry, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is MobileBuildMCP under?

MobileBuildMCP is released under the MIT license, according to its GitHub repository. The license covers the code of MobileBuildMCP; the service it connects to has its own terms.