# Chainflip Broker as a Service

A remote MCP server that enables AI agents to perform cross-chain cryptocurrency swaps through the [Chainflip](https://chainflip.io) decentralized exchange. No API key required to get started.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add chainflip-broker/baas

# Browse available tools
npx -y @smithery/cli@latest tool list chainflip-broker/baas

# Get full schema for a tool
npx -y @smithery/cli@latest tool get chainflip-broker/baas get_quotes

# Call a tool
npx -y @smithery/cli@latest tool call chainflip-broker/baas get_quotes '{}'
```

## Direct MCP Connection

Endpoint: `https://baas--chainflip-broker.run.tools`

## Tools (6)

- `get_quotes` — Get swap quotes for exchanging one crypto asset to another. Returns available quotes with exchange rates, fees, and est…
- `start_dca_swap` — Start a DCA (Dollar Cost Averaging) cross-chain swap that splits into multiple sub-swaps over time. Returns the deposit…
- `check_status` — Check the status of a swap by its ID. Returns the current swap state including deposit detection, swap progress, and eg…
- `list_assets` — List all available swap assets and their details including ticker, network, direction, decimals, minimum amounts, and c…
- `start_swap` — Start a cross-chain swap. Returns the deposit address where you should send your source asset. API key is optional.
- `get_native_quotes` — Get swap quotes for exchanging one crypto asset to another using native (smallest unit) amounts. Returns available quot…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get chainflip-broker/baas <tool-name>
```

## Prompts (1)

- `swap-assistant` — Guides you through a cross-chain cryptocurrency swap on Chainflip. Covers asset discovery, quoting, swap execution, and…
