For AI agents and coding agents
Use Float from your AI agent
Float swaps Canton Coin (CC) to and from assets on other chains. An agent can list assets, price a swap, open an order and track it. The user always sends the funds from their own wallet.
1. Connect the MCP server
The server is remote. It needs no install and no key for the read tools. Address: https://www.myfloat.cc/api/mcp
claude mcp add --transport http float https://www.myfloat.cc/api/mcp
Cursor, Claude Desktop, claude.ai and ChatGPT: the setup page for each client.
2. Install the agent skill
The skill holds the rules, the order flow and the error codes. An agent reads it before it calls the API.
npx skills add https://www.myfloat.cc
Or read it directly: skill.md.
3. Tools on the MCP server
| Tool | What it does |
|---|---|
list_assets | Assets Float can swap, with an optional search. No key. |
get_quote | An indicative price after all fees. It binds nothing. No key. |
create_order | Opens a real order and returns the deposit address and amount. The user sends the funds. |
get_order_status | The state of an order, from its claim token. No key. |
widget_snippet | The embed code for Float's pop-up, with an optional referral code. No key. |
integration_guide | A short guide with links to the full docs. No key. |
4. Prompts to paste
Price 100 USDT to CC with Float's market rate. Show the amount I would receive and any warning. Do not open an order.
Add Float's Get CC button to my app with my referral code. Read https://www.myfloat.cc/skill.md first. Use the widget only; do not ask me for an API key.
Track Float order <claim token>. Tell me the state and what I should do next.
5. Read these first
- facts.md: fees, partner shares, limits and rates, generated from the code.
- docs/api.md: every endpoint, field, state and error code.
- openapi.json: the same API as OpenAPI 3.1.
- llms.txt: a map of the developer docs for AI tools.
- Integrate Float: the widget and the API, for people who build the app.
Rules every agent follows
- There is no sandbox. Orders are real. Do not open an order to test a flow.
- Show the user the plan and get a yes before a live order.
- The minimum is $3 USD equivalent. Partner routes can set a higher one; show the error text the API returns.
- Never send funds for a user. The user sends from their own wallet to the deposit address.
- Keep any Float API key on a server, in an environment variable. Never put it in a page or a file that is shared.