AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

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

All MCP servers →
  1. 1exa exa-labs · Search and webConnect AI agents to Exa for web search, content fetching, and multi-step research.AAAyesterday★ 5.1k100
  2. 2apify-mcp-server apify · E-commerceExtract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡AAAyesterday★ 12k100
  3. 3browser-use browser-use · Browser automationControl a real Chrome browser to complete any task: fill forms, extract data, book flights.AAA3 days ago★ 119k100
  4. 4GitDiagram ahmedkhaleel2004 · DesignArchitecture diagrams, explanations and Mermaid source for public GitHub repositories.AAA6 days ago★ 18k100
  5. 5Jitsu jitsucomManage Jitsu data pipelines: destinations, streams, connections, functions, live events.AAAyesterday★ 5.1k100
  6. 6mockserver mock-server · Developer toolsMock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.AAAyesterday★ 5.0k100
  7. 7XcodeBuildMCP getsentry · Developer toolsXcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.AAA3 days ago★ 6.5k100
  8. 8Oh My Posh Validator JanDeDobbeleerValidate oh-my-posh configurations and segment snippets against the official schema.AAA4 days ago★ 24k100
  9. 9draw.io jgraph · DesignCreate draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.AAAyesterday★ 5.7k100
  10. 10Vexa Vexa-ai · CommunicationMeeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.AAA9 days ago★ 2.9k98
  11. 11World Monitor koala73Real-time global intelligence across conflict, markets, energy, trade, shipping and cyber. 95 tools.ACAyesterday★ 89k98
  12. 12mcp medplumSecurely access and manage FHIR healthcare data stored in Medplum.AAAyesterday★ 2.8k98
  13. 13Omnara omnara-ai · Cloud and DevOpsDeploy durable AI agents with Omnara, an open-source managed-agent platform.AAAyesterday★ 2.9k98
  14. 14mcp-server HeyPuter · Documents and filesPuter MCP enables AI tools to interact with Puter: manage files, websites, workers, and moreACAyesterday★ 44k98
  15. 15openstatus openstatusHQManage monitors, status pages, incidents and maintenances in your openstatus workspace.ACAyesterday★ 9.2k98