Connect Zed to Performance Hub

On this page

Instructions current as of 26 November 2026 (AEST). Vendor MCP support changes frequently - verify against the linked sources if something looks different.

Zed calls MCP servers context servers. Remote servers use a url (and optional headers) under context_servers in settings.

Server details

https://app.performancehub.co/mcp

Add from the UI

  1. Open Settings → AI → MCP Servers (or run agent: open settings, then MCP Servers).
  2. Choose Add Server, then Add Remote Server.
  3. Enter the Performance Hub URL and, for an MCP API key, an Authorization header.

settings.json

Open the settings file with zed: open settings file. Zed writes custom servers into context_servers:

{
  "context_servers": {
    "performance-hub": {
      "url": "https://app.performancehub.co/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

Alternative header:

"headers": {
  "x-mcp-api-key": "<YOUR_TOKEN>"
}

Zed's documented remote examples place the token in headers. Keep this out of any settings file you commit.

OAuth option

If you omit the Authorization header, Zed prompts for the standard MCP OAuth flow. Use that when you are not supplying a static MCP key.

Verify

In Settings → AI → MCP Servers, the indicator next to Performance Hub should be green with tooltip Server is active. Then ask the Agent Panel to list tools or run a read-only Performance Hub request.

Sources