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

  1. 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.sh
  2. Start the server

    npm start

Works with

Any MCP client

Listed in

swiftskills.devawesome-ios-ai

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