XcodeBuild
BLOCKgrade D · trust 64/100A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
mcpmcp servermodel context protocolmodel context protocol serverstag non productionxcodexcodebuildOverview
From the repository's own README, as read at the audited commit.
# Test workflow trigger
Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add xcodebuildmcp -- npx -y [email protected]
Exposed tools (4) 4 read · 0 write · 0 destructive
| Tool | Risk | Description |
|---|---|---|
Alpha | read | |
Beta | read | |
Gamma | read | |
TriggerChange | read |
Details
- Source
- cameroncooke/xcodebuildmcp
- npm
xcodebuildmcp@2.7.0- Transports
- stdio
- Credentials it reads
GITHUB_TOKEN- License
- MIT
- Stars
- 6,378 · pushed 3d ago
Trust audit
Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (7 observation(s))
- Network
- declared (7 observation(s))
- Shell
- declared (6 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (19)
const res = await exec([axePath, '--version'], 'AXe Version', true);
1. Important: Before working on the project make sure to read the README.md file in the workspace root directory.
1. Important: Before working on the project make sure to read the README.md file in the workspace root directory.
1. Important: Before working on the project make sure to read the README.md file in the workspace root directory.
1. Important: Before working on the project make sure to read the README.md file in the workspace root directory.
'YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGnCwwVFhwdHlUkbnVsbNMNDg8QEhRXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6ERgAKhE4ADgAZcQWN0aXZlU2N
.axe-version
.prettierignore
.prettierrc.js
expect(() => new Function(generated)).not.toThrow();
expect(() => new Function(code)).not.toThrow();
import { runDirectory } from '../../src/benchmarks/claude-ui/run-directory.ts';import { main } from '../../src/benchmarks/claude-ui/harness.ts';'../../utils/index.js',
'../../../utils/index.js',
'../../utils/index.ts',
[](https://badge.fury.io/js/xcodebuildmcp) [](https://opensource.org/licen
@clack/prompts, @modelcontextprotocol/sdk, @sentry/node, bplist-parser, chokidar, glob, uuid, yaml
assets/banner.png
Gates applied: no_behavioural_pass.
Audited 2026-09-14 · audit v0.4.0 · source sha 51987d327c73 · full audit: observations/trust-audit/mcp-server/cameroncooke__xcodebuild-2.json · Report an issue or request a re-scan
Audit history
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-09-14 | 51987d327c73 | BLOCK | D | 64 | first audit |
Alternatives
Other servers in the same categories, safer ones first.
Questions
What is the XcodeBuild MCP server?
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
What tools does XcodeBuild expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is XcodeBuild safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (64/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does XcodeBuild need?
It reads GITHUB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does XcodeBuild run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as xcodebuildmcp at 2.7.0.
How current is this page?
The grade is for one exact copy of the source (51987d327c73), read on 2026-09-14. The repository is watched and re-audited when it changes.
Provenance: OBSERVED · read 2026-09-14 · job trust-audit-2026-09-14