← Back to directory
X

Xcode MCP Server

Community
Use MCP to let AI assistants work with Xcode projects and simulators.
Category
Dev Tools #643 of 751
Stars
★ 386 Popular
Runtime
Node.js 16+
Credentials
No credential needed
License
MIT
Last commit
⚠
40FMRS · D

The README describes broad Xcode project, file, build, dependency management, and simulator features, and lists path and parameter validation measures. The manifest was not provided, and the README does not list canonical tool identifiers or transport, so those fields are left empty; its example only shows a local Node.js configuration for Claude Desktop.

Strongest · Setup experience 11/20 Weakest · Reliability 6/20

Reliability
6/20
Security and permissions
7/20
Maintenance
7/20
Documentation
9/20
Setup experience
11/20
Why each score
Reliability 6/20
The README claims project, file, build, test, simulator, and package-management tools, and mentions parameter validation, path management, and error handling. The supplied material contains no manifest, source code, CI, or test results to verify startup, the MCP handshake, tool listing, or actual behavior. File writes and external command execution are also described, but their failure boundaries cannot be checked, so the score is limited.
Security and permissions 7/20
The README mentions path restrictions, parameter validation, and safe execution of external processes, but there is no implementation to inspect and confirm those boundaries. File writes, pod commands, and Xcode tool invocation can have meaningful side effects; the docs do not establish confirmation for dangerous actions or disclose the full data flow. Partial credit is warranted, and the supplied evidence does not show a red-line condition.
Maintenance 7/20
An MIT license is stated, and the repository metadata says it is not archived and has few open issues. The supplied material has no commit history, releases, dependency updates, security-response channel, or governance details to establish sustained maintenance.
Documentation 9/20
The README provides a feature overview, prerequisites, setup examples, common workflows, troubleshooting, and links to tool guides. The guide contents are not supplied, and the material lacks complete tool parameters, limits, data-flow disclosure, and confirmation details for side effects; most security and behavior claims cannot be checked against source.
Setup experience 11/20
The README lists macOS, Xcode, and Node.js prerequisites, and gives script and manual installation steps, environment variables, and a Claude Desktop configuration example. The script behavior cannot be verified from the supplied material, and there is no CI plus committed test evidence for execution, so the static calibration limits the score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Developers using macOS and Xcode for iOS, macOS, watchOS, or tvOS work.
  • Teams that want to perform project and simulator tasks through an MCP-compatible AI assistant.

Not for

  • Users without a macOS or Xcode environment.
  • Users who require documented transport, authentication, or client support guarantees not provided in the README.

Required permissions

  • Needs access to the configured project base directory; additional allowed directories can be set with ALLOWED_PATHS.
  • Depending on the features used, it needs to run Xcode commands, Swift Package Manager or CocoaPods operations, and interact with simulators.

Risks and side effects

  • File and project operations can affect content within allowed directories; configure PROJECTS_BASE_DIR and ALLOWED_PATHS carefully.
  • The server can run Xcode commands and pod commands; the README mentions process and path validation but does not describe more specific permission boundaries.

Setup

Before you start

Runtime:Node.js 16+

PROJECTS_BASE_DIR required Base directory for projects; set it to the directory containing your Xcode projects.
Other optional settings (4)
DEBUG optional Controls debug logging; set to true to enable it.
ALLOWED_PATHS optional Additional directories the server may access, separated by commas.
PORT optional Port for the server; the documented default is 3000.
LOG_LEVEL optional Logging level; the documented default is info.

Requires macOS, Xcode 14.0 or later, Node.js 16 or later, and npm or yarn. Clone the repository, install dependencies, build the project, and configure PROJECTS_BASE_DIR; the README also provides an optional Claude Desktop configuration example. Swift Package Manager features require Swift 5.5 or later, and CocoaPods features require CocoaPods.

claude_desktop_config.json
{"mcpServers":{"xcode":{"command":"node","args":["/path/to/xcode-mcp-server/dist/index.js"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "xcode": {
      "command": "node",
      "args": [
        "/path/to/xcode-mcp-server/dist/index.js"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.xcode]
command = "node"
args = ["/path/to/xcode-mcp-server/dist/index.js"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add xcode -- node /path/to/xcode-mcp-server/dist/index.js

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that the Xcode MCP Server tools appear in your AI client’s tool list. Ask it to list the available schemes in a project and confirm that it returns results.

Troubleshooting

  1. Confirm the environment is macOS and Xcode with command line tools is installed.
  2. Confirm Node.js is version 16 or later, dependencies are installed, and the project has been built.
  3. Check that PROJECTS_BASE_DIR and ALLOWED_PATHS point to valid directories the server can access.
  4. For tool or parameter errors, check tool names and parameter requirements; enable debug logging to inspect error details.

Things to try

Once connected, you can ask your AI assistant things like:

  • Create an iOS app project with tests and set it as the active project.
  • Build this project and run its tests.
  • List the available iOS simulators and boot one.
  • Search the project’s Swift files for occurrences of class.

Use cases

Create and manage Xcode projects, add files, and list schemes.
Read, write, and search project files.
Build, test, analyze, clean, or archive projects.
Manage Swift package and CocoaPods dependencies.
Control iOS simulators, install and launch apps, take screenshots, or record videos.

Supported clients

Claude DesktopPartial support

Listed from the project's documentation, not tested by this site.

Overview

Xcode MCP Server provides AI assistants with Xcode-related project management, file operations, builds and tests, CocoaPods, Swift Package Manager, iOS simulator, and utility functions. The README says it supports Xcode projects, workspaces, and Swift Package Manager projects, and uses path validation, parameter validation, and error handling to manage operations.

Similar servers

Source revision 11f8d6bacadd Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/xcode-mcp-server.svg)](https://followmcp.com/en/servers/xcode-mcp-server)