Xcode
Xcode MCP Server xcf is a 100% Swift based allowing you to integrate Xcode with your favorite AI IDE or MCP Client
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
Maintainer
Works with
Installation
Manual Installation
npx xcfConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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.
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.appAdd 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"]
}
}
}(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"
}
}
}
}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.
Xcode Alternatives — Similar Developer Tools Servers
Looking for alternatives to Xcode? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Xcode in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.