Xcode MCP Server
MCP server for Xcode project management, file operations, builds and simulator control.
View on GitHub ↗- Stars
- ★ 386
- Last commit
- 2 Feb 2026
- Maintenance
- Slowing
- Licence
- MIT
- Category
- MCP Servers
- GitHub
- r-huijts/xcode-mcp-server
Overview
Xcode MCP Server by r-huijts is an MCP server that gives AI assistants broad Xcode integration. It covers project management, file operations, building and testing, CocoaPods, Swift Package Manager and simulator control. A setup script checks your environment and installs everything.
Features
- Sets the active project, shows project details and creates new projects
- Reads and writes files, including binary files
- Builds projects and runs tests with failure reports
- CocoaPods and Swift Package Manager dependency management
- Boots simulators, installs and launches apps, and takes screenshots and videos
- Runs xcrun commands, compiles asset catalogues and generates app icons
Requirements
- macOS with Xcode 14.0 or later
- Node.js 16 or later with npm or yarn
- Swift 5.5 or later for Swift Package Manager features
- CocoaPods (optional)
Install
Clone the repo and run the setup script
git clone https://github.com/r-huijts/xcode-mcp-server.git cd xcode-mcp-server chmod +x setup.sh ./setup.shStart the server
npm start
Works with
Listed in
- github.com/r-huijts/xcode-mcp-server
- raw.githubusercontent.com/r-huijts/xcode-mcp-server/HEAD/README.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
Mobile MCP
Drives native mobile apps on simulators, emulators and real devices over MCP, for iOS and Android alike.
MobileBuildMCP
Sentry's MCP server and CLI for building, testing, running and debugging iOS and macOS projects from an agent. Formerly XcodeBuildMCP.
agent-device
Lets coding agents see and drive apps on iOS simulators and real devices (Android too) through accessibility snapshots, taps, typing and screenshots. Comes as a CLI, MCP server and Node API.