TorrentSwap

No-account cross-chain crypto swaps (BTC, ETH, SOL, USDT, ZEC…) for AI agents. Flat 0.5% fee.

我該用這個嗎

品質與安全性

A
說明品質
97%
結構描述完整度
87%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~926Token(工具定義)
~1010 B典型回應大小
中等的注意力影響(128k 上下文的 0.72%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "swap": {
      "url": "https://torrentswap.com/mcp"
    }
  }
}

遠端端點

https://torrentswap.com/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢list_assets(query, network)

List assets TorrentSwap can swap, with the id to use in get_quote, ticker, network and decimals. Any two different assets can be swapped. Optional query/network filters.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Optional filter by ticker or name, e.g. \"usdt\" or \"bitcoin\"."
    },
    "network": {
      "type": "string",
      "description": "Optional filter by network id or name, e.g. \"tron\" or \"solana\"."
    }
  },
  "additionalProperties": false
}
🟢list_providers

List the cross-chain protocols TorrentSwap routes through (NEAR Intents, Chainflip, Flashnet, THORChain, Pact Swap and more), with how each executes and how it holds funds. Use the ids to filter get_quote.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_quote(sellAssetId, buyAssetId, sellAmount, slippage, providers)

Get live quotes for swapping one asset to another (cross-chain or same-chain). Returns routes ranked by amount received, each with a quoteToken, the executing protocol, expectedReceive, minimumReceived and estimated time. All fees (network, protocol and platform) are included.

輸入結構描述

{
  "type": "object",
  "properties": {
    "sellAssetId": {
      "type": "string",
      "description": "Asset to send, e.g. \"bitcoin-btc\". From list_assets."
    },
    "buyAssetId": {
      "type": "string",
      "description": "Asset to receive, e.g. \"ethereum-eth\". From list_assets."
    },
    "sellAmount": {
      "type": "string",
      "description": "Amount to send as a decimal string in the sell asset's units, e.g. \"0.05\"."
    },
    "slippage": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 5,
      "description": "Maximum slippage in percent. Default 1.5."
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "description": "Optional: only return routes from these provider ids, e.g. [\"NEAR\", \"FLASHNET\"]. From list_providers."
    }
  },
  "required": [
    "sellAssetId",
    "buyAssetId",
    "sellAmount"
  ],
  "additionalProperties": false
}
🟢validate_address(assetId, address)

Check that an address is valid for the network of an asset before creating a swap (checksums included). Returns the canonical form.

輸入結構描述

{
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string",
      "description": "Asset the address will receive, e.g. \"tron-usdt\". Determines the network."
    },
    "address": {
      "type": "string",
      "description": "Address to check."
    }
  },
  "required": [
    "assetId",
    "address"
  ],
  "additionalProperties": false
}
🟡create_swap(quoteToken, destinationAddress, refundAddress)

Create a swap from a quoteToken returned by get_quote. Returns a one-time depositAddress, the exact amount to send, expiresAt and a swapId for tracking. Only call after the user confirmed the route and both addresses. The swap only happens when the user sends the funds. Repeating the call with the same quoteToken and addresses returns the same deposit address.

輸入結構描述

{
  "type": "object",
  "properties": {
    "quoteToken": {
      "type": "string",
      "description": "quoteToken of the chosen route (valid for about 2 minutes)."
    },
    "destinationAddress": {
      "type": "string",
      "description": "Address that receives the bought asset, on the buy asset's network."
    },
    "refundAddress": {
      "type": "string",
      "description": "Address on the sell asset's network that receives a refund if the swap cannot complete."
    }
  },
  "required": [
    "quoteToken",
    "destinationAddress",
    "refundAddress"
  ],
  "additionalProperties": false
}
🟢get_swap_status(swapId)

Check the progress of a swap by swapId: awaiting_deposit, confirming, exchanging, sending, completed, refunded, failed or expired.

輸入結構描述

{
  "type": "object",
  "properties": {
    "swapId": {
      "type": "string",
      "description": "swapId returned by create_swap."
    }
  },
  "required": [
    "swapId"
  ],
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具