MCP Servers
Model Context Protocol (MCP) is an open standard for connecting AI models to external data sources and tools. Instead of every AI tool reinventing integrations, MCP provides a single protocol that any client — Copilot, Cursor, Cline, Claude Code — can use to talk to any server: a database, the GitHub API, your file system, a browser.
What Is MCP?
Introduced by Anthropic in November 2024 and quickly adopted across the ecosystem, MCP standardizes how AI models access context and invoke tools.
Architecture:
- Host — the AI client (e.g., VS Code with Copilot, Cursor, Claude Desktop). It manages connections to servers and exposes their capabilities to the model.
- Server — a local or remote process that exposes data or functions. You run one server per integration.
- Client — the connection layer inside the host that handles the protocol.
A server can provide three things:
| Type | Description |
|---|---|
| Resources | Structured data the model can read — file contents, database records, API responses |
| Tools | Callable functions the model can invoke — run a SQL query, create a GitHub issue, fetch a URL |
| Prompts | Reusable prompt templates the host surfaces to the user |
Key Reference Servers
Anthropic and the community maintain a curated set of reference servers in the modelcontextprotocol/servers repository. The most useful ones for web development teams:
| Server | What it does |
|---|---|
filesystem | Read and write local files within a specified directory |
github | Browse repos, read and create issues and PRs, search code |
postgres | Run read-only SQL queries against a PostgreSQL database |
sqlite | Same for SQLite databases |
fetch | Make HTTP requests to any URL — useful for reading docs or live APIs |
brave-search | Web search via Brave's API |
memory | Persistent key-value memory across sessions |
puppeteer | Browser automation — navigate, screenshot, scrape |
playwright | Browser automation with better cross-browser support |
chrome-devtools | Connect to a running Chrome instance for inspection and automation via DevTools Protocol |
figma | Read Figma files and components — useful for design-to-code workflows |
The github + fetch + filesystem trio covers the majority of useful AI-assisted developer workflows without requiring any external service accounts beyond a GitHub token.
When an AI agent has access to git or the github MCP server, it can commit, push, create PRs, and — if given write permissions — overwrite or delete branches. Always review exactly what repository permissions you have granted and ensure the agent operates with the principle of least privilege. Never give an agent push access to a main or protected branch.
For a broader catalog, see mcp.so and Smithery — community registries of published MCP servers.
Setting Up MCP in VS Code (Copilot)
Requires GitHub Copilot with agent mode enabled.
Configure servers in .vscode/mcp.json at the workspace root. Commit this file so the whole team shares the same server configuration. Put secret values like tokens in your shell environment (not in the file).
{
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "${workspaceFolder}"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "${env:GITHUB_TOKEN}"
}
}
}
}
Never commit real tokens or secrets to .vscode/mcp.json. Use ${env:VARIABLE_NAME} to reference values from your shell environment, or add secret values to a .env file that is gitignored.
To activate: open Copilot Chat, switch to Agent mode (the dropdown in the chat input), and the configured servers are available as tools automatically.
Reference: VS Code MCP documentation
Setting Up MCP in Cursor
Configure servers in Cursor Settings → MCP tab, or via a mcp.json file in the project root. The JSON schema is the same as the VS Code format.
{
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "${env:GITHUB_TOKEN}"
}
}
}
}
Once configured, MCP tools appear in the @ mention menu in Cursor Chat and Composer.
Reference: Cursor MCP documentation
Resources
- MCP official specification — the spec and introduction from Anthropic
- MCP reference servers — the official repository; the README lists all available servers
- VS Code MCP docs
- Cursor MCP docs
- Burke Holland's YouTube channel — covers MCP setup in VS Code and Copilot as a Microsoft Developer Advocate; browse for MCP-specific videos
- VS Code YouTube channel — search "MCP" for setup walkthroughs and demos