What it is
XcodeBuildMCP, renamed MobileBuildMCP in the repository, is Sentry's MCP server and CLI for iOS and macOS development. It exposes manifest-defined tools in workflows such as simulator, device, debugging and UI automation.
- Maintainer
- Official (vendor)getsentry on GitHub (organisation account, project of the same name)
- Source
- getsentry/MobileBuildMCP6,629 GitHub stars · MIT licence
- Transport
- stdio
- Packages
- mobilebuildmcp npm · latest 2.7.1
xcodebuildmcp npm · latest 2.7.0 - Latest release
- Release v2.7.1 2026-09-23
- Public advisories
- 0GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: yes
- Network: no
- Sends: no
Build and run steps execute project code and build scripts on your Mac, which is how Xcode itself behaves.
| Tool | What it can do | Notes |
|---|---|---|
build_sim | Runs code | Builds with xcodebuild. |
build_run_sim | Runs code | |
test_sim | Runs code | |
install_app_device | Runs code | |
launch_app_device | Runs code | |
debug_lldb_command | Runs code | Runs an LLDB command in an attached debug session. |
debug_attach_sim | Runs code | |
scaffold_ios_project | Writes | |
erase_sims | Deletes | Erases simulators. |
tap | Writes | |
type_text | Writes | |
screenshot | Reads | |
record_sim_video | Writes | |
set_sim_location | Writes | |
doctor | Reads |
82 tool manifests found under manifests/tools. The list here is a subset. Workflows group them and can be turned off.
Credentials and least privilege
No credential. Device tools need code signing set up in Xcode.
Public security advisories
No published security advisory was listed for this project on GitHub or OSV as of December 5, 2026. That only means none had been published. It does not mean the code has been audited.
What stands out
- README: Sentry error telemetry only, with opt-out instructions in the privacy docs.
debug_lldb_commandcan run commands in an attached debugger.- No GitHub or OSV advisory was listed as of December 5, 2026.
Safe-install checklist
Install command from the project's docs: npx -y mobilebuildmcp@latest mcp.
- Pin the version. Use an exact version, not
latest:npx -y mobilebuildmcp@2.7.1 mcp. Also installable with Homebrew. The package was formerly published as xcodebuildmcp. - Keep secrets out. Start it with a clean environment, so it does not inherit your shell's keys.
- Run it on a project under version control, and enable only the workflows you use.
- Deny
erase_simsanddebug_lldb_commandunless you need them. - Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itxcodebuildmcp:{ "permissions": { "deny": [ "mcp__xcodebuildmcp__build_sim", "mcp__xcodebuildmcp__build_run_sim", "mcp__xcodebuildmcp__test_sim", "mcp__xcodebuildmcp__install_app_device", "mcp__xcodebuildmcp__launch_app_device", "mcp__xcodebuildmcp__debug_lldb_command", "mcp__xcodebuildmcp__debug_attach_sim", "mcp__xcodebuildmcp__scaffold_ios_project" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can XcodeBuildMCP do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data; runs commands, scripts or code. Build and run steps execute project code and build scripts on your Mac, which is how Xcode itself behaves.
Does XcodeBuildMCP need a token or API key?
No credential. Device tools need code signing set up in Xcode.
Has XcodeBuildMCP had public security advisories?
No published advisory was listed for it on GitHub or OSV as of December 5, 2026. That is not proof it has no issues, only that none had been published.
How do I keep XcodeBuildMCP from changing under me?
Pin the version, for example npx -y mobilebuildmcp@2.7.1 mcp. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
