Chainflip Broker MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/CumpsD/broker-as-a-service
cd broker-as-a-service

Then follow the repository README for any remaining dependency or build steps before continuing.

2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add chainflip-broker -- node "<FULL_PATH_TO_BROKER_AS_A_SERVICE>/dist/index.js"

Replace <FULL_PATH_TO_BROKER_AS_A_SERVICE>/dist/index.js with the actual folder you prepared in step 1.

README.md

Cross-chain cryptocurrency swaps via Chainflip.

Chainflip Broker as a Service

A remote MCP server that enables AI agents to perform cross-chain cryptocurrency swaps through the Chainflip decentralized exchange. No API key required to get started.

Tools

Tool Description
list_assets Discover all available assets with tickers, networks, decimals, minimum amounts, and live USD prices
get_quotes Get swap quotes using human-readable amounts (e.g., 1.5 BTC)
get_native_quotes Get swap quotes using native unit amounts (e.g., 150000000 satoshis)
start_swap Execute a cross-chain swap and receive a deposit address
start_dca_swap Execute a DCA swap that splits into multiple sub-swaps to reduce price impact on large trades
check_status Track swap progress through its stages: Waiting, Receiving, Swapping, Sending, Sent, Completed

Prompts

Prompt Description
swap-assistant Guided workflow that walks through asset discovery, quoting, swap execution, and status monitoring

Supported Assets

Assets are identified as ticker.network, for example btc.btc, eth.eth, usdc.eth, sol.sol, or dot.hub. Call list_assets to see the full list of supported assets and their current prices.

Configuration

Connect to the remote MCP server at:

https://chainflip-broker.io/mcp

Transport: Streamable HTTP

No authentication is required. An optional API key can be provided for partner attribution.

Documentation

For detailed human-readable documentation, visit docs.chainflip-broker.io/resources/ai-documentation.

Usage Example

  1. Call list_assets to see available assets
  2. Call get_quotes with source asset, destination asset, and amount to preview the swap
  3. Call start_swap with the destination and refund addresses to get a deposit address
  4. Send funds to the deposit address
  5. Call check_status with the returned swap ID to monitor progress

Tools (6)

list_assetsDiscover all available assets with tickers, networks, decimals, minimum amounts, and live USD prices.
get_quotesGet swap quotes using human-readable amounts.
get_native_quotesGet swap quotes using native unit amounts.
start_swapExecute a cross-chain swap and receive a deposit address.
start_dca_swapExecute a DCA swap that splits into multiple sub-swaps to reduce price impact on large trades.
check_statusTrack swap progress through its stages.

Environment Variables

API_KEYOptional API key for partner attribution

Configuration

claude_desktop_config.json
{"mcpServers": {"chainflip-broker": {"command": "curl", "args": ["https://chainflip-broker.io/mcp"]}}}

Try it

List all available assets and their current prices.
Get a quote for swapping 1.5 BTC to ETH.
Start a swap of 0.5 BTC to USDC on the Ethereum network.
Check the status of my swap with ID 12345.

Frequently Asked Questions

What are the key features of Chainflip Broker?

Cross-chain cryptocurrency swaps via Chainflip. Support for human-readable and native unit quoting. DCA swap execution for large trades. Real-time swap progress tracking. Asset discovery with live USD pricing.

What can I use Chainflip Broker for?

Automating cross-chain asset rebalancing for crypto portfolios. Integrating decentralized exchange functionality into AI-driven trading agents. Simplifying the process of swapping assets across different blockchain networks. Executing large volume trades using DCA to minimize market impact.

How do I install Chainflip Broker?

Install Chainflip Broker by running: https://chainflip-broker.io/mcp

What MCP clients work with Chainflip Broker?

Chainflip Broker works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Chainflip Broker docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare