Copilot MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Copilot MCP Serverexplain Python comprehensions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Copilot MCP Server
This (horrible horrible) project provides MCP servers that wrap the copilot CLI so third-party MCP clients can invoke Copilot through tools.
Exposed tools
copilot_prompt: Runscopilot -p "<prompt>"in non-interactive mode.Supports session continuity:
session_id->--session-id <id>resume_session->--resume=<id-or-name>continue_session=true->--continue
Exactly one session mode can be selected per call.
copilot_command: Runs generalcopilot ...commands (interactive/server flags are blocked).
Tool return structured output with:
okcommandexit_code(when executed)stdoutstderr
Related MCP server: GitHub Copilot MCP Server
Requirements
copilotCLI installed and authenticatedPython 3.10+ (for Python server)
Optionally set COPILOT_BIN if copilot is not in PATH.
Python setup
git clone ...
uv init .
uv --directory . run copilot_mcp_server.py Run:
copilot-mcp-serverExample MCP client config
Python server:
{
"mcpServers": {
"copilot-as-mcp": {
"command": "uv",
"args": [
"--directory",
"~/Copilot-as-MCP",
"run",
"copilot_mcp_server.py"
]
}
}
}Session examples
Continue with a known session ID:
copilot_prompt(prompt="Refine the previous answer", session_id="...")
Resume by session/task identifier:
copilot_prompt(prompt="Continue this task", resume_session="...")
Continue most recent session:
copilot_prompt(prompt="Continue", continue_session=true)
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceIntegrates GitHub Copilot with MCP-compatible tools to provide AI-powered code assistance, including chat, code explanation, and reviews. It leverages existing GitHub CLI authentication to support multiple models like GPT-4o and Claude 3.5 Sonnet.4712MIT
- AlicenseNot gradedqualityCmaintenanceIntegrates GitHub Copilot CLI with MCP clients to offer various coding assistance tools including asking questions, explaining code, suggesting commands, debugging, refactoring, generating tests, and reviewing code.218MIT
- AlicenseCqualityDmaintenanceConnects MCP-enabled editors to GitHub Copilot CLI for non-interactive code analysis, batch processing, and code review.10185MIT
- AlicenseAqualityDmaintenanceWraps Anthropic Claude Code CLI as tools, allowing MCP clients to invoke headless Claude Code sessions.264MIT
Related MCP Connectors
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohaiibuzzle/copilot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server