MCP servers for VS Code

How to add an MCP server

  • Add servers to .vscode/mcp.json, under servers. Each server has a type: stdio, http or sse.
  • For http, VS Code tries streamable HTTP first and falls back to SSE.
  • Declare secrets in inputs with password: true and use them as ${input:id}.