Connect GitHub Copilot's code intelligence to any MCP client — completions, explanations, and review
GitHub Copilot MCP brings GitHub's code AI directly into any MCP-compatible client. Use Copilot's code understanding, generation, and review capabilities from Claude Desktop, Cursor, or any agent framework. Features: - Code completions with full repository context - Natural language to code generation - Code explanation and documentation generation - Security vulnerability detection (Copilot Autofix) - PR review suggestions and quality checks - Test generation with edge cases - Code refactoring with explanation - Multi-file context awareness - Copilot Chat integration This is particularly powerful combined with the GitHub MCP server — one gives you repository access, the other gives you code intelligence. Together they enable autonomous code review, automated PR fixes, and intelligent code search. Requires GitHub Copilot subscription (Individual $10/month, Business $19/seat/month).
from agents import Agent
from agents.mcp import MCPServerStdio
mcp_server = MCPServerStdio(
command="npx",
args=["-y", "@github/copilot-mcp"],
env={
"GITHUB_TOKEN": "ghp_...",
"COPILOT_API_KEY": "your_key",
},
)
agent = Agent(
name="My Agent",
model="gpt-4o",
mcp_servers=[mcp_server],
)If you maintain GitHub Copilot MCP, add this badge to your README to show it's verified on CuratedMCP:
[](https://curatedmcp.com/marketplace/github-copilot-mcp)