Integrations

MCP

Expose the control plane as tools an agent can call: mint a key, read usage, set a cap.

The MCP server wraps the control plane, not the gateway. An agent uses it to *administer*, provision a customer, check what someone spent, tighten a ceiling. Inference still goes through the base URL as normal.

Keep the two apart in your head: MCP is the console as tools; the base URL is the metered path. An agent that does inference over MCP is doing it wrong and will not be metered per end user.

Connect

bash

Tools

ToolWhat it doesWrites?
keys_createMint an ak_ for one end user or agentyes
keys_listEvery key in the org, with actor label and capno
keys_rotateNew secret for an existing key, old one revokedyes
usage_querySpend by key, model or dayno
cap_setChange a key's ceiling and periodyes
credits_grantAdd balance to a walletyes
bundles_listBundles, allowed models and markupno

A session

text

Writing tools are refused unless the sk_ has the scope for them. A read-only key makes the whole server safe to hand to an agent you do not fully trust.