EveryMCP
GitHub Copilot · VS Code · MCP Guide

Best MCP Servers for GitHub Copilot & VS Code in 2026

GitHub Copilot added MCP support in 2025, and VS Code followed shortly after. Now your coding assistant can reach outside the editor and pull in live data from databases, APIs, search engines, and your own infrastructure — without leaving VS Code.

Published March 22, 2026 · 9 min read

The Model Context Protocol turns GitHub Copilot from a code completion engine into a full AI agent. With the right MCP servers installed, Copilot can query your production database, search the web, read your Notion docs, inspect your Kubernetes cluster, and commit changes to GitHub — all from a single chat session in VS Code.

This guide covers the best MCP servers to connect to GitHub Copilot and VS Code, organized by use case. All servers listed here work with the VS Code MCP extension and GitHub Copilot's agent mode.

How to Set Up MCP in VS Code

In VS Code's Copilot harness, add this entry to the top-level mcpServers object in ~/.copilot/mcp-config.json (or under $COPILOT_HOME). Set BRAVE_API_KEY in the environment of the host running Copilot.

{
  "mcpServers": {
    "brave-search": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"],
      "env": { "BRAVE_API_KEY": "${BRAVE_API_KEY}" }
    }
  }
}

Check server and tool availability in your session. The editor-managed .vscode/mcp.json uses servers and different environment references. See the VS Code MCP configuration reference.

Database MCP Servers

The most common use case: give Copilot read access to your database so it can write queries, explain schemas, and debug data issues with actual table context.

PostgreSQL MCP Server

@modelcontextprotocol/server-postgres

Official

Anthropic's official Postgres server. Exposes read-only tools for listing schemas, describing tables, running SELECT queries, and explaining query plans. Safe for production connections — write operations are blocked by default.

PostgreSQLSupabaseNeonRDS

SQLite MCP Server

@modelcontextprotocol/server-sqlite

Official

The zero-setup database server. Point it at a local .db file and Copilot can query it directly. Ideal for local development databases, test fixtures, or any SQLite-backed application.

MySQL MCP Server

mysql-mcp-server

Community-built MySQL server with schema introspection and query execution. Supports MySQL 5.7+ and MariaDB. Good for legacy stacks still running MySQL.

Web Search MCP Servers

Let Copilot look things up in real time — documentation, Stack Overflow answers, library changelogs, CVEs. Dramatically reduces hallucination on version-specific questions.

Brave Search MCP

@brave/brave-search-mcp-server

Official

Search the web through Brave's API using its publisher-maintained MCP server. See Brave’s setup guide and the current Brave Search API plans.

Fetch MCP

@modelcontextprotocol/server-fetch

Simple URL fetching — pulls the content of any URL and returns it as text. Useful for reading documentation pages, API references, or changelogs that aren't in your training data. Pairs well with search.

Developer Toolchain MCP Servers

Connect Copilot to the rest of your dev stack — issue trackers, CI pipelines, error monitoring, and cloud infrastructure.

GitHub MCP Server

@modelcontextprotocol/server-github

Official

Maintained by GitHub. Lets Copilot search repos, read files across branches, create issues, open pull requests, and check CI status — without leaving the chat interface. Particularly powerful for cross-repo navigation.

Linear MCP Server

linear-mcp

Pull Linear issues, sprint cycles, and project status into Copilot context. Great for implementation sessions — Copilot can read the actual ticket requirements rather than relying on your summary.

Sentry MCP Server

sentry-mcp

Fetch live error events, stack traces, and issue metadata from Sentry. When debugging, Copilot can read the actual error data — not just your description of it. Dramatically speeds up bug investigation sessions.

File System MCP Servers

Filesystem MCP Server

@modelcontextprotocol/server-filesystem

Official

Sandboxed read/write access to a local directory tree. While VS Code + Copilot already has some file awareness through the editor, the Filesystem MCP server gives more explicit, structured access — useful for large codebases where navigation context matters.

⚠️ Security note: Always scope the allowed path to your project directory, not your home folder. The server will only access files within the configured root.

Infrastructure MCP Servers

Cloudflare MCP Server

@cloudflare/mcp-server-cloudflare

Official

Built and maintained by Cloudflare. Covers Workers scripts, KV namespaces, R2 buckets, D1 databases, and Analytics. If you deploy on Cloudflare, this server turns Copilot into a first-class Cloudflare admin interface.

Docker MCP Server

docker-mcp

List containers, inspect images, view logs, and run exec commands in running containers. Useful for debugging local environments and asking Copilot to diagnose container issues using real runtime data.

Recommended Starter Stack

For most developers, this combination covers 90% of use cases:

  1. 1
    Brave Search MCP— Web lookups when the project needs current sources.
  2. 2
    GitHub MCP— Cross-repo navigation and PR management.
  3. 3
    PostgreSQL or SQLite MCP— Database context for your specific stack.
  4. 4
    Fetch MCP— Pull docs and APIs on demand.
  5. 5
    Sentry MCP (if you use it)— Real error data speeds up debugging 10x.

Browse the Full MCP Directory

600+ verified MCP servers indexed by category, language, and use case. Find the right server in seconds.

Explore All MCP Servers →

Related Guides