VS Code

Official docs:

Config Files

Workspace scope:

  • .vscode/mcp.json

User scope:

  • run MCP: Open User Configuration from the Command Palette to open the user profile mcp.json

VS Code uses servers instead of mcpServers.

Example Config

{
  "servers": {
    "ytText": {
      "type": "stdio",
      "command": "yt-text"
    }
  }
}

If yt-text is not on PATH, replace "yt-text" with an absolute path.

Verify

Use the Command Palette:

  • MCP: List Servers
  • MCP: Open Workspace Folder MCP Configuration

After the server is listed, ask Copilot Chat or an agent to call get_metadata.

Notes

  • VS Code can also add servers through MCP: Add Server, but a checked-in .vscode/mcp.json is the most explicit setup for this repo.
  • VS Code supports optional inputs, env, and envFile fields if you later add MCP servers that need secrets. yt-text does not need those for the base install.
  • Sandboxing is available for local stdio servers on macOS and Linux if you want tighter isolation.