Skip to content

Instantly share code, notes, and snippets.

@antonmartinsson
Forked from mackoj/xcode-mcpbridge.md
Created February 18, 2026 07:53
Show Gist options
  • Select an option

  • Save antonmartinsson/f1430baab09645315695dec74e6ea80f to your computer and use it in GitHub Desktop.

Select an option

Save antonmartinsson/f1430baab09645315695dec74e6ea80f to your computer and use it in GitHub Desktop.
This documentation explains how to configure Apple’s official Xcode MCP with Copilot.

Edit the file ~/.copilot/mcp-config.json and add Xcode-MCP inside the mcpServers object:

"mcpServers": {
  "Xcode-MCP": {
    "type": "stdio",
    "command": "xcrun",
    "tools": [
      "*"
    ],
    "args": [
      "mcpbridge"
    ]
  }
  // ...
}

Then start Copilot and ask something like: “What can Xcode-MCP do?” You should see an alert in Xcode requesting permission for Copilot to use Xcode MCP.

Approve the request, and you’re all set.

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