DISCOVER THE FUTURE OF AI AGENTSarrow_forward

xcode-copilot-server

calendar_todayAdded Apr 25, 2026
categoryAgent & Tooling
codeOpen Source
TypeScriptNode.jsModel Context ProtocolAI AgentsSDKCLIAgent & ToolingModel & Inference FrameworkDeveloper Tools & CodingProtocol, API & Integration

A proxy API server built on the official GitHub Copilot SDK that enables using GitHub Copilot in Xcode as a custom model provider or as the backend for Claude Agent and Codex Agent.

xcode-copilot-server is a local proxy server running on macOS that addresses Xcode 26's lack of native support for GitHub Copilot as a third-party LLM provider. Built on the official GitHub Copilot SDK (via copilot-sdk-proxy), it avoids the account ban risks associated with reverse-engineered private API approaches.

The project simultaneously exposes OpenAI-compatible, Anthropic-compatible, and OpenAI Responses-compatible API endpoints, enabling Xcode to consume Copilot models in three ways: as a custom model provider, as a Claude Agent backend, and as a Codex Agent backend. In Claude and Codex modes, a built-in Tool Bridge intercepts agent tool calls and routes them back to the Xcode IDE for execution, enabling IDE-driven rather than CLI-driven operation flows. In OpenAI mode, it connects to Xcode's built-in MCP tools via xcrun mcpbridge to retrieve build logs and project index context.

Operational features include an auto-patch mechanism that modifies Claude/Codex configurations automatically, a Launchd Agent supporting macOS socket activation (on-demand start, idle auto-shutdown), a security design binding only to 127.0.0.1, and access control based on User-Agent verification and permission tiering (read/mcp auto-approved, write/shell/url auto-denied). The project also supports the Agent Skills open standard, compatible with .github/skills/, .claude/skills/, and .codex/skills/ paths.

Requirements include Node.js 22+, Xcode 26+ (MCP features require 26.3+), and a GitHub Copilot subscription. Installation is a single npm global install followed by a one-command launch. Supports auto mode registering all three providers simultaneously, or single-provider mode via --proxy (openai/claude/codex). Configuration uses JSON5 format with options for tool bridge toggles, MCP servers, CLI tool allowlists, reasoning effort levels (low/medium/high/xhigh), auto-approve permissions, and more.

Unconfirmed: Whether Xcode 26 has been officially released (README license reads © 2026, suggesting a future version); implementation details and stability of the copilot-sdk-proxy core dependency; streaming support; multi-session concurrency capabilities.

Related Projects

View All arrow_forward

STAY UPDATED

Get the latest AI tools and trends delivered straight to your inbox. No spam, just intelligence.

rocket_launch