Microsoft · Local and remote MCP servers in Copilot agent mode
How to add MCP servers to VS Code
In VS Code, add MCP servers to .vscode/mcp.json under a servers key (not mcpServers), or run "MCP: Add Server" from the Command Palette. They are used by GitHub Copilot in agent mode.
Add a server
Run MCP: Add Server from the Command Palette, or create .vscode/mcp.json in your project:
{
"servers": {
"my-server": {
"command": "npx",
"args": ["-y", "some-mcp-package"]
}
}
}
Note the key: VS Code uses servers, while Claude Desktop and Cursor use mcpServers. Copying a block from another client without renaming it is the most common reason a server does not load.
Use it
Open Copilot Chat, switch to agent mode and open the tools picker to see the server's tools.
Official documentation
VS Code changes often. If a step here no longer matches, the official docs win.
Popular MCP servers for VS Code
- 1exa exa-labs · Search and webConnect AI agents to Exa for web search, content fetching, and multi-step research.100
- 2apify-mcp-server apify · E-commerceExtract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡100
- 3browser-use browser-use · Browser automationControl a real Chrome browser to complete any task: fill forms, extract data, book flights.100
- 4GitDiagram ahmedkhaleel2004 · DesignArchitecture diagrams, explanations and Mermaid source for public GitHub repositories.100
- 5Jitsu jitsucomManage Jitsu data pipelines: destinations, streams, connections, functions, live events.100
- 6mockserver mock-server · Developer toolsMock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.100
- 7XcodeBuildMCP getsentry · Developer toolsXcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.100
- 8Oh My Posh Validator JanDeDobbeleerValidate oh-my-posh configurations and segment snippets against the official schema.100
- 9draw.io jgraph · DesignCreate draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.100
- 10Vexa Vexa-ai · CommunicationMeeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.98
- 11World Monitor koala73Real-time global intelligence across conflict, markets, energy, trade, shipping and cyber. 95 tools.98
- 12mcp medplumSecurely access and manage FHIR healthcare data stored in Medplum.98
- 13Omnara omnara-ai · Cloud and DevOpsDeploy durable AI agents with Omnara, an open-source managed-agent platform.98
- 14mcp-server HeyPuter · Documents and filesPuter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more98
- 15openstatus openstatusHQManage monitors, status pages, incidents and maintenances in your openstatus workspace.98