Xcodeproj MCP Server

A Model Context Protocol (MCP) server for manipulating Xcode project files (.xcodeproj) using Swift.

Local serverstdio

What is the Xcodeproj MCP server?

Most developer tooling work still happens through a UI a human drives. Xcodeproj MCP server moves it into the conversation instead. A Model Context Protocol (MCP) server for manipulating Xcode project files (.xcodeproj) using Swift.

The short version

This server enables AI assistants and other MCP clients to: - Create new Xcode projects - Manage targets, files, and build configurations - Inspect project structure including groups and hierarchies - Modify build settings - Add dependencies and frameworks - Automate common Xcode project tasks

The tools it exposes

The server publishes 1 tool. What each one is for:

  • Prerequisites — The Prerequisites tool exposed by this server

Getting it running

The server ships on a container image as ghcr.io/giginet/xcodeproj-mcp-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: ENABLE_TOOL_SEARCH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Docker - macOS (for running Xcode projects)

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Xcodeproj's toolset — Prerequisites — is a fair guide to whether it matches your workflow. It is maintained by giginet; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.

How to install the Xcodeproj MCP server

{
  "mcpServers": {
    "xcodeproj": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "${workspaceFolder}:/workspace",
        "ghcr.io/giginet/xcodeproj-mcp-server",
        "/workspace"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Docker - macOS (for running Xcode projects)
VariableDescriptionRequired
ENABLE_TOOL_SEARCHConfiguration value read at startup.Optional

Example prompts to try

  • Use Xcodeproj to Prerequisites.

Frequently asked questions

It connects Xcodeproj to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Prerequisites) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Xcodeproj directly.