Skip to content

XCF MCP Server to Automate Xcode

Latest

Choose a tag to compare

@SuperBox64 SuperBox64 released this 27 Aug 16:26
· 3 commits to main since this release

Supports Claude Code and Cursor.

Full Changelog: 1.0.3...1.0.5

XCF Installation & Configuration

Visit our website: https://xcf.ai

Installation Steps

  1. Download the XCF application.
  2. Launch the application to approve the internet download.
Screenshot 2025-05-11 at 9 15 35 PM
  1. You will see the following alert (this is expected):
XCF Alert
  1. Click the "Press to Quit this XCF Xcode MCP Server" button.
  2. Once the xcp app can be launched, drag it to your /Applications folder.

Building from Source

XCF can also be built from source using Xcode. The codebase is written in 100% Swift and compiles easily with standard Xcode tools.

MCP Configuration

Add XCF to your MCP configuration file using the following settings:

Basic Configuration

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

Configuration File Locations

Application Path
Cursor ~/.cursor/mcp.json
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json

Important: After updating the configuration, restart your AI assistant or refresh the tool.

Advanced Configuration

For users requiring additional control or non-Cursor clients, you can add environment variables:

{
    "mcpServers": {
        "xcf": {
            "command": "Applications/xcf.app/Contents/MacOS/xcf",
            "args": ["server"],
            "env": {
                "XCODE_PROJECT_FOLDER_optional": "/path/to/project/",
                "XCODE_PROJECT_optional": "/path/to/project/project.xcodeproj"
            }
        }
    }
}