Xcode MCP Server
@ebowwa/mcp-xcode
Xcode MCP server - build, test, run, and manage simulators from Claude Code.
Installation
npm install @ebowwa/mcp-xcodeRequirements
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