Home All clients
AI clientsVS Code with GitHub Copilot

TL;DR

VS Code has native MCP support (no extension needed) as of version 1.93. Configure servers at `.vscode/mcp.json` per project with a `servers` key (note: different from Claude Code's `mcpServers`). GitHub Copilot's agent mode invokes them automatically. Best choice if your team already runs VS Code + Copilot Enterprise.

AI Client

Best MCPs for VS Code with GitHub Copilot

Microsoft's flagship editor with Copilot Chat agent mode and native MCP support

Official siteJSON config

Setup: add an MCP server to VS Code with GitHub Copilot

  1. 1
    Install VS Code 1.93+ (MCP support is built in)
  2. 2
    Install the GitHub Copilot + Copilot Chat extensions from the marketplace
  3. 3
    Create `.vscode/mcp.json` in your project, or open Settings → search for 'mcp' to add to user settings
  4. 4
    Add your MCP servers using the VS Code schema (same shape as other clients, nested under `servers`)
  5. 5
    Open Copilot Chat, switch to Agent mode, and your MCP tools appear in the tool picker
Config file.vscode/mcp.json (per project) or settings.json (global)

Config example

{
  "servers": {
    "github": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_pat}"
      }
    },
    "supabase": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server-supabase@latest"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_ROLE_KEY": "${input:sb_key}"
      }
    }
  },
  "inputs": [
    { "id": "github_pat", "type": "promptString", "description": "GitHub PAT", "password": true },
    { "id": "sb_key", "type": "promptString", "description": "Supabase service role key", "password": true }
  ]
}

Real secrets should never be committed — use environment variables or your editor's secrets manager.

Top 10 MCPs for VS Code with GitHub Copilot

1🐙

GitHub

View MCP

Obvious pairing — Microsoft owns both VS Code and GitHub. Copilot + GitHub MCP is the smoothest combo in the ecosystem.

2🟢

Supabase

View MCP

Most popular data MCP among Copilot users. Works flawlessly with the VS Code MCP stdio transport.

3🐘

Postgres

View MCP

DB introspection and query execution inside the editor. Copilot's inline chat makes DB exploration natural.

4💳

Stripe

View MCP

Billing-aware coding — Copilot reads Stripe state while implementing subscription logic.

5📐

Linear

View MCP

Turn Copilot agent-mode tasks into Linear tickets and close them when the PR merges.

6📝

Notion

View MCP

Pull specs into Copilot's context without copy-paste. Essential for spec-driven dev teams.

7🐛

Sentry

View MCP

Fetch error context into the chat. Copilot then proposes fixes based on the actual trace.

8🐳

Docker

View MCP

Manage containers from the VS Code terminal via Copilot agent mode — inspect, restart, exec.

9▲

Vercel

View MCP

Debug deploys without leaving the editor. Build logs and preview URLs surface in Copilot chat.

10🎭

Playwright

View MCP

Microsoft owns Playwright too — first-class integration. Copilot writes and runs E2E tests as a single flow.

What VS Code with GitHub Copilot does well

  • Native MCP support shipped in VS Code 1.93+ — no extension needed for the protocol itself
  • Per-project `.vscode/mcp.json` for team-shared config (git-friendly)
  • Agent mode (Copilot Chat) picks tools automatically based on the task — no manual @invocation needed
  • Enterprise-grade secrets handling via VS Code's SecretStorage API
  • Huge extension ecosystem — most missing integrations have a VS Code extension that complements MCP

Honest limitations

  • MCP support requires a paid Copilot plan (Business/Enterprise) to use agent mode productively
  • Some community MCPs require configuration tweaks due to VS Code's sandboxing model
  • Still catching up to Claude Code and Cursor on advanced MCP features (prompts, resources, sampling)

Frequently asked questions

What's the best MCP for VS Code?

GitHub MCP — Microsoft owns both, so the integration is seamless. After that: Supabase/Postgres for data, Linear for tickets, Sentry for debugging, Playwright for tests (also Microsoft-owned).

Do I need a Copilot subscription to use MCPs in VS Code?

The MCP protocol is free and built into VS Code. But you need Copilot (Free/Pro/Business/Enterprise) to use agent mode, which is where MCPs become useful. Free tier works but has request limits.

Where is VS Code's MCP config?

Per project: `.vscode/mcp.json`. User-level: in `settings.json` under `mcp.servers`. The schema uses `servers` (not `mcpServers` like Claude Code) and supports `inputs` for prompted secrets.

Can I use the same MCP config across Claude Code and VS Code?

Mostly yes — the inner `command/args/env` shape is identical. Only the outer key differs (`mcpServers` vs `servers`). A quick rename transforms one into the other.

Does Copilot agent mode auto-invoke MCPs?

Yes — that's the main value prop. Ask Copilot 'add a Stripe webhook handler for failed payments' and it'll call the Stripe MCP to check your setup, the GitHub MCP to open a PR, and Linear MCP to log the ticket. One prompt, multiple MCPs.

Other clients

Claude Code

Anthropic's terminal-based AI coding agent with native MCP support

10 MCPs

Cursor

The AI-first code editor — a VS Code fork with deep Claude/GPT integration and MCP support

10 MCPs

Windsurf

Codeium's agentic IDE — a deeply AI-integrated editor with Cascade agent and MCP support

10 MCPs

Install your first MCP on VS Code with GitHub Copilot

Pick from the top 10 curated above, or browse the full marketplace of 100+ MCPs.

Browse MarketplaceMCPs by Role