Browse docs

VS Code (Copilot)

VS Code's Copilot agent mode can use MCP servers. Add Somara over HTTP.

Add via the Command Palette

  1. Open the Command Palette (Ctrl/Cmd + Shift + P).
  2. Run MCP: Add Server.
  3. Select HTTP.
  4. Enter:
    • URL: https://www.somara.ai/mcp
    • Name: somara
  5. Choose Global or Workspace.

Add the Authorization header

Somara requires your API key as a header. In the generated mcp.json, add it:

mcp.json
{
"servers": {
  "somara": {
    "type": "http",
    "url": "https://www.somara.ai/mcp",
    "headers": {
      "Authorization": "Bearer ak_your_key_here"
    }
  }
}
}

Start and verify

  1. Run MCP: List Servers from the Command Palette.
  2. Select somara and start it.
  3. Open Copilot Chat in Agent mode — Somara's tools are now available.

See the full toolset on MCP tools.

Setup UI varies

VS Code's MCP configuration has changed across versions. If the steps differ, consult the VS Code MCP docs — the URL and Authorization: Bearer ak_… header are what matter.