ndrblinov/xcode-mcp-manager
A Claude Code MCP server that keeps Claude Code connected to Xcode at all times. It automatically detects when Xcode is running, spawns Apple's xcrun mcpbridge, and dismisses the Xcode permission dialog - so Claude Code gains full access to your Xcode project without any manual steps.
Platform-specific configuration:
{
"mcpServers": {
"xcode-mcp-manager": {
"command": "npx",
"args": [
"-y",
"xcode-mcp-manager"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Version 0.0.1 | MIT License | Andrei Blinov
A Claude Code MCP server that keeps Claude Code connected to Xcode at all times. It automatically detects when Xcode is running, spawns Apple's xcrun mcpbridge, and dismisses the Xcode permission dialog - so Claude Code gains full access to your Xcode project without any manual steps.
OVERVIEW
The official Xcode MCP server (xcrun mcpbridge, shipped with Xcode 26.3) requires Xcode to be running before you start Claude Code. If you launch Claude Code first, open a new project later, or switch projects mid-session, the MCP connection is simply not there.
This manager fixes the ordering problem and the permission dialog problem in one shot.
It runs as a persistent MCP server alongside Claude Code. A background loop polls for Xcode every two seconds. The moment Xcode appears - before or after Claude Code starts, any project, any time - the manager spawns xcrun mcpbridge, performs the initialize handshake, and starts accepting tool calls. If Xcode closes and reopens, it reconnects automatically. No restart of Claude Code is needed.
The permission dialog Xcode shows on every new MCP connection is auto-dismissed via AppleScript. Without that, a human has to click Allow before any tool call can proceed, which makes unattended agentic tasks impossible.
Tested on Xcode Version 26.3 (17C529) and Claude Code Version 2.1.79.
REQUIREMENTS
macOS only. xcrun mcpbridge does not exist on other platforms.
Xcode 26.3 or later. Xcode 26.3 is the first version that ships xcrun mcpbridge. Install it via the Apple Developer Program if your App Store Xcode is on an earlier release. Earlier Xcode versions will not work.
Xcode Tools enabled. In Xcode, choose Xcode > Settings and select Intelligence in the sidebar. Under Model Context Protocol, toggle Xcode Tools on. Without this, xcrun mcpbridge will not accept connections from external agents.
Node.js 22 or later.
System Eve
Loading reviews...