Hive Swap
Cross-chain token swaps for autonomous agents on Base L2 and partner rails
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http hive-swap 'https://hive-mcp-swap.onrender.com/mcp'
{
"mcpServers": {
"hive-swap": {
"type": "http",
"url": "https://hive-mcp-swap.onrender.com/mcp"
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
hive-mcp-swap
Read-only Paraswap price quotes on Base.
Live contract
This MCP server exposes one swap capability:
| Surface | Purpose |
|---|---|
GET /v1/swap-route/quote | Request a live Paraswap price quote on Base |
swap_route.quote | Request the same quote through MCP |
The response identifies Paraswap as the provider and preserves the venue names present in the returned route. Hive does not construct, sign, submit, or settle a transaction. It does not collect a routing fee, operate liquidity, or custody funds.
Supported token symbols are ETH, WETH, USDC, and USDT. A caller may also supply a Base token address. The amount must be positive.
Failure behavior
If Paraswap does not return a usable quote, the HTTP endpoint returns 502 with no_route_available. The MCP tool returns a structured error payload. Unknown HTTP paths return 404. Unknown MCP tools and methods return JSON-RPC errors.
There is no execution endpoint. There is no transaction construction endpoint. There is no trust score, AML screening, or receipt-signing claim in the quote response.
Discovery
| Method | Path | Description |
|---|---|---|
GET | /health | Local liveness and declared capability |
POST | /mcp | MCP JSON-RPC 2.0, protocol 2024-11-05 |
GET | /.well-known/mcp.json | MCP discovery manifest |
GET | /.well-known/agent.json | Agent card |
GET | /.well-known/security.txt | Security contact |
GET | /llms.txt | Plain-text integration guide |
GET | /og.svg | Service image |
Example
GET https://mcp-swap.thehiveryiq.com/v1/swap-route/quote?tokenIn=ETH&tokenOut=USDC&amountIn=1
The quote is informational. A caller that chooses to trade must independently construct, review, sign, and submit a transaction using its own wallet and execution provider.
Testing
npm install
npm test
The automated suite verifies manifest parity, removal of the former execution surface, honest unknown-route behavior, and the absence of unsupported provider, fee, settlement, AML, and trust claims. A separate live probe verifies that Paraswap can return a current Base quote.
Directory
- Endpoint: https://mcp-swap.thehiveryiq.com
- Source: https://github.com/srotzin/hive-mcp-swap
Hive Civilization. Brand gold #C08D23. Steve Rotzin.
Questions fréquentes
Qu'est-ce que Hive Swap ?
Cross-chain token swaps for autonomous agents on Base L2 and partner rails
Comment installer Hive Swap ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http hive-swap 'https://hive-mcp-swap.onrender.com/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Hive Swap ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Hive Swap est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Hive Swap ?
Il est publié par srotzin. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.