Connect with a scoped key
UsePOST /api/v2/metrics/mcp with a service-account API key carrying metrics:read. The same workspace and connection permissions used by the Data API apply. Keep the key in the assistant application’s secure connection settings.
Send JSON-RPC 2.0 requests for initialize, tools/list, or tools/call. Discover the available tool schemas with tools/list before constructing a call.
Choose a read operation
List operations return a bounded set of records. The query and run get tools search the visible recent collection; use the REST API for paginated workflows and operation results.