XcodeBuildMCP
Ein Model Context Protocol (MCP)-Server und eine CLI, die Tools für Agenten bei der Arbeit an iOS- und macOS-Projekten bereitstellt.
Installation
XcodeBuildMCP wird als einzelnes Paket mit zwei Modi ausgeliefert: einer CLI für die direkte Terminalnutzung und einem MCP-Server für KI-Coding-Agenten. Beide Installationsmethoden bieten Ihnen beides.
Option A — Homebrew
brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcpOption B — npm (Node.js 18+)
npm install -g xcodebuildmcp@latestÜberprüfen Sie die Installation:
xcodebuildmcp --helpVerbinden Sie Ihren MCP-Client
Konfigurations-Snippets für Cursor, Claude Code und Codex finden Sie auf der offiziellen Dokumentationsseite MCP Clients. Die meisten Clients können den MCP-Server auch bei Bedarf über npx -y xcodebuildmcp@latest mcp ausführen, ohne dass eine globale Installation erforderlich ist.
Related MCP server: MCP Xcode Server
Anforderungen
macOS 14.5 oder neuer
Xcode 16.x oder neuer
Node.js 18.x oder neuer (nicht erforderlich für die Homebrew-Installation)
Skills
XcodeBuildMCP enthält jetzt zwei optionale Agenten-Skills:
MCP Skill: Versorgt den Agenten mit Anweisungen zur Verwendung der Tools des MCP-Servers (optional bei Verwendung des MCP-Servers).
CLI Skill: Versorgt den Agenten mit Anweisungen zur Navigation in der CLI (empfohlen bei Verwendung der CLI).
Zur Installation mit einer globalen Binärdatei:
xcodebuildmcp initOder installieren Sie direkt über npx ohne globale Installation:
npx -y xcodebuildmcp@latest initWeitere Informationen zur Installation von Skills finden Sie unter Agent Skills.
Hinweise
XcodeBuildMCP weist xcodebuild an, die Makro-Validierung zu überspringen, um Fehler beim Erstellen von Projekten zu vermeiden, die Swift-Makros verwenden.
Gerätetools erfordern eine in Xcode konfigurierte Codesignierung. Siehe Device Code Signing.
Datenschutz
XcodeBuildMCP verwendet Sentry ausschließlich für interne Telemetriedaten zu Laufzeitfehlern. Details und Anweisungen zum Opt-out finden Sie unter Privacy & Telemetry.
CLI
XcodeBuildMCP bietet eine einheitliche Befehlszeilenschnittstelle. Der Unterbefehl mcp startet den MCP-Server, während alle anderen Befehle direkten Terminalzugriff auf die Tools bieten:
# Install globally
npm install -g xcodebuildmcp@latest
# Start the MCP server (for MCP clients)
xcodebuildmcp mcp
# List available tools
xcodebuildmcp tools
# Build for simulator
xcodebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeprojSuchen Sie nach Updates und führen Sie ein In-Place-Upgrade durch:
xcodebuildmcp upgrade --check
xcodebuildmcp upgrade --yesDie CLI verwendet einen Daemon pro Arbeitsbereich für zustandsabhängige Vorgänge (Protokollerfassung, Debugging usw.), der bei Bedarf automatisch startet. Die vollständige Dokumentation finden Sie im CLI-Handbuch.
Dokumentation
Installation: https://xcodebuildmcp.com/docs/installation
Einrichtung: https://xcodebuildmcp.com/docs/setup
MCP-Clients: https://xcodebuildmcp.com/docs/clients
CLI-Nutzung: https://xcodebuildmcp.com/docs/cli
Konfiguration und Optionen: https://xcodebuildmcp.com/docs/configuration
Tools-Referenz: https://xcodebuildmcp.com/docs/tools
Fehlerbehebung: https://xcodebuildmcp.com/docs/troubleshooting
Datenschutz: https://xcodebuildmcp.com/docs/privacy
Mitwirken: https://xcodebuildmcp.com/docs/contributing
Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert – siehe die Datei LICENSE für Details. Informationen zu Lizenzen Dritter finden Sie in der Datei THIRD_PARTY_LICENSES. Informationen zu npm-Paket-Attributionen finden Sie in der Datei THIRD_PARTY_PACKAGE_LICENSES.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Xcode build automation and log parsing that opens Xcode projects, triggers builds directly in Xcode, and parses build logs to extract errors and warnings.Last updated268657Apache 2.0
- Alicense-qualityDmaintenanceAn MCP server that provides tools for programmatically interacting with Xcode projects, enabling users to manage targets, schemes, and files. It supports essential development tasks including building, testing, and cleaning projects through the Xcode command-line tools.Last updated14MIT
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants to parse Xcode and Swift build outputs into structured, token-efficient formats like JSON or TOON. It provides tools for executing build commands and extracting detailed diagnostic information such as errors, warnings, and test failures.Last updated8MIT
- Alicense-qualityBmaintenanceMCP server and CLI for iOS development — build, test, automate, and diagnose from any AI agent or terminal.Last updated1MIT
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
NuGet MCP — .NET package registry
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/getsentry/XcodeBuildMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server