Xcode

v1.0.0Developer Toolsstable

Xcode MCP Server xcf is a 100% Swift based allowing you to integrate Xcode with your favorite AI IDE or MCP Client

automatedclaudecursordesktopide
Share:
12
Stars
0
Downloads
0
Weekly
0/5

What is Xcode?

Xcode is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to xcode mcp server xcf is a 100% swift based allowing you to integrate xcode with your favorite ai ide or mcp client

Xcode MCP Server xcf is a 100% Swift based allowing you to integrate Xcode with your favorite AI IDE or MCP Client

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Xcode MCP Server xcf is a 100% Swift based allowing you to i

Use Cases

Integrate Xcode development with AI IDEs and MCP clients.
Enable AI-assisted iOS and macOS development.
CodeFreezeAI

Maintainer

LicenseMIT
Languageswift
Versionv1.0.0
UpdatedMar 30, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx xcf

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Xcode

XCF is a 100% Swift MCP server (xcf.app) that bridges Xcode with AI IDEs including Cursor, Claude Desktop, and VS Code, exposing 21 MCP tools for building, running, analyzing, and navigating Xcode projects without leaving your AI assistant. It features automatic Xcode project detection, real-time build error forwarding to the AI, fuzzy-logic file path resolution, and Swift code analysis that works without a full build step. iOS and macOS developers use it to let Claude or Cursor write, fix, and run Swift code end-to-end within a single AI-driven workflow.

Prerequisites

  • macOS (xcf is a native macOS application — it does not run on Linux or Windows)
  • Xcode installed on your Mac
  • xcf.app downloaded from the GitHub releases page and placed in /Applications
  • An MCP-compatible client: Cursor (~/.cursor/mcp.json), Claude Desktop, or VS Code
1

Download and install xcf.app

Download the xcf application from the GitHub releases page and drag it to your /Applications folder. Launch it once to approve the internet download — you will see an alert dialog. Click 'Press to Quit this XCF Xcode MCP Server' to dismiss it.

2

Approve the application signature (if needed)

If the alert does not appear on first launch, codesign the app manually to clear the Gatekeeper block.

codesign --force --deep --sign - /Applications/xcf.app
3

Add xcf to your MCP client configuration

Edit your MCP client config file. For Cursor use ~/.cursor/mcp.json; for Claude Desktop use ~/Library/Application Support/Claude/claude_desktop_config.json.

{
  "mcpServers": {
    "xcf": {
      "type": "stdio",
      "command": "Applications/xcf.app/Contents/MacOS/xcf",
      "args": ["server"]
    }
  }
}
4

(Optional) Pin a specific Xcode project

For strict project-level control or if xcf's auto-detection picks the wrong project, set XCODE_PROJECT and XCODE_PROJECT_FOLDER environment variables.

{
  "mcpServers": {
    "xcf": {
      "type": "stdio",
      "command": "Applications/xcf.app/Contents/MacOS/xcf",
      "args": ["server"],
      "env": {
        "XCODE_PROJECT_FOLDER": "/path/to/project/",
        "XCODE_PROJECT": "/path/to/project/project.xcodeproj"
      }
    }
  }
}
5

Restart your AI assistant and verify tools are loaded

Restart Cursor or Claude Desktop after editing the config. Ask the AI to list available xcf commands or show open Xcode projects to confirm the 21 MCP tools are accessible.

Xcode Examples

Client configuration (Cursor / Claude Desktop)

Minimal xcf config for Claude Desktop or Cursor with automatic project detection.

{
  "mcpServers": {
    "xcf": {
      "type": "stdio",
      "command": "Applications/xcf.app/Contents/MacOS/xcf",
      "args": ["server"]
    }
  }
}

Prompts to try

Example prompts that use xcf's Xcode automation and Swift analysis tools.

- "Show me the open Xcode projects on this Mac"
- "Build my current Xcode project and tell me about any errors"
- "Run the app and show me the output"
- "Analyze ContentView.swift for issues without building in Xcode"
- "Read the file AppDelegate.swift and explain what it does"
- "List all Swift files in the Sources directory"

Troubleshooting Xcode

xcf.app is blocked by Gatekeeper on first launch

Run 'codesign --force --deep --sign - /Applications/xcf.app' in Terminal, then launch the app again. Alternatively, right-click the app in Finder and choose Open.

AI assistant cannot find the xcf tools after adding the config

Restart Cursor or Claude Desktop fully (not just reload the window) after saving the config file. Check that the path 'Applications/xcf.app/Contents/MacOS/xcf' resolves correctly — if needed, use the absolute path '/Applications/xcf.app/Contents/MacOS/xcf'.

xcf picks the wrong Xcode project automatically

Set the XCODE_PROJECT and XCODE_PROJECT_FOLDER environment variables in your MCP config to pin xcf to the correct .xcodeproj file and project folder.

Frequently Asked Questions about Xcode

What is Xcode?

Xcode is a Model Context Protocol (MCP) server that xcode mcp server xcf is a 100% swift based allowing you to integrate xcode with your favorite ai ide or mcp client It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Xcode?

Follow the installation instructions on the Xcode GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Xcode?

Xcode works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Xcode free to use?

Yes, Xcode is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "xcf": { "command": "npx", "args": ["-y", "xcf"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Xcode?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides