This repository provides an Xcode Model Context Protocol (MCP) server, enabling AI assistants to interact with Xcode projects, manage simulators, and automate various development tasks. This repository provides an Xcode
A Model Context Protocol (MCP) server that integrates Large Language Models (LLMs) with Xcode, enabling AI assistants to manage Xcode projects, iOS simulators, and perform Xcode-related tasks.
The server supports natural language instructions for project setup, build management, simulator testing, file operations, and troubleshooting. Examples include setting project directories, building projects, running tests, managing simulators, and updating files.
Installation involves cloning the repository, installing dependencies using npm install
, configuring environment variables (setting PROJECTS_BASE_DIR
in .env
), and building the project with npm run build
. The Claude configuration requires updating with the server's command and environment details.
Requires Node.js 16+, Xcode, and macOS. Building is done via npm run build
. Testing can be performed using the Model Context Protocol Inspector.
r-huijts/xcode-mcp-server
January 16, 2025
March 28, 2025
TypeScript