Skip to main content

Connecting a client

The Enterspeed Query MCP Server speaks plain MCP Streamable HTTP, so any MCP-capable client can use it. This page covers the four most common integrations; the pattern (MCP URL + x-api-key header) is identical for every other MCP client — see Other MCP clients at the bottom.

Prerequisites are the same in every case:

  • A scoped environment client key (Query API + MCP Server at minimum). See the Overview.
  • The production endpoint https://mcp.query.enterspeed.com.

Pick your client

VS Code's GitHub Copilot reads MCP servers from an mcp.json file. For a single workspace, put the config at .vscode/mcp.json; for every workspace, use the MCP: Open User Configuration command from the command palette.

{
"servers": {
"enterspeed": {
"type": "sse",
"url": "https://mcp.query.enterspeed.com/",
"headers": {
"x-api-key": "environment-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
}

Reload the window (Developer: Reload Window from the command palette) and open the Copilot chat pane. The Enterspeed tools appear in the tool picker once Copilot connects.

tip

Never commit .vscode/mcp.json with a real key. Use ${input:enterspeed-key} with a matching inputs entry so VS Code prompts for the key on first use, or put the config in your user profile instead of the workspace.

Other MCP clients

The four clients above are the ones we test against regularly, but the MCP server is client-agnostic. Any MCP-capable client follows the same pattern — point it at https://mcp.query.enterspeed.com/ with SSE transport and set an x-api-key header. Some known-good examples:

  • Cursor.cursor/mcp.json with the same servers schema as VS Code.
  • Windsurf — settings → Cascade → MCP Servers, using the SSE + header form.
  • Continue~/.continue/config.json under experimental.modelContextProtocolServers.
  • Zed — settings under "context_servers" with type: "sse".

If your client does not support custom headers, pass the key as an ?apiKey= query-string parameter on the MCP URL instead. Avoid that in production — the key ends up in request logs.

Troubleshooting

SymptomLikely causeFix
Client responds "I don't have any tools"MCP server entry missing, or the URL is wrongConfirm the config was reloaded by the client; hit /health on the MCP endpoint.
Every tool call returns "forbidden"x-api-key forwarded correctly but scope missingAdd Query API to the environment client.
mcp add / config reload fails with "failed to establish connection"Local proxy, VPN, or corporate firewall stripping SSE headersBypass the proxy (NO_PROXY=mcp.query.enterspeed.com) or try a different network.
Tools list is empty after reloadClient caches tool lists per sessionFully quit and relaunch the client (on macOS, Cmd-Q in Claude Desktop; Developer: Reload Window in VS Code).
401 on every requestWrong key type — Management API token instead of environment-client keyCreate an environment client key, not a Management API token.

Next steps