Docs
MCP clients

Zed

context_servers with url — not mcpServers

Zed calls MCP servers context servers. Settings → AI → MCP Servers, or settings.json:

{
  "context_servers": {
    "servicebay": {
      "url": "https://oauth.servicebay.io/mcp"
    }
  }
}

No type field. Omitting Authorization starts Zed's OAuth flow (CIMD, then DCR, PKCE, keychain storage).

Static key (values are sent literally — Zed does not expand ${VAR} in remote headers):

{
  "context_servers": {
    "servicebay": {
      "url": "https://oauth.servicebay.io/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}

Compatibility matrix · Troubleshooting