Xcode MCP Server
The Xcode MCP Server enables comprehensive management of Xcode projects, simulators, and physical devices:
Build & Test
Build, test, clean, and archive Xcode projects or workspaces
Show build settings, available destinations, and SDKs
Simulator Control
List, boot, shut down, and erase iOS/watchOS/tvOS simulators
Install and launch apps, capture screenshots, and open URLs on simulators
Physical Device Support
List connected iOS devices and device pairs; get detailed device info
Install apps, build, and run apps directly on physical devices (with automatic signing)
Project & File Management
List schemes and show build settings for projects/workspaces
Create new Xcode projects (iOS/macOS), Swift source files, and directories
Read file contents and modify/add entries to
.plistfiles
Web Monitor
Start, stop, and check the status of a web interface for visual command execution and monitoring
Enables creation and management of iOS applications, with support for building, testing, and deploying to iOS simulators.
Supports development of macOS applications with project creation, building capabilities, and management tools.
Facilitates creation and modification of Swift source files within Xcode projects.
Provides programmatic access to Xcode functionality for creating, building, testing, and managing iOS/macOS projects, including project management, file operations, and simulator management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Xcode MCP Servercreate a new iOS app called PhotoGallery"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@ebowwa/mcp-xcode
Xcode MCP server - build, test, run, and manage simulators from Claude Code.
Installation
npm install @ebowwa/mcp-xcodeRelated MCP server: xcode-mcp-server (drewster99)
Requirements
macOS (Darwin)
Xcode Command Line Tools (
xcode-select --install)
Tools
Build Tools
Tool | Description |
| Build an Xcode project/workspace |
| Run unit/UI tests |
| Create .xcarchive for distribution |
| Clean build folder |
| Show all build settings for a scheme |
Project Info
Tool | Description |
| Get project/workspace info |
| List all schemes |
| List available destinations |
Simulator Tools
Tool | Description |
| List all available simulators |
| Boot a simulator |
| Shutdown simulator(s) |
| Install app on simulator |
| Launch app on simulator |
| Terminate app on simulator |
| Open URL on simulator |
| Take screenshot |
Device Tools
Tool | Description |
| List connected physical devices |
| List installed iOS/tvOS/watchOS runtimes |
Usage Examples
Build a Scheme
{
"scheme": "MyApp",
"destination": "platform=iOS Simulator,name=iPhone 15"
}Run Tests
{
"scheme": "MyAppTests",
"onlyTesting": "MyAppTests/MyTestCase/testExample"
}Boot Simulator
{
"name": "iPhone 15",
"runtime": "iOS 17.2"
}Install and Launch App
{
"appPath": "/path/to/MyApp.app",
"bundleId": "com.mycompany.myapp"
}Claude Code Configuration
Add to your ~/.claude.json:
{
"mcpServers": {
"xcode": {
"command": "bun",
"args": ["run", "/path/to/mcp-xcode/dist/index.js"]
}
}
}License
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-qualityFmaintenanceBridges Claude AI with Xcode, enabling AI-powered code assistance, project management, and automated development tasks securely on your local machine.Last updated189384MIT
- AlicenseAqualityBmaintenanceEnable Claude Code, Cursor, or your favorite LLM to interact with Xcode, building your projects the same way you do, and seeing the same errors. Greatly increases productivity when working on iOS, iPadOS, macOS, visionOS, tvOS projects & Swift packages - or any time you might use Xcode.Last updated295MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to build, test, run, and manage Apple platform projects (iOS, macOS, tvOS, watchOS, visionOS) directly through Xcode. Provides comprehensive control over Xcode projects, Swift packages, simulators, and development workflows without leaving your editor.Last updated5291MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage Xcode projects by listing targets, reading configurations, and triggering builds via the Model Context Protocol. It facilitates natural language interaction with macOS developer tools to streamline iOS app development processes.Last updated6189MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Create, test, publish, and manage Dreamlit notification workflows from AI clients.
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/ebowwa/xcode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server