Hive Swap

io.github.srotzin由 GitHub 账号 srotzin 发布v1.0.0更新于 Oct 25, 2026

Cross-chain token swaps for autonomous agents on Base L2 and partner rails

已验证Streamable HTTP可网页运行网页搜索与抓取金融

概览

AI 生成的概览

一个远程 MCP 服务器,为 Base 上的代币兑换返回只读的 Paraswap 价格报价,不构建也不执行交易。

可以做什么
按代币符号或代币地址,为 Base 上的代币对请求 Paraswap 实时价格报价,输入金额须为正数。查看 Paraswap 在路由中返回的交易场所名称及提供方名称。无可用路由时返回结构化错误。仅此而已:不构建、签名、提交交易,不托管资金,也不收取费用。
适用场景
适合助手在用户或其他工具决定是否以及如何交易之前,获取 Base 上的参考兑换价格。若需要服务器执行、签名或结算兑换,则不适合。
运行要求
远程 streamable HTTP 端点,无需安装软件包。未声明身份验证、环境变量或请求头。服务器需要对外访问 Paraswap 以获取实时报价。
安装前请注意
报价仅供参考,且可能无法获取;决定交易的调用方须用自己的钱包构建、审核、签名并提交交易。服务器声明不托管资金、不收取路由费用,也不提供信任评分或反洗钱筛查,因此不要依赖它做这些检查。报价请求会发送给第三方报价提供方。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Hive Swap,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.srotzin%2Fhive-mcp-swap/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "hive-swap": {
      "type": "http",
      "url": "https://hive-mcp-swap.onrender.com/mcp"
    }
  }
}

README

hive-mcp-swap

Read-only Paraswap price quotes on Base.

Live contract

This MCP server exposes one swap capability:

SurfacePurpose
GET /v1/swap-route/quoteRequest a live Paraswap price quote on Base
swap_route.quoteRequest 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

MethodPathDescription
GET/healthLocal liveness and declared capability
POST/mcpMCP JSON-RPC 2.0, protocol 2024-11-05
GET/.well-known/mcp.jsonMCP discovery manifest
GET/.well-known/agent.jsonAgent card
GET/.well-known/security.txtSecurity contact
GET/llms.txtPlain-text integration guide
GET/og.svgService image

Example

text
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

bash
npm installnpm 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

Hive Civilization. Brand gold #C08D23. Steve Rotzin.

来源:README.md,提交 8eb9183

工具

1

swap_route.quote

Get a read-only Paraswap price quote on Base. The response identifies the actual venues returned by Paraswap. No transaction construction, execution, custody, or fee collection.

输入参数tokenIn必填amountIn必填tokenOut必填

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分