Skip to content

One-click pair Xcode MCP / XcodeBuildMCP on iOS projects #488

Closed

Description

@currentbits

What shipped

Apple Xcode 26.3 (Feb 2026, docs): any MCP client can drive Xcode via `xcrun mcpbridge` once "Allow external agents to use Xcode tools" is on. ~20 tools (project, build, test, basic simulator).

XcodeBuildMCP (Sentry): 78+ tools — build, test, UI automation, gestures, console logs. The community default next to Apple's thinner server. Grok 0.2.94 already speaks Xcode/Foundation ACP.

Synara 0.7.2 built a first-party simulator pane. We filed that as #248. The missing half is: the agent can already drive Xcode if MCP is paired. We just never offer the pair.

Solenta today

MCP servers are a Settings list (`mcpServers`). No Xcode detection, no `mcpbridge` helper, no XcodeBuildMCP install hint. #157 is external agents pairing into Solenta. #248 is a visible simulator. #415 is a generic inspector.

An iOS repo in Solenta today is "hope the user pasted an MCP URL."

Why it matters

iOS work is why #248 exists. Apple just made the official path MCP, not a custom HID helper. Pairing Apple's server (or XcodeBuildMCP) is a one-afternoon wedge that makes Claude/Grok/Codex in Solenta able to build-test-launch without us owning a Seatbelt helper. Do that before (or instead of) cloning Synara's live H.264 pane.

Scope

  1. Detect an Xcode project/workspace in the project root (`.xcodeproj`, `.xcworkspace`, `Package.swift` + iOS platforms).
  2. Doctor-style card: Xcode MCP allowed? `mcpbridge` on PATH? XcodeBuildMCP installed?
  3. One button: add the chosen server to this project's MCP list (user or project scope) with the documented stdio command. Do not vendor their binary.
  4. Prefer XcodeBuildMCP when present (more tools); fall back to Apple's `mcpbridge`. Never enable both blindly (duplicate build tools).
  5. Tests: detect fixture; refuse to add twice; no-op on a non-Apple repo.

Out of scope: the live simulator video pane (#248), writing our own xcodebuild wrapper.

Round 24. Related: #248, #157, #415, #305 (install-time scan).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions