mcpField
T
THORChain Swap

THORChain Swap

Remote
swap.thorchain.orgFinance2Updated 2d ago

About THORChain Swap

THORChain Swap is a developer resource project for the THORChain and Maya Protocol swap interface. Its public MCP server provides read-only tools for swap quotes, liquidity pools, and network information.

Key features

  1. 01Get swap quotes
  2. 02Inspect liquidity pools
  3. 03Check network status
  4. 04Support MCP Apps
  5. 05Provide REST API docs and OpenAPI spec

Use cases

  1. 01Check cross-chain swap quotes
  2. 02Review liquidity pool data
  3. 03Inspect network status

MCP support

The public MCP server is available at `/mcp` and exposes swap-quote, pool, and network tools to MCP clients. It requires no key or OAuth and uses anonymous, rate-limited access.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://swap.thorchain.org/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

3
ParameterTypeRequiredDescription
amountstringYesAmount to swap in 1e8 base units
to_assetstringYesDestination asset, e.g. ETH.ETH
from_assetstringYesSource asset, e.g. BTC.BTC
destinationstringNoOptional destination address; required for a quote with a usable memo
streaming_intervalstringNoOptional streaming swap interval in blocks

Details

From the project README

THORChain Swap

The official web interface for native cross-chain swaps, powered by THORChain and Maya Protocol — live at swap.thorchain.org.

Trade Bitcoin, Ethereum, stablecoins, and other layer-1 assets directly between chains: no bridges, no wrapped tokens, no order books, and no user accounts. Users connect their own wallet and sign transactions locally, or swap without connecting a wallet at all via memoless ("instant") swaps.

THORChain Developer Resources

THORChain developer resources for the swap interface — API docs, OpenAPI spec, auth docs, and MCP server:

AI Agent Resources

  • llms.txt — index of agent resources with when-to-use guidance
  • Agent library — complete single-file reference (URL scheme, MCP examples, asset notation, quote semantics, safety rules)
  • AGENTS.md — guidance and safety rules for agents using the site
  • AGENTS.md (repo root) — instructions for AI coding agents working on this codebase

Development

npm install
npm run dev

Open http://localhost:3000. Copy .env.example to .env and fill in the API keys. Typecheck with npx tsc --noEmit -p tsconfig.json.

See AGENTS.md for architecture notes, key paths, and conventions.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.