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 分