This repository provides an MCP server, XcodeBuild MCP, that offers Xcode tools for AI assistants, enabling programmatic interaction with Xcode projects through a standardized interface for agent-driven development workflows.
A Model Context Protocol (MCP) server providing Xcode tools for AI assistants.
This project implements an MCP server exposing Xcode operations as tools for AI agents, enabling programmatic interaction with Xcode projects through a standardized interface, optimized for agent-driven development.
XcodeBuild MCP streamlines interaction between AI agents and Xcode projects by providing dedicated tools for common Xcode operations, removing reliance on manual command-line invocations. This enables AI agents to independently validate code changes by building projects, inspecting errors, and iterating autonomously.
The XcodeBuildMCP server provides:
Prerequisites: Node.js, npm, Xcode command-line tools.
Installation: Clone, npm install
, npm run build
.
Add a custom server configuration with the command pointing to the built index.js
.
Use MCP Inspector: npx @modelcontextprotocol/inspector node build/index.js
.
cameroncooke/XcodeBuildMCP
March 9, 2025
March 28, 2025
TypeScript