Skip to content

VS Code

VS Code has a built-in MCP server gallery, install links and secure input prompts so secrets never land in your repo.

Setup

  1. Click Install in VS Code, or paste the JSON into .vscode/mcp.json.
  2. When the server starts, VS Code asks you to sign in to Linear.
  3. Open Copilot Chat in Agent mode and pick the server's tools from the tools menu.
Terminal
code --add-mcp '{"name":"linear","type":"http","url":"https://mcp.linear.app/mcp"}'
.vscode/mcp.json
{  "servers": {    "linear": {      "type": "http",      "url": "https://mcp.linear.app/mcp"    }  }}

Prefer read-only? Use https://mcp.linear.app/mcp/readonly.

  1. Click Install in VS Code, or paste the JSON into .vscode/mcp.json.
  2. Open Copilot Chat in Agent mode and pick the server's tools from the tools menu.
Terminal
code --add-mcp '{"name":"filesystem","type":"stdio","command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/path/to/allowed/folder"]}'
.vscode/mcp.json
{  "servers": {    "filesystem": {      "type": "stdio",      "command": "npx",      "args": [        "-y",        "@modelcontextprotocol/server-filesystem",        "/path/to/allowed/folder"      ]    }  }}

Replace the path. You can pass several folders, and the server can't access anything outside them.

Good to know

  • Note the top-level key is servers, not mcpServers.
  • Use inputs with "password": true so VS Code prompts for secrets once and stores them securely.
  • Browse and install servers from the Extensions view (MCP: Browse MCP Servers).
  • Newer Copilot builds also read mcpServers from a workspace .mcp.json or ~/.copilot/mcp-config.json.
Config file:.vscode/mcp.jsonCommand Palette → MCP: Open User Configuration

Works with 75 servers

Other apps

Esc
↑↓ navigate↵ open