MCP authentication
How the Intents MCP server authenticates: public tools with no key, API keys (ik_test_, ik_live_), OAuth 2.1 for hosted clients, and test vs live mode.
| You send | You get |
|---|---|
| Nothing | Every public tool: get_started, whoami, docs, chains, assets, protocols, Route quotes, route health, Swap quotes, swaps and swap status |
Authorization: Bearer ik_test_… |
Everything, in test mode: invoices and payment links are sandbox requests and no money moves |
Authorization: Bearer ik_live_… |
Everything, in live mode: see Test and live mode |
| OAuth sign-in | The scopes you approve, in the mode you choose, for clients that cannot send a header (claude.ai, Claude Desktop, ChatGPT) |
initialize and tools/list never need credentials, so every tool is listed; an account tool
called without them is refused with how to connect. The key is checked exactly as the REST API
checks it, and every call it makes counts against that key’s rate limit. A key that is present but
wrong gets 401 before anything runs; a publishable (pk_) key cannot reach the Checkout tools.
Use a secret key you can revoke on its own: create one named for the agent in the dashboard.
whoami shows what a connection can do.
The server follows the MCP authorization spec, so a client that supports it signs in by itself:
- Every anonymous response,
initializeandtools/listincluded, carriesWWW-Authenticate: Bearer resource_metadata="…/.well-known/oauth-protected-resource…", so a client knows it can sign in while the public tools keep working without it. An account tool called without credentials answers401with the same header and the scope it needs. - The client reads that metadata and the authorization server’s
(
/.well-known/oauth-authorization-server), registers itself (dynamic client registration; public clients with PKCES256only) and opens/oauth/authorize. - You sign in to dashboard.intents.fi, choose the account and test or live mode, and allow the scopes. Live is offered only once the account can go live.
- The client gets an access token (1 hour) and a refresh token (30 days, rotated on every use).
| Scope | Lets the app |
|---|---|
checkout:read |
Read invoices, payment status, webhooks and business settings |
checkout:write |
Create invoices and payment links, and send test webhook events |
route |
Build Route execution plans and follow your Route orders |
docs, swap |
The public tools, always included |
Each connection acts through its own API key, named MCP: <app>, and the account’s owners are
emailed when it is made, as for any new key. See and disconnect connections under
Integrations → Connected apps in the dashboard: the tokens and the key stop working at once.
Reusing a spent code or refresh token disconnects the app too. A connection without a scope a tool
needs gets 403 insufficient_scope, so the client can ask for it.
Test and live mode
Section titled “Test and live mode”The key’s mode (or the mode you chose at sign-in) is the connection’s mode.
- Test (
ik_test_): invoices are routed in a sandbox, so nothing these tools do moves money.send_test_webhookandsend_test_eventwork in test mode only. - Live (
ik_live_):create_invoiceandcreate_payment_linkmake real payment requests. They are annotated destructive, refuse to run until you passmode: "live"to confirm, and repeat the amount and the mode in their result. Live mode stays locked until your account has a verified email and a payout wallet (LIVE_MODE_LOCKED). - Swap is always mainnet.
create_swapreturns a real deposit address, so it is annotated destructive and its result spells out what to send, where the output goes and where a refund goes. Addresses are screened as on intents.fi/swap.
No tool changes a payout wallet, a settlement address or a key: those are dashboard-only, with an
emailed code and a 24-hour wait (get_business shows them read-only). The server never signs
anything and holds no funds: a Route plan is signed by the user’s own wallet.