PTS security notes / MCP servers / XcodeBuildMCP

Is XcodeBuildMCP safe to install?

By PTS · Based on public source as of December 5, 2026

Short answer

It builds, installs and launches apps on simulators, Macs and devices, runs tests and can attach an LLDB debugger and run LLDB commands. It also scaffolds projects and automates simulator UI. The README says it uses Sentry for internal runtime error telemetry only, with an opt-out in the docs. Use it on a project under version control and pin the version.

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.

Build and run steps execute project code and build scripts on your Mac, which is how Xcode itself behaves.

ToolWhat it can doNotes
build_simRuns codeBuilds with xcodebuild.
build_run_simRuns code
test_simRuns code
install_app_deviceRuns code
launch_app_deviceRuns code
debug_lldb_commandRuns codeRuns an LLDB command in an attached debug session.
debug_attach_simRuns code
scaffold_ios_projectWrites
erase_simsDeletesErases simulators.
tapWrites
type_textWrites
screenshotReads
record_sim_videoWrites
set_sim_locationWrites
doctorReads

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

Safe-install checklist

Install command from the project's docs: npx -y mobilebuildmcp@latest mcp.

  1. 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.
  2. Keep secrets out. Start it with a clean environment, so it does not inherit your shell's keys.
  3. Run it on a project under version control, and enable only the workflows you use.
  4. Deny erase_sims and debug_lldb_command unless you need them.
  5. Deny the tools you do not need. In Claude Code, deny rules in .claude/settings.json use the form mcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named it xcodebuildmcp:
    {
      "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"
        ]
      }
    }
  6. Snapshot the tool list. Save the tools/list output 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.
  7. 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.

Get the free checklist

A 9-page worksheet plus starter files for Claude Code and Codex. It maps what your agent can reach and shrinks it. Download it on Gumroad. This site does not collect email.

Get the free checklist

Before you install anything, try the MCP tool diff checker. See all 54 servers.

More server pages