VS Code MCP servers.
VS Code connects MCP servers to GitHub Copilot. Add a server from the Command Palette, or put it in a .mcp.json file at the root of your workspace.
How to add an MCP server to VS Code
Use the Command Palette
Run MCP: Add Server, choose HTTP for a remote server or Command (stdio) for a local one, and follow the prompts.
Or add a remote server to .mcp.json
Put
.mcp.jsonat your workspace root to share servers with your team, or use~/.copilot/mcp-config.jsonfor every workspace:{ "mcpServers": { "<name>": { "type": "http", "url": "<url>" } } }Or add a local server
Local servers run on your computer from a command:
{ "mcpServers": { "<name>": { "type": "stdio", "command": "npx", "args": [ "-y", "<package>" ], "env": { "API_KEY": "<your-key>" } } } }Check that it connects
Run MCP: List Servers to see each server's status, then ask Copilot something that needs one of the server's tools.
Top MCP servers for VS Code
These are allMCPservers' editor's picks, each ready to add to VS Code. Every snippet uses the address or package its publisher lists. Some publishers accept sign-ins only from certain apps, so if a sign-in fails, check the publisher's guide.
- GitHubby ClaudeClaude desktop appClaude mobile appClaude CodeClaude CodeClaude APIClaude APIGitHubRemote
Explore repositories, review pull requests, and bring your codebase into the conversation.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "github": { "type": "http", "url": "https://api.githubcopilot.com/mcp/", "headers": { "Authorization": "Bearer <your-token>" } } } }Replace the
<your-…>placeholder with your own token from GitHub. Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "apify": { "type": "http", "url": "https://mcp.apify.com/", "headers": { "Authorization": "Bearer <your-token>" } } } }Replace the
<your-…>placeholder with your own token from Apify.Bring your designs into your coding workflow. Turn design context into better implementation.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "figma": { "type": "http", "url": "https://mcp.figma.com/mcp" } } }Manage your projects, debug deployments, and check analytics for any MCP server you host with Alpic.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "alpic": { "type": "http", "url": "https://mcp.alpic.ai" } } }Connect your team's projects, issues, and priorities to the way you work with AI.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "linear": { "type": "http", "url": "https://mcp.linear.app/mcp" } } }Build and manage applications with Cloudflare's compute, storage, and developer tools.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "cloudflare-developer-platform": { "type": "http", "url": "https://bindings.mcp.cloudflare.com/mcp" } } }Give your agent the context of your workspace, from meeting notes to project documentation.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "notion": { "type": "http", "url": "https://mcp.notion.com/mcp" } } }Create, deploy, manage, and secure websites on Netlify.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "netlify": { "type": "http", "url": "https://mcp.netlify.com/mcp" } } }Connect to your Supabase projects and work with the data behind your application.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "supabase": { "type": "http", "url": "https://mcp.supabase.com/mcp" } } }Bring error context into your workflow and get closer to the cause of production issues.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "sentry": { "type": "http", "url": "https://mcp.sentry.dev/mcp" } } }Find the conversations and shared knowledge that keep your team moving together.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "slack": { "type": "http", "url": "https://mcp.slack.com/mcp" } } }Connect your payment and business workflows with the context of your Stripe account.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "stripe": { "type": "http", "url": "https://mcp.stripe.com" } } }Search the web for useful sources and bring fresh context into your research.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "exa": { "type": "http", "url": "https://mcp.exa.ai/mcp" } } }Bring creative work and visual content into your everyday AI workflow.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "canva": { "type": "http", "url": "https://mcp.canva.com/mcp" } } }Up-to-date library documentation and code examples, right inside your coding workflow.
Add this to .mcp.json at the root of your workspace:
{ "mcpServers": { "context7": { "type": "http", "url": "https://mcp.context7.com/mcp", "headers": { "Authorization": "Bearer <your-token>" } } } }Replace the
<your-…>placeholder with your own token from Context7.
Browse every MCP server in the directory →
Fixing common problems
- A guide shows .vscode/mcp.json
- Older setups use
.vscode/mcp.jsonwith a top-levelserverskey. Current VS Code documentation uses themcpServersformat above. - A server needs a sign-in
- VS Code opens a browser window the first time it connects.
- MCP is switched off at work
- Your organization can turn MCP off with the
chat.mcp.accesssetting. Ask your admin. - You don't want keys in the file
- Write
${NAME}in place of a key and VS Code reads it from your environment.
Before you connect a server
An MCP server can read and change whatever the account you connect can. Use servers from publishers you trust, give each one the narrowest access that works, and read what a tool is about to do before you approve it. A listing here shows where a server comes from. It isn't a security audit.
For every option, see VS Code's MCP documentation.
Set up MCP servers in other apps
- Claude Code: Add servers from your terminal with claude mcp add.
- Cursor: Add servers to an mcp.json file, for one project or all.
- Codex: Add servers with codex mcp add, kept in config.toml.
- Claude Desktop: Add remote servers as custom connectors, and local ones in a config file.
- ChatGPT: Add remote servers as custom plugins on chatgpt.com.
New to MCP? Start with What is an MCP server?