Setup guide
MCP servers for GitHub Copilot
GitHub Copilot uses MCP servers in three places: agent mode in your editor, the coding agent that works on GitHub, and Copilot CLI. Each has its own setup.
Where GitHub Copilot keeps MCP servers
- Agent mode in VS Code
.vscode/mcp.json (servers key)- Coding agent on GitHub
Repository settings, Copilot, Coding agent, MCP configuration- Copilot CLI
/mcp add inside a session
How to add an MCP server to GitHub Copilot
- In VS Code, add the server to .vscode/mcp.json exactly as in the VS Code guide, then pick its tools in Copilot Chat's agent mode.
- For the coding agent, a repository admin adds the server as JSON in the repository's Copilot settings. Secrets go in the repository's Copilot environment, not in the JSON.
- In Copilot CLI, run /mcp add and answer the prompts, or edit its MCP config file.
.vscode/mcp.json for agent mode
{
"servers": {
"filesystem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/folder"
]
}
}
}.vscode/mcp.json, a remote server
{
"servers": {
"example": {
"type": "http",
"url": "https://mcp.example.com/mcp"
}
}
}Graded MCP servers to start with
The most used servers graded A or B by the safety scan, one per publisher. Each listing has the exact GitHub Copilot setup.
Context7Up-to-date code docs for any promptnot reviewedWidely usedA- PlaywrightPlaywright Tools for MCPnot reviewedWidely usedA
Scrapling MCP ServerWeb scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.not reviewedWidely usedA- Chrome DevTools MCPMCP server for Chrome DevToolsnot reviewedWidely usedB
- RepomixPack local or remote codebases into AI-friendly files that LLMs and coding agents can read or searchnot reviewedWidely usedA
- SeleniumBase MCPStealthy browser automation, testing, and web-scraping via CDP Mode.not reviewedWidely usedA
SupabaseMCP server for interacting with the Supabase platformnot reviewedWidely usedA- Figma ContextGive your coding agent access to your Figma data. Implement designs in any framework in one-shot.not reviewedWidely usedB
- agent-deviceLet AI agents inspect, control, and debug real iOS, Android, desktop, and TV appsnot reviewedWidely usedA
- AIHawkAI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.not reviewedWidely usedA
- ArgentDrive iOS Simulators, Android emulators, TVs and Electron/web apps from your coding agentnot reviewedWidely usedA
- CCXTOfficial CCXT MCP server - Market data and trading across 100+ exchanges and prediction marketsnot reviewedWidely usedA
- agent-deviceMCP server for mobile app automation: verify, control, and debug iOS, Android, TV, and desktop appsnot reviewedWidely usedA
CloudBaseCloudBase MCP: DB, functions, storage, hosting via @cloudbase/cloudbase-mcpnot reviewedWidely usedA- XcodeBuildMCPXcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.not reviewedWidely usedB
Before you connect one
- The coding agent runs tools without asking each time, so give it read-only servers or tokens scoped to that repository.
- Check the server's safety report first: which tools write, whether a remote endpoint needs auth, and what a package runs when it installs. What the scan checks.
Or add one server that reaches all of them
The mcp.market gateway (gw.mcp.market/mcp) lets GitHub Copilot search graded servers and call them through one connection, and refuses F-graded ones. Gateway setup.
Questions people ask
- Does GitHub Copilot support MCP?
- Yes: in agent mode in VS Code and other editors, in the Copilot coding agent on GitHub, and in Copilot CLI.
- How do I add an MCP server to the Copilot coding agent?
- A repository admin adds it as JSON under the repository's Copilot settings, in the coding agent section, with any secrets stored in the Copilot environment.