Cleave for Agents: token swaps, cross-chain swaps and gas top-ups
fi.cleave/swap
Serveur MCP OK 4 outils
À quoi ça sert
Permet de planifier un échange de jetons sur une chaîne (`cleave_plan_swap`), un échange entre chaînes ou un pont, de suivre son état (`cleave_track_swap`), de retrouver un jeton (`cleave_find_token`) et de commander du gaz natif.
Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.
Swap, bridge and get gas on 6 EVM chains. Each plan states its outcome before you sign. No API key.
Fiche technique
- Auteur
- cleave.fi (espace de noms du registre)
- Dépôt
- github.com/cleave-protocol/cleave-swap
- Site
- cleave.fi
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.cleave.fi/mcp Streamable HTTP
- Outils
- 4
- Catégories
- IA, agents et mémoire
- Comparatifs
- Serveurs MCP pour Ethereum
- Dernière mise à jour
- 9 nov. 2026
- Publication
- 9 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/fi.cleave/swap)<a href="https://latlas.dev/mcp/fi.cleave/swap"><img src="https://latlas.dev/badge/fiche/fi.cleave/swap.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.cleave.fi/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:44
- Temps de réponse
- 486 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- fi.cleave/swap 1.0.0
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:44 | OK | 486 ms | 4 |
Outils exposés (4, réponse à tools/list, 28 nov. 2026)
cleave_plan_swap
Plan a swap, bridge or gas top-up
Plans a token swap on one chain, a cross-chain swap or bridge, or a native-gas top-up on Ethereum, Arbitrum, Base, BNB Chain, Polygon or Optimism, and returns unsigned transactions for the given wallet to sign. It fits when the user wants to exchange tokens, move them between these chains, or get ETH, BNB or POL for gas. It sends nothing and moves no funds. The answer leads with blocking notices and warnings, then gives the route's outcome kind (an exact amount or one that can vary; with a swap on arrival, the token or, possibly, a named fallback; where a transfer can go unfilled, a possible refund of the bridged token on the source chain, which can take hours or longer and may not happen), every third-party cost except network gas, the expected time, validUntil and the calls in signing order. The main call can carry gas, the recommended gas limit: use it as the transaction's gas limit, and without it estimate with a priority fee above zero. A blocking notice returns no calls; a warning, or a recipient other than the wallet, sets requiresConfirmation, and the connection's settings can turn either into a refusal. Calls sent after validUntil are stale: they can revert or, on some routes, end in a refund later, or not at all. Amounts are decimal strings in token units; tokens are listed symbols or contract addresses; the recipient defaults to the wallet, which fits when the person's own wallet pays; if your wallet pays for a person, ask them for the recipient, and use your own…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromChainId | enum: 1 | 10 | 56 | 137 | 8453 | 42161 | oui | The chain of the token to sell |
| toChainId | enum: 1 | 10 | 56 | 137 | 8453 | 42161 | non | The chain of the token to buy; fromChainId when omitted |
| sellToken | string | oui | A listed symbol or a contract address |
| buyToken | string | oui | A listed symbol or a contract address |
| amount | string | oui | A decimal amount in token units |
| wallet | string | oui | The wallet that sells the token and signs the returned calls |
| recipient | string | non | The address that receives the bought token; the wallet when omitted. If your wallet pays for a person, ask them for it; use your own only for your own tokens |
| maxSlippageBps | integer | non | The maximum slippage in basis points, from 0 to 5000, and at least 1 for a cross-chain plan that swaps on both chains; 50 when omitted |
cleave_track_swap
Track a planned swap or transfer
Reports the status of a swap, bridge or gas top-up that was planned with cleave_plan_swap and then sent, or ordered with cleave_get_gas: its state (for example pending, in flight, delivered, refund pending or refunded), what arrived against the plan and on which chain, and the next action or when to check again. It takes the chain and transaction hash, plus the plan's requestId when known, or for a gas top-up the requestId alone; a transaction to a contract outside Cleave's published list is reported as such. It fits when the user asks whether such a transfer arrived, and before any re-send, because re-sending a plan that is still in flight can pay twice. It reports states only and returns no transactions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | enum: 1 | 10 | 56 | 137 | 8453 | 42161 | non | The chain the transaction was sent on; required unless requestId is a gas order's, in g: : form |
| txHash | string | non | The transaction hash, also while it is pending; required unless requestId is a gas order's, in g: : form |
| requestId | string | non | The requestId of the plan, used to compare the transaction with it, or of a gas order, in g: : form, which is enough alone |
cleave_find_token
Find a token's contract address
Finds a token by symbol or contract address on Ethereum, Arbitrum, Base, BNB Chain, Polygon or Optimism and returns its address, decimals and whether it is on Cleave's token list, with a flag when it resembles a listed token. A symbol shared by several listed tokens returns up to ten candidates by address instead of picking one. An unlisted token is found only by its address and comes back flagged, without a name or symbol. It fits before cleave_plan_swap when the user names a token by symbol and the address is unknown.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | enum: 1 | 10 | 56 | 137 | 8453 | 42161 | oui | The chain to search on |
| query | string | oui | A symbol or a contract address |
cleave_get_gas
Order native gas with USDC
Offers orders for native gas (ETH, BNB or POL) on Ethereum, Arbitrum, Base, BNB Chain, Polygon or Optimism for a wallet that holds USDC on Ethereum, Arbitrum, Base, Optimism or Polygon but has no gas to send transactions. Called with the paying chain, the receiving chain, the recipient, a USDC amount and the paying wallet (without it the offer has nothing to sign), it returns an offer: the minimum native amount, the deadline, the order and one USDC authorization for the wallet to sign; signing costs no gas. If your wallet pays for a person, ask them for the recipient; if theirs pays, it can be the recipient. Use your own only for your own gas. An offer needs 0.8 to 50 USDC (at least 5 USDC when Ethereum is the paying or receiving chain; the fee is included in the price), a recipient that accepts the native coin and is not a token contract, and, for a cross-chain order, the paying wallet or a refundTo on the paying chain; otherwise, or while the route is paused, no offer is returned and the answer says why. Called again with the offer, the signature and the same wallet, it passes the signed order to Cleave's relayer, which may submit it to a contract made for that one order, and returns a requestId for cleave_track_swap. An authorization Cleave accepts is set to end before the order deadline. Cleave does not promise to submit it before it expires, and expiry of an unused authorization is not a promise about funds already paid. No outcome or time is guaranteed, and a settled p…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| payChainId | enum: 1 | 10 | 56 | 137 | 8453 | 42161 | non | The chain the USDC is paid on; required without offer, not accepted with it |
| chainId | enum: 1 | 10 | 56 | 137 | 8453 | 42161 | non | The chain the native gas is for; required without offer, not accepted with it |
| recipient | string | non | The wallet that receives the gas: if your wallet pays for a person, ask them for it; use your own only for your own gas; required without offer, not accepted with it |
| amount | string | non | A decimal amount in token units |
| wallet | string | non | The paying wallet; it does not set the recipient. Required with offer. Without offer, the answer holds an authorization to sign only when it is given, and it is the refund address when refundTo is not given |
| refundTo | string | non | The refund address on the paying chain; a cross-chain order needs refundTo or wallet, and a one-chain order with neither uses recipient; not accepted with offer |
| offer | string | non | The offer value from the answer to a call without offer; when given, the signed order is submitted and only offer, signature and wallet are accepted |
| signature | string | non | The wallet's hex signature of the offer's USDC authorization; required with offer, not accepted without it |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.cleave.fi/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http swap https://api.cleave.fi/mcpCustomize > Connectors > + Add > Add custom connector ; Name : swap ; URL : https://api.cleave.fi/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : swap ; Server URL : https://api.cleave.fi/mcp ; Create as a plugin{
"mcpServers": {
"swap": {
"url": "https://api.cleave.fi/mcp"
}
}
}{
"mcpServers": {
"swap": {
"type": "http",
"url": "https://api.cleave.fi/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"swap": {
"url": "https://api.cleave.fi/mcp"
}
}
}{
"mcpServers": {
"swap": {
"httpUrl": "https://api.cleave.fi/mcp"
}
}
}[mcp_servers.swap]
url = "https://api.cleave.fi/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Cleave for Agents: token swaps, cross-chain swaps and gas top-ups · L’Atlas · Test du
[Cleave for Agents: token swaps, cross-chain swaps and gas top-ups — L’Atlas](https://latlas.dev/mcp/fi.cleave/swap)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.