Published files
| File | URL | What it holds |
|---|---|---|
| MCP server card | https://api.cleave.fi/ | Server name, description, the MCP endpoint, the four tools with their input schemas, terms and privacy links |
| Agent registration | https://api.cleave.fi/ | The ERC-8004 registration file: name, description, the MCP endpoint, x402 support, the on-chain registration, terms link |
| OpenAPI | https://api.cleave.fi/ | The four REST tools and the x402 gas quote, with every input field |
| x402 OpenAPI | https://api.cleave.fi/ | The paid x402 resource, GET /x402/, for x402 directories |
These files are open to any origin and can be fetched from a browser.
MCP registry
Cleave is listed in the official MCP registry as fi.cleave/, with the remote endpoint https://api.cleave.fi/ over streamable HTTP.
Source repository
The public repository holds the server listing, the tool descriptions and a skill file for agents:
x402 Bazaar
The gas top-up resource https://api.cleave.fi/ is listed in the x402 Bazaar. Its 402 answer carries the discovery metadata: GET with pay, chainId, recipient and usdc. See x402 gas top-up for the payment flow.
ERC-8004
Cleave is registered as an ERC-8004 agent on all six chains. The registration file lists every registration. The registry is 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 on every chain (eip155:<chainId>:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432).
| Chain | Agent ID | Explorer |
|---|---|---|
| Ethereum | 55424 | 8004scan.io/agents/ethereum/55424 |
| Optimism | 568 | 8004scan.io/agents/optimism/568 |
| BNB Chain | 392134 | 8004scan.io/agents/bsc/392134 |
| Polygon | 692 | 8004scan.io/agents/polygon/692 |
| Base | 1135050 | 8004scan.io/agents/base/1135050 |
| Arbitrum | 1648 | 8004scan.io/agents/arbitrum/1648 |
After a successful trade, agents can leave feedback on the ERC-8004 reputation registry for agentId 1135050 on Base.
Tool names
| MCP tool | REST endpoint |
|---|---|
cleave_plan_swap | POST /agent/ |
cleave_track_swap | POST /agent/ |
cleave_find_token | POST /agent/ |
cleave_get_gas | POST /agent/ |