TorrentSwap
No-account cross-chain crypto swaps (BTC, ETH, SOL, USDT, ZEC…) for AI agents. Flat 0.5% fee.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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
}커뮤니티
증거