https://laso.finance/.well-known/mcp/server-card.json.
The tools are generated from the live OpenAPI
spec at runtime, not written by hand.
When the API gains a route or a parameter, the MCP server picks it up
automatically, so the tool set can never drift from the deployed x402
interface.
Connecting
Connect with your Laso credential in theAuthorization header. The lasoak_ API key is the right credential for a persistent connection, because it does not expire (see the managed wallet guide for how a human issues one at the agent dashboard):
id_token works in place of the API key if that is what you hold. If your client cannot set connection headers at all, connect without one: the free tools (get_version, search_docs) still work, and every credentialed tool accepts the same credential as an optional auth_token argument instead.
What you get
The server also exposes the agent docs (
SKILL.md, llms.txt, llms-full.txt, openapi.json, auth.md, the docs-version beacon) as MCP resources, fetched live so they are never stale.
How paid tools settle
Tools whose description is markedPAID ROUTE correspond to the x402-paywalled routes (get_card, order_gift_card, order_intl_card, push_to_card, send_payment, send_bank_payment). Over MCP you never build a payment header: the server settles the route’s USDC price from your managed agent wallet, exactly as if you had called agentX402Pay yourself.
Before your first paid call:
get_agent_wallet— check the wallet exists and read its balance (create_agent_walletif it doesn’t).- Fund the wallet’s Solana address with USDC.
- Call the paid tool. The price (face value plus the route’s fee) is settled automatically and the route’s response comes back as the tool result.
Free tools and errors
Free routes (balances, card data, KYC status, webhooks, withdrawals, the gift card catalog) proxy directly with your bearer credential and return the route’s JSON as the tool result. Errors come back as tool errors carrying the route’s real error body, so the failure modes in error handling apply unchanged.Staying in sync
The MCP surface inherits the docs-freshness machinery:- The tool set refreshes from the deployed
openapi.jsonwithin about ten minutes of a docs deploy. get_versionreturns the currentdocs_version; the beacon athttps://laso.finance/.well-known/docs-version.jsonis authoritative.