Connect Windsurf 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.

Windsurf Cascade connects to remote MCP servers through its MCP config file. Enterprise users may need to turn MCP on in settings first.

Server details

https://app.performancehub.co/mcp

Open the config file

In Cascade's MCP menu, choose Open MCP config file and edit the file it opens. Cognition documents the Cortex-managed path as:

  • macOS / Linux: ~/.config/devin/mcp_config.json (or $XDG_CONFIG_HOME/devin/mcp_config.json)
  • Windows: %AppData%/devin/mcp_config.json

Always prefer the file that action opens for your build.

You can also go to Settings → Tools → Windsurf Settings → Add Server.

Add Performance Hub

{
  "mcpServers": {
    "performance-hub": {
      "serverUrl": "https://app.performancehub.co/mcp",
      "headers": {
        "Authorization": "Bearer ${env:PH_MCP_API_KEY}"
      }
    }
  }
}
export PH_MCP_API_KEY='<YOUR_TOKEN>'

Cascade also accepts url in place of serverUrl. Environment interpolation works in serverUrl, url and headers with ${env:NAME}.

Alternative header:

"headers": {
  "x-mcp-api-key": "${env:PH_MCP_API_KEY}"
}

OAuth option

For OAuth, add the entry with only serverUrl / url and no auth headers, press refresh, and complete the browser sign-in when Windsurf starts it. OAuth applies to Streamable HTTP and SSE remote servers, not to stdio servers.

Refresh

After saving, press the refresh control in Cascade's MCP panel so the server and its tools appear.

Verify

Confirm Performance Hub is listed without an error, then ask Cascade to list tools or run a read-only Performance Hub request.

Sources