client setup · updated August 2026
Add MCP servers to VS Code
VS Code reads MCP servers from your workspace, making them part of the project: commit the file and every teammate gets the same tools in Copilot Chat.
The config VS Code expects
Lives in: .vscode/mcp.json in your workspace
One entry per server, under the top-level servers key:
{
"servers": {
"your-server": {
"command": "npx",
"args": [
"-y",
"the-server-package"
]
}
}
} Swap the placeholder for a real server: every server page on this site renders the exact block, ready to paste.
Official setup guide: VS Code documentation ↗
Five proven servers to start with
The highest-ranked servers we track; each page carries the paste-ready config.
Prefer running nothing locally? Start from a hosted endpoint instead: the best remote MCP servers.
Quick answers
Where does VS Code keep its MCP configuration?
In .vscode/mcp.json in your workspace. The official documentation covers edge cases and the newest options.
Do all MCP servers work with VS Code?
Any server speaking standard MCP transports should work: local servers run as a process your client starts, remote servers are a URL you point it at. Each server page on this site shows its exact config, and states when a server needs credentials first.
About this page
Client mechanics come from each client's public documentation, linked above; anything we are not certain of defers to those docs rather than guessing. Server rankings are ours: monthly installs, GitHub stars, and commit recency, recomputed nightly. How we verify.