{
  "serverInfo": {
    "name": "thorchain-swap",
    "title": "THORChain Swap",
    "version": "0.3.0"
  },
  "protocolVersion": "2025-06-18",
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://swap.thorchain.org/mcp"
  },
  "authentication": {
    "type": "none"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "listChanged": false,
      "subscribe": false
    }
  },
  "tools": [
    {
      "name": "get_swap_quote",
      "title": "Get Swap Quote",
      "description": "Fetch a THORChain swap quote for an asset pair. Assets use CHAIN.SYMBOL notation (e.g. BTC.BTC, ETH.ETH, ETH.USDC-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48). Amount is in 1e8 base units (1 BTC = 100000000). Quotes are indicative and expire quickly; the returned memo and inbound address must not be reused after expiry.",
      "inputSchema": {
        "type": "object",
        "required": [
          "from_asset",
          "to_asset",
          "amount"
        ],
        "properties": {
          "from_asset": {
            "type": "string",
            "description": "Source asset, e.g. BTC.BTC"
          },
          "to_asset": {
            "type": "string",
            "description": "Destination asset, e.g. ETH.ETH"
          },
          "amount": {
            "type": "string",
            "description": "Amount to swap in 1e8 base units"
          },
          "destination": {
            "type": "string",
            "description": "Optional destination address; required for a quote with a usable memo"
          },
          "streaming_interval": {
            "type": "string",
            "description": "Optional streaming swap interval in blocks"
          }
        },
        "additionalProperties": false
      },
      "_meta": {
        "ui": {
          "resourceUri": "ui://thorchain-swap/swap-quote",
          "visibility": [
            "model",
            "app"
          ]
        }
      }
    },
    {
      "name": "list_pools",
      "title": "List Liquidity Pools",
      "description": "List available THORChain liquidity pools with status, depths (1e8 base units), and USD asset price.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    },
    {
      "name": "get_network_status",
      "title": "Get Network Status",
      "description": "Return current THORChain network parameters, including outbound fees and halt-related gas information.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
  ],
  "resources": [
    {
      "uri": "ui://thorchain-swap/swap-quote",
      "name": "swap_quote_view",
      "title": "Swap Quote View",
      "description": "Renders a THORChain swap quote: expected output, fees, slippage, memo, inbound address, and expiry.",
      "mimeType": "text/html;profile=mcp-app"
    }
  ],
  "documentation": "https://swap.thorchain.org/AGENTS.md"
}