cardano-defi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BAZAAR_API_URL | No | BazaarSwap backend URL. Required for get_quote, build_swap_tx. | http://localhost:3001 |
| INDIGO_API_URL | No | Indigo analytics API URL. Required for Indigo get_position. | https://analytics.indigoprotocol.io |
| CARDANO_NETWORK | No | Cardano network. Affects Blockfrost and Indigo host selection. | mainnet |
| LIQWID_GRAPHQL_URL | No | Liqwid GraphQL endpoint. Required for get_market_data and Liqwid get_position. | https://v2.api.liqwid.finance/graphql |
| BLOCKFROST_PROJECT_ID | No | Blockfrost project ID. Required for get_balance, open_cdp, close_cdp. | |
| INDIGO_SYSTEM_PARAMS_URL | No | URL to Indigo system parameters. Alternative to INDIGO_SYSTEM_PARAMS_FILE. | |
| INDIGO_SYSTEM_PARAMS_FILE | No | Path to a local Indigo system parameters file. Alternative to INDIGO_SYSTEM_PARAMS_URL. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_venuesA | List the indexed Cardano DeFi venues (DEXes, lending markets, CDP and stablecoin protocols, perps). Optionally filter by category, asset ticker or capability, or pass |
| get_venueA | Get the full taxonomy record for one venue by id (e.g. "minswap", "liqwid", "indigo"): category, url, assets, capabilities, integration level and caveats. Read-only. |
| get_quoteA | Race the BazaarSwap routing backend for cross-chain swap quotes (for example EVM assets into ADA) and return the best route plus every route found, sorted by net output. Read-only: quoting moves no funds. Amounts are in the source token's smallest unit. The returned quoteId feeds build_swap_tx. The race can take up to ~25 seconds. |
| build_swap_txA | Turn a quoteId from get_quote into transaction data for the swap. Returns an UNSIGNED transaction: this server never holds keys, never signs and never broadcasts. The calling agent (or the user's wallet) signs and submits it. Quotes expire, so build shortly after quoting. |
| get_balanceA | Read the ADA and native-asset balance of a Cardano address from Blockfrost. Read-only. Requires BLOCKFROST_PROJECT_ID; an address never seen on-chain reports a zero balance. |
| get_positionA | Read open positions for a Cardano address: Indigo CDPs (collateral, minted iAsset debt, frozen flag, and the CDP out-ref that close_cdp needs) or Liqwid loans (debt, collateral value, health factor, LTV). Read-only. |
| get_market_dataA | Read live Liqwid v2 money-market data: supply APY, borrow APR and utilization per market. Read-only, no API key needed. Pass |
| open_cdpA | Build a transaction that opens an Indigo CDP: lock ADA collateral and mint an iAsset (e.g. iUSD). Returns an UNSIGNED transaction as CBOR hex with an empty witness set, plus a human-readable summary. Pyth-priced markets (e.g. iUSD): the tx embeds a signed price with a ~280-second validity window, so sign and submit promptly after building — a paused/stale tx fails on-chain validation; rebuild instead. This server never signs, never submits and never holds keys or funds — the agent signs it (CIP-30 |
| close_cdpA | Build a transaction that closes an Indigo CDP: burn the minted iAsset debt and withdraw the ADA collateral. Identify the CDP by the out-ref from get_position (protocol "indigo"). Returns an UNSIGNED transaction as CBOR hex with an empty witness set, plus a human-readable summary. This server never signs, never submits and never holds keys or funds — the agent signs it (CIP-30 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Tools are mostly distinct, but get_quote and build_swap_tx are tightly coupled (quote must precede build), and get_balance/get_position both read address state but for different purposes. Minor potential confusion between get_position and get_balance for an agent, but descriptions clarify domains.
All verbs are in present tense (get, list, build, open, close) and nouns are clear (venue, quote, swap_tx, balance, position, market_data, cdp). The pattern is consistent, with minor deviation like 'list_venues' vs 'get_*' but still predictable. Overall coherent.
9 tools is well-scoped for a Cardano DeFi server covering venue discovery, quoting/swap, balance/position reads, market data, and CDP lifecycle. Each tool has a clear purpose and no redundancy.
The surface covers venue discovery, read-only balances/positions, market data, swap quoting/building, and CDP open/close. Missing operations like updating or adjusting a CDP (adding collateral, minting more iAsset) and Liqwid loan lifecycle (borrow, repay) are notable gaps, but the core DeFi workflows are present.