Endpoint
X-Client-Key header, Authorization: Bearer bq_pk_..., or ?client_key= query parameter.
Supported methods
initialize, tools/list, tools/call, ping.
Tools
Restricted documents are excluded from MCP retrieval, like all client-key surfaces.
Configure an MCP client
Most MCP clients accept a remote server config like:Call it from the agents SDK
@beforequery/agents wraps the MCP tools with typed methods (the initialize handshake happens lazily):
Raw JSON-RPC example
mcp traces in observability.