xcodebuildmcp-cli

xcodebuildmcp-cli is a skill for Claude Code, Codex from getsentry/XcodeBuildMCP. It costs 48 tokens per session (418 once invoked), scanned A, original, MIT.

A command-line skill for using XcodeBuildMCP to build, test, run, debug, inspect logs, and automate interfaces in Apple-platform apps. It covers iPhone, Mac, Apple Watch, Apple TV, and visionOS projects.

In plain words
What is it for?
Use it to discover and run the smallest suitable workflow for building, testing, launching, debugging, capturing logs, or automating an Apple-platform app.
Why use it?
It provides one documented route for common Xcode tasks instead of relying on separate low-level commands. Help-first discovery reduces the chance of using incorrect command names or options.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

not rated 6.5krepo 8d ago A scan Socket: passSnyk: passSkillSpector: pass 48 tokens original MIT

Good fit Use it to discover and run the smallest suitable workflow for building, testing, launching, debugging, capturing logs, or automating an Apple-platform app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli
About the project

XcodeBuildMCP is an MCP server and command-line tool that gives coding agents tools for building and working on iOS and macOS projects. It supports workflows involving Xcode and xcodebuild, including project builds and device-related operations. Its catalogue add-ons provide agent instructions and connections for using the MCP server and CLI.

getsentry/XcodeBuildMCP · 6,474 stars · on GitHub · xcodebuildmcp.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add getsentry/XcodeBuildMCP --skill xcodebuildmcp-cli
Clone the repo
git clone --depth 1 https://github.com/getsentry/XcodeBuildMCP

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xcodebuildmcp-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli/github.svg)](https://agentmods.dev/skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli)
Your own site
<a href="https://agentmods.dev/skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli"><img src="https://agentmods.dev/badge/skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xcodebuildmcp-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli"><img src="https://agentmods.dev/badge/skills/getsentry/xcodebuildmcp/xcodebuildmcp-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 1 Mar 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00418
Opus 5.5 $0.00019 $0.00167
Sonnet 5.5 $0.00010 $0.00084
Haiku 4.5 $0.00005 $0.00042

Measured 1mo ago against content hash afeaf4d088fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xcodebuildmcp-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xcodebuildmcp-cli/SKILL.md · 65 lines

What it actually says

XcodeBuildMCP CLI

Use XcodeBuildMCP tools via the xcodebuildmcp executable instead of raw xcodebuild, xcrun, or simctl.

Step 1: Ensure the CLI Exists

Check availability:

xcodebuildmcp --help

If missing, install with one of:

brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcp
npm install -g xcodebuildmcp@latest

Re-check after install:

xcodebuildmcp --help

Step 2: Use Help-First Discovery

Discover workflows and arguments from the CLI itself:

xcodebuildmcp --help
xcodebuildmcp tools
xcodebuildmcp <workflow> --help
xcodebuildmcp <workflow> <tool> --help

Use this discovery path instead of memorizing static tool lists.

Step 3: Keep Execution Minimal

  • Choose the smallest command sequence that satisfies the request.
  • Prefer direct workflow commands over manual multi-step chains unless explicitly requested.
  • For simulator run intent, prefer the combined build-and-run command.
  • Do not chain build then build-and-run unless explicitly requested.

Capability Overview

xcodebuildmcp supports:

  • simulator and device build/test/run
  • debugging and log capture
  • UI automation
  • project discovery and scaffolding
  • session defaults and workflow configuration

Exit Criteria

  • CLI presence is verified or installation steps are provided.
  • Commands are discovered via --help / tools.
  • Session defaults are checked before first build/run/test action.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 65 lines · 48 tokens per session scan A afeaf4d088fd

Subscribe to this mod's changes

xcodebuildmcp-cli is a skill published in the GitHub repository getsentry/XcodeBuildMCP (6,474 stars, last pushed 8d ago), licensed MIT. It adds 48 tokens to every session and 418 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

crash-triage

Using logcat to surface the real "Caused by:" root cause hidden behind a generic UI error, plus app lifecycle tools for reproducing failures. Use when an app crashes, shows a generic error dialog, or a task needs to find why a native call failed.

iksnerd/adb-mcp · 60 tokens

flutter-mcp-toolkit-debug

Diagnose problems in a running Flutter app — read logs, evaluate Dart expressions, interpret error envelopes. Use when something broke.

Arenukvern/mcp_flutter · 32 tokens

spm-build-analysis

Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds. Use when a developer suspects packages, plugins, or dependency graph shape are hurting clean or incremental build performance, mentions SPM slowness, package resolution time, build…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 87 tokens

flutter-mcp-toolkit-inspect

Read state from a running Flutter app — semantic snapshot, view details, errors, screenshots, VM info. Use when you need to understand what the app is showing.

Arenukvern/mcp_flutter · 41 tokens

flutter-mcp-toolkit-intentcall-migration

Migrate Flutter app code from removed MCPCallEntry to AgentCallEntry after the hard cut. Use when upgrading mcptoolkit, fixing compile errors after a major bump, or running flutter-mcp-toolkit migrate agent-entries.

Arenukvern/mcp_flutter · 58 tokens

flutter-mcp-toolkit-maintain-macos

Maintains showcase/fluttertestapp macOS showcase, native intentcall hooks (codegen, applinks invoke), and VM MCP validation. Use when editing macOS Runner, intentcallcodegen.sh, macOS dogfood, Screen Recording capture, or comparing macOS parity to web WebMCP.

Arenukvern/mcp_flutter · 69 tokens