XCF Xcode MCP Server is an MCP server that integrates macOS and iOS Xcode workflows directly into AI development environments. Built in 100% Swift with zero external dependencies, it connects Xcode with AI code assistants such as Cursor, Claude Desktop, and VS Code. Swift developers and Apple platform engineers use it to control local Xcode project lifecycle tasks programmatically from AI chat sessions. The server exposes twenty-one MCP tools covering project management, file system inspection, and direct code intelligence. It enables AI agents to query open Xcode projects, trigger builds, execute applications, capture real-time compilation errors, and inspect directories. Additionally, it offers standalone Swift code analysis without requiring an active Xcode build, identifying structural complexity, unused symbols, magic numbers, and style issues. Using fuzzy logic and smart path resolution, the server resolves project files using filenames or partial paths across defined workspace directories.
Category: Developer Tools & Code Intelligence
Tags: ide, ios, macos, swift, xcode
/Applications folder, or build it locally from source using Xcode. 2. Open the application once to clear the macOS download alert, then click "Press to Quit this XCF Xcode MCP Server". If it does not show, run codesign --force --deep --sign - /Applications/xcf.app. 3. Add the server entry to your MCP configuration file (such as ~/.cursor/mcp.json or ~/Library/Application Support/Claude/claude_desktop_config.json): json { "mcpServers": { "xcf": { "type": "stdio", "command": "Applications/xcf.app/Contents/MacOS/xcf", "args": ["server"] } } } 4. Restart your MCP client or refresh tools to activate the integration.Part of MCP Servers
XCF Xcode MCP Server is an integration server built in Swift that connects Xcode with AI clients like Cursor and Claude. It provides tools for building projects, reading code, running apps, and running Swift static analysis.
The server works with standard Model Context Protocol clients that support local stdio communication. It is officially documented for Cursor, Claude Desktop, Claude Code, and VS Code on macOS systems running Xcode.
Download the prebuilt application and move it to /Applications, or build the project from source using Xcode. Approve the app once, quit it, and configure the executable path inside your client mcp.json file under the stdio transport setting.
It provides 21 tools covering Xcode automation, directory browsing, file snippet retrieval, and Swift code analysis. Users can compile projects, switch between workspaces, resolve file paths using fuzzy matching, and identify code quality issues without building.
No. The server is built entirely in Swift 6.1 with zero external runtime dependencies. It runs directly as a native macOS executable without requiring JavaScript, TypeScript, Node.js, or Python runtimes.