An MCP server and CLI that gives AI coding agents tools to build, test and run iOS and macOS Xcode projects.
github/CopilotForXcode
GitHub Copilot integration for Xcode that adds code completion, chat, agent mode and code review for Swift and Objective-C projects.
Open-source alternative to:Xcode Intelligence
- Stars
- 6,348
- Forks
- 2,064
- Open issues
- 258
- Last commit
- 2 days ago
What is it?
GitHub Copilot for Xcode brings GitHub Copilot into Apple's Xcode IDE for Swift, Objective-C, iOS and macOS development. It runs as a macOS app with an Xcode Source Editor Extension, offering inline code completions triggered by typing or by natural language comments, plus a chat panel for asking questions about code.
Agent Mode lets Copilot edit files directly, run terminal commands and view their output, search the codebase, and create new files and directories. It can also run Model Context Protocol (MCP) tools that the user configures. The project additionally lists Next Edit Suggestions, Code Review and Copilot Vision among its features.
Installation requires macOS 13 or later, Xcode 14 or later and a GitHub account. The app can be installed via Homebrew cask or from a DMG release, and it requires Accessibility, background item and Xcode extension permissions to function.
Key features
- 01Inline code completions triggered by typing or natural language comments
- 02Chat panel for asking questions about code in Xcode
- 03Agent Mode that edits files, runs terminal commands and creates new files
- 04Support for Model Context Protocol (MCP) tools
- 05Next Edit Suggestions and Code Review
Use cases
- Writing Swift or Objective-C code in Xcode with AI-generated completions
- Asking Copilot to explain or refactor code inside the Xcode editor
- Delegating multi-file feature work or bug fixes to Agent Mode
Quick start
- 1
Install via Homebrew
brew install --cask github-copilot-for-xcode - 2
Open the app from Applications and accept the security warning
- 3
Grant Accessibility and enable the Xcode Source Editor Extension permission, then sign in to GitHub Copilot
- 4
Open Xcode and verify the GitHub Copilot menu under Editor
Things to know
- Requires macOS 13+ and Xcode 14+, so it works only on Apple platforms.
- Needs a GitHub account with Copilot access.
- Requires several manual macOS permissions (Background, Accessibility, Xcode Source Editor Extension).
Topics
FAQ
- What is CopilotForXcode?
- GitHub Copilot integration for Xcode that adds code completion, chat, agent mode and code review for Swift and Objective-C projects. GitHub Copilot for Xcode brings GitHub Copilot into Apple's Xcode IDE for Swift, Objective-C, iOS and macOS development. It runs as a macOS app with an Xcode Source Editor Extension, offering inline code completions triggered by typing or by natural language comments, plus a chat panel for asking questions about code.
- Is CopilotForXcode free to use? What license does it have?
- CopilotForXcode is open source under the MIT license. Check the license terms before using it in commercial products.
- Is CopilotForXcode still maintained?
- Actively maintained. The last commit to CopilotForXcode was on Oct 19, 2026.
- What can I use CopilotForXcode for?
- Writing Swift or Objective-C code in Xcode with AI-generated completions Asking Copilot to explain or refactor code inside the Xcode editor Delegating multi-file feature work or bug fixes to Agent Mode
- How do I install CopilotForXcode?
- Install via Homebrew: brew install --cask github-copilot-for-xcode Open the app from Applications and accept the security warning Grant Accessibility and enable the Xcode Source Editor Extension permission, then sign in to GitHub Copilot Open Xcode and verify the GitHub Copilot menu under Editor
- Where can I get CopilotForXcode?
- The source code and installation instructions are on GitHub: https://github.com/github/CopilotForXcode
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A macOS and iOS document chat app that lets you upload files and ask questions, with all AI processing done on-device via Apple Foundation Models.
Elegant HTTP networking library for Swift, built on URLSession, with chainable requests, encoding, uploads, downloads and response validation.
A decentralized chat app that works over Bluetooth mesh offline and over Nostr relays online, with no accounts or phone numbers.
A native macOS code editor built with Swift, offering syntax highlighting, completion, git integration, debugging and extensions.
Open source macOS dictation app that turns speech into text with on-device models and optional AI cleanup, a local alternative to Wispr Flow.