Xcode-Studio-MCP
xcode-studio-mcp
Einheitlicher MCP-Server für Xcode + iOS-Simulator – Erstellen, Bereitstellen, Screenshots erstellen und Interaktion mit Ihrer iOS-App über Claude Code, Codex, Cursor oder einen beliebigen MCP-Client.
In Swift geschrieben. Einzelne Binärdatei. Keine Node/Python-Laufzeitumgebung erforderlich.
Warum existiert dieses Projekt?
Heutzutage benötigen Sie 2-3 separate Tools, um den vollständigen iOS-Entwicklungszyklus mit einem KI-Agenten durchzuführen. xcode-studio-mcp kombiniert diese in einem einzigen Tool:
Write code → Build → Deploy to Simulator → Screenshot → Tap/Type → VerifyTools
Tool | Beschreibung |
| Erstellt ein Xcode-Projekt mit strukturierter Fehlerausgabe (Datei, Zeile, Spalte, Schweregrad, Nachricht) |
| Erstellt und startet eine App im iOS-Simulator |
| Erfasst den Simulator-Bildschirm als PNG-Bild |
| Tippt auf x,y-Koordinaten auf dem Simulator-Bildschirm |
| Gibt Text in das aktuell fokussierte Feld ein |
| Ruft den Barrierefreiheitsbaum des aktuellen Bildschirms ab (JSON) |
Related MCP server: xcforge
Tool-Parameter
xcode_build
Parameter | Erforderlich | Beschreibung |
| Ja | Pfad zum Xcode-Projektverzeichnis, |
| Nein | Build-Schema (wird automatisch erkannt, falls weggelassen) |
| Nein |
|
| Nein | Build-Ziel (standardmäßig der gestartete Simulator) |
xcode_run
Parameter | Erforderlich | Beschreibung |
| Ja | Pfad zum Xcode-Projekt |
| Ja | App-Bundle-ID (z. B. |
| Nein | Build-Schema (automatisch erkannt) |
| Nein | Ziel-Simulator (standardmäßig der gestartete) |
simulator_screenshot
Parameter | Erforderlich | Beschreibung |
| Nein | Ziel-Simulator (standardmäßig der gestartete) |
simulator_tap
Parameter | Erforderlich | Beschreibung |
| Ja | X-Koordinate |
| Ja | Y-Koordinate |
| Nein | Haltedauer in Sekunden (für langes Drücken) |
| Nein | Ziel-Simulator |
simulator_type
Parameter | Erforderlich | Beschreibung |
| Ja | Einzugebender Text |
| Nein | Ziel-Simulator |
simulator_describe
Parameter | Erforderlich | Beschreibung |
| Nein | Ziel-Simulator |
Schnellstart
Voraussetzungen
macOS mit installiertem Xcode
Für UI-Interaktions-Tools (
tap,type,describe):brew tap facebook/fb && brew install idb-companion pip3 install fb-idb
Build
git clone https://github.com/kevinswint/xcode-studio-mcp.git
cd xcode-studio-mcp
swift build -c releaseClaude Code konfigurieren
Fügen Sie dies zu Ihren Claude Code MCP-Einstellungen hinzu:
{
"mcpServers": {
"xcode-studio-mcp": {
"command": "/path/to/xcode-studio-mcp/.build/release/XcodeStudioMCP"
}
}
}Beispiel-Workflow
You: Build and run my app at ~/Projects/MyApp
Claude: [calls xcode_build] Build succeeded with 0 errors
[calls xcode_run] App launched (PID 12345)
[calls simulator_screenshot] Here's what the app looks like...
[calls simulator_describe] I can see a "Sign In" button and email/password fields
[calls simulator_tap] Tapped the email field
[calls simulator_type] Typed "test@example.com"
[calls simulator_screenshot] Here's the current state...Architektur
┌─────────────────────────────┐
│ MCP Protocol Layer │ stdio transport (Swift MCP SDK)
├─────────────────────────────┤
│ Tool Implementations │ 6 tools, structured error output
├──────────┬──────────────────┤
│ xcodebuild│ simctl │ idb │ native process calls
│ wrapper │ wrapper │ CLI │
└──────────┴──────────┴──────┘In Swift geschrieben, ohne Abhängigkeiten von Node/Python-Laufzeitumgebungen (idb CLI wird nur für UI-Interaktions-Tools benötigt).
Roadmap
v0.1 (aktuell): Core-Build + Simulator-Tools
v1.0: Semantische UI-Navigation („Tippe auf den Anmelden-Button“), visueller Vergleich, Bearbeitung von Xcode-Projektdateien, zusammengesetzte Operationen, SwiftUI-Vorschau-Erfassung
Verwandte Projekte
Projekt | Was es tut | Unterschied |
Nur Build + Test | Keine Simulator-UI-Interaktion | |
Plattformübergreifende Simulator-UI | Keine Xcode-Build-Unterstützung | |
Simulator über IDB | Kein Build, hängt für alles von IDB ab |
xcode-studio-mcp kombiniert Build und Interaktion in einem einzigen Server.
Mitwirken
Pull Requests sind willkommen. Die Codebasis besteht aus ca. 750 Zeilen Swift, organisiert in Tools, Services und Models.
Lizenz
MIT
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
Alicense-qualityBmaintenanceHigh-performance MCP server for iOS development and test automation. Gives AI coding assistants direct access to iOS simulators with sub-20ms screenshots, UI interaction, building, testing, and an intelligent operator mode.Last updated6MIT- Alicense-qualityBmaintenanceMCP server and CLI for iOS development — build, test, automate, and diagnose from any AI agent or terminal.Last updated1MIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for iOS Simulator automation. Enables AI assistants to visually interact with iOS apps running in the simulator.Last updated241MIT
- Alicense-qualityDmaintenanceA comprehensive MCP server for iOS/macOS development that gives AI assistants full control over Xcode build, test, simulator management, and app deployment.Last updated112MIT
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
MCP server for Appcircle mobile CI/CD platform.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/kevinswint/xcode-studio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server