Botgraph Swap
Swap XRP to Bitcoin, Ethereum and USDC from any agent. Non-custodial, unsigned txs, OFAC-screened.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"botgraph-swap": {
"url": "https://swap.botgraph.org/mcp"
}
}
}リモートエンドポイント
https://swap.botgraph.org/mcpstreamable-httpできること
ツール一覧
ツール(3)
🟢quote_swap(to, amount_xrp, destination)
Live THORChain quote for swapping XRP to BTC, ETH or USDC: expected amount out, every fee (ours is 0.5%), minimum size and expiry. Screens the destination against the OFAC list. Read-only; builds nothing.
入力スキーマ
{
"type": "object",
"properties": {
"to": {
"type": "string",
"enum": [
"BTC",
"ETH",
"USDC"
],
"description": "What to receive: BTC (Bitcoin), ETH (Ether) or USDC (USDC on Ethereum)."
},
"amount_xrp": {
"type": "string",
"description": "XRP to send, e.g. \"20\" (up to 6 decimals). Must be at least the quote's minimum_xrp."
},
"destination": {
"type": "string",
"description": "Address that receives the coins: a Bitcoin address for BTC, an Ethereum 0x address for ETH or USDC."
}
},
"required": [
"to",
"amount_xrp",
"destination"
],
"additionalProperties": false
}🟡build_swap_tx(from, to, amount_xrp, destination)
Re-quotes and returns ONE unsigned XRP Ledger Payment to THORChain that the caller signs and submits with its own wallet. Same checks as swap.botgraph.org: OFAC screen on both addresses, minimum enforced, memo in MemoData only, no DestinationTag, LastLedgerSequence before the quote expiry. We never sign, submit or hold funds.
入力スキーマ
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "The XRP account (r...) that will sign and pay."
},
"to": {
"type": "string",
"enum": [
"BTC",
"ETH",
"USDC"
],
"description": "What to receive: BTC (Bitcoin), ETH (Ether) or USDC (USDC on Ethereum)."
},
"amount_xrp": {
"type": "string",
"description": "XRP to send, e.g. \"20\" (up to 6 decimals). Must be at least the quote's minimum_xrp."
},
"destination": {
"type": "string",
"description": "Address that receives the coins: a Bitcoin address for BTC, an Ethereum 0x address for ETH or USDC."
}
},
"required": [
"from",
"to",
"amount_xrp",
"destination"
],
"additionalProperties": false
}🟢swap_status(tx)
Outcome of a swap by its XRP Ledger transaction hash: XRP payment validated, THORChain observed it, swapping, coins sent (with outbound hashes), or refunded.
入力スキーマ
{
"type": "object",
"properties": {
"tx": {
"type": "string",
"description": "The 64-character XRP Ledger transaction hash of the signed Payment."
}
},
"required": [
"tx"
],
"additionalProperties": false
}コミュニティ
エビデンス