IndigoProtocol/indigo-mcp
OfficialIndigo MCP is an MCP server that exposes Indigo Protocol Cardano DeFi data and builds unsigned Cardano transactions for client-side signing.
Query iAsset, ADA, and INDY prices; browse/filter CDPs and analyze collateral health/liquidation risk.
Read stability pools, staking positions, protocol analytics/TVL/APR/DEX yields, governance data, redemption order books, DEX data, collector UTXOs, IPFS content, interest/oracle state, and stableswap pool state.
Build unsigned CBOR transactions for CDP open/deposit/withdraw/close/mint/burn/liquidate/redeem/freeze/merge/leverage operations.
Build transactions for ROB positions, stability pool accounts/requests, INDY staking and reward distribution, interest collection/distribution/oracle feeding, OracleNft price feeding, and stableswap order create/cancel.
Supports stdio and HTTP transports; read-only tools work without Blockfrost, while write transaction building requires
BLOCKFROST_API_KEY; optional x402 payment gating is available.
Provides tools for interacting with the Cardano blockchain, enabling management of Indigo Protocol positions, tracking of ADA and INDY token prices, and execution of on-chain operations like staking and liquidations.
Enables storage and retrieval of data through the IPFS protocol as part of the server's protocol maintenance features.
Indigo MCP
MCP server for Indigo Protocol — exposes Indigo iAsset data, prices, and CDP/loan analytics to LLM agents via the Model Context Protocol.
⚡ Quick Start — Full Cardano DeFi Stack
MCP Servers (75 tools)
# 1. Install & Setup Indigo MCP (69 tools)
npm install -g @indigoprotocol/indigo-mcp
npx @indigoprotocol/indigo-mcp setup
# 2. Install & Setup Cardano MCP (6 wallet tools)
npm install -g @indigoprotocol/cardano-mcp
npx @indigoprotocol/cardano-mcp setupAI Skills (13 skills) — Optional
# 3. Install Indigo Skills
npx @indigoprotocol/indigo-skills
# 4. Install Cardano Skills
npx @indigoprotocol/cardano-skills╔═══════════════════════════════════════════════════════════════╗
║ ║
║ ██╗███╗ ██╗██████╗ ██╗ ██████╗ ██████╗ ║
║ ██║████╗ ██║██╔══██╗██║██╔════╝ ██╔═══██╗ ║
║ ██║██╔██╗ ██║██║ ██║██║██║ ███╗██║ ██║ ║
║ ██║██║╚██╗██║██║ ██║██║██║ ██║██║ ██║ ║
║ ██║██║ ╚████║██████╔╝██║╚██████╔╝╚██████╔╝ ║
║ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ║
║ ║
║ ███╗ ███╗ ██████╗██████╗ ║
║ ████╗ ████║██╔════╝██╔══██╗ ║
║ ██╔████╔██║██║ ██████╔╝ ║
║ ██║╚██╔╝██║██║ ██╔═══╝ ║
║ ██║ ╚═╝ ██║╚██████╗██║ ║
║ ╚═╝ ╚═╝ ╚═════╝╚═╝ ║
║ ║
║ 75 tools • 13 skills for Cardano DeFi ║
║ ║
╚═══════════════════════════════════════════════════════════════╝The setup commands auto-configure Claude Desktop, Claude Code, Cursor, or Windsurf. No manual config editing needed.
Related MCP server: seashail
Features
Real-time iAsset prices (iUSD, iBTC, iETH, iSOL, iEUR, iJPY)
ADA and INDY token price feeds
CDP/loan browsing with pagination and filtering
Owner lookup by payment key hash or bech32 address
CDP health analysis with collateral ratio and liquidation risk status
Stability pool state and account queries
INDY staking positions and manager state
Protocol analytics: TVL, APR rewards, DEX yields, aggregated stats
Governance: protocol parameters, polls, temperature checks
Redemption order book and queue aggregation
DEX proxy: Steelswap swaps, Iris liquidity pools, Blockfrost balances
CDP liquidation, redemption, freeze, and merge operations
Leveraged CDP opening via ROB positions
ROB (Redemption Order Book) position management
Oracle interest rate feeding and initialization
Stability pool request processing and cancellation
Staking reward distribution
Collector UTXOs, IPFS storage and retrieval
Hosted deployment
A hosted deployment is available on Fronteir AI.
Quick Start
Automatic Setup (Recommended)
Run the interactive setup to automatically configure your MCP client:
npx @indigoprotocol/indigo-mcp setupThis will:
Ask which client you're using (Claude Desktop, Claude Code, Cursor, Windsurf)
Prompt for your Blockfrost API key
Automatically update your config file
Manual Installation
Install globally:
npm install -g @indigoprotocol/indigo-mcpOr run directly with npx (no install needed):
npx @indigoprotocol/indigo-mcpDocker
The image builds the server from source — no prior pnpm build needed, and no
dependency on any external build step:
docker build -t indigo-mcp .
docker run -p 3000:3000 -e BLOCKFROST_API_KEY=your-key indigo-mcpIt runs the HTTP transport on port 3000 (MCP_TRANSPORT=http is baked in), which
is what the Fly deployment uses.
HTTP Transport (Remote)
The server supports HTTP transport for remote/hosted deployments:
MCP_TRANSPORT=http PORT=3000 npx @indigoprotocol/indigo-mcpThis starts an HTTP server with:
POST /mcp— MCP endpoint (Streamable HTTP with SSE)GET /health— Health check
Each client gets its own session: initialize returns an Mcp-Session-Id that
subsequent requests must send back. A client that restarts can simply
initialize again — existing sessions are unaffected and the server does not
need restarting. Bind address and port come from HOST and PORT (MCP_PORT
is accepted as an alias for PORT).
Configuration
Note:
BLOCKFROST_API_KEYis required for write operations (transaction building). Read-only tools work without it. Get a free key at blockfrost.io.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
# macOS
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
# Windows (PowerShell)
notepad "$env:APPDATA\Claude\claude_desktop_config.json"Standard config:
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id"
}
}
}
}For nvm users (multiple Node versions):
If you use nvm and have multiple Node versions, you may need to specify the full path and set PATH explicitly:
{
"mcpServers": {
"indigo": {
"command": "/Users/YOUR_USERNAME/.nvm/versions/node/v22.22.0/bin/npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"PATH": "/Users/YOUR_USERNAME/.nvm/versions/node/v22.22.0/bin:/usr/local/bin:/usr/bin:/bin",
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id"
}
}
}
}Note: Replace
YOUR_USERNAMEand Node version with your actual values. Find your Node path withwhich npx.
Claude Code (CLI)
Add to ~/.claude/settings.json or .claude/settings.json in your project:
nano ~/.claude/settings.json{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id"
}
}
}
}Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project-level):
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id"
}
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id"
}
}
}
}OpenClaw
Install Indigo skills for OpenClaw:
openclaw skills add IndigoProtocol/indigo-skillsSkills are automatically configured — start using Indigo tools immediately.
Combined with Cardano MCP
For full Cardano DeFi capabilities, use both Indigo MCP and Cardano MCP together:
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"BLOCKFROST_API_KEY": "your-blockfrost-project-id"
}
},
"cardano": {
"command": "npx",
"args": ["-y", "@indigoprotocol/cardano-mcp"],
"env": {
"SEED_PHRASE": "word1,word2,word3,...",
"BLOCKFROST_PROJECT_ID": "your-blockfrost-project-id"
}
}
}
}Any MCP-Compatible Client
Run the server directly via stdio:
INDEXER_URL=https://analytics.indigoprotocol.io/api \
BLOCKFROST_API_KEY=your-blockfrost-project-id \
npx @indigoprotocol/indigo-mcpOr install globally and reference the binary:
npm install -g @indigoprotocol/indigo-mcp
indigo-mcpFor any client that supports MCP over stdio, point it to the npx @indigoprotocol/indigo-mcp command with the environment variables above.
Available Tools
Asset Tools
Tool | Description | Parameters |
| Get all Indigo iAssets with prices and interest data | None |
| Get details for a specific iAsset |
|
| Get the current price for a specific iAsset |
|
| Get the current ADA price in USD | None |
| Get the current INDY token price in ADA and USD | None |
CDP / Loan Tools
Tool | Description | Parameters |
| Get all CDPs/loans, optionally filtered by iAsset |
|
| Get CDPs for a specific owner |
|
| Get CDPs for a specific Cardano address |
|
| Analyze collateral ratios and liquidation risk |
|
CDP Write Tools
Pyth-priced iAssets have a submission deadline. Every iAsset is currently priced through Pyth, and the on-chain feed validator only accepts a transaction for 280 seconds after the price update it embeds. Price-dependent write tools (
open_cdp,withdraw_cdp,mint_cdp,redeem_cdp,freeze_cdp,leverage_cdp,redeem_rob) therefore return asummary.pythblock with the price, its timestamp and asubmitBeforedeadline. If signing takes longer than that — a hardware wallet, or a human approving in a browser — rebuild the transaction rather than submitting a stale one. A price update that has already expired is rejected at build time with a retry hint.
Tool | Description | Parameters |
| Open a new CDP position (returns unsigned CBOR tx) |
|
| Deposit additional collateral into a CDP |
|
| Withdraw collateral from a CDP |
|
| Close a CDP and reclaim collateral |
|
CDP Mint/Burn Tools
Tool | Description | Parameters |
| Mint additional iAssets from an existing CDP (increases debt) |
|
| Burn iAssets to reduce CDP debt |
|
CDP Liquidation & Redemption Tools
Tool | Description | Parameters |
| Liquidate an undercollateralized CDP through the stability pool |
|
| Redeem iAssets from a CDP |
|
| Freeze a CDP to prevent further operations |
|
| Merge multiple CDPs into one |
|
Leverage CDP Tools
Tool | Description | Parameters |
| Open a leveraged CDP by redeeming against ROB positions |
|
Stability Pool Tools
Tool | Description | Parameters |
| Get the latest stability pool state for each iAsset | None |
| Get all open stability pool accounts, optionally filtered by iAsset |
|
| Get stability pool accounts for specific owners |
|
Staking Tools
Tool | Description | Parameters |
| Get the current INDY staking manager state | None |
| Get all open INDY staking positions | None |
| Get INDY staking positions for specific owners |
|
| Get INDY staking positions for a single address |
|
Stability Pool Request Tools
Tool | Description | Parameters |
| Process a pending stability pool request (protocol maintenance) |
|
| Cancel a pending stability pool request |
|
Staking Write Tools
Tool | Description | Parameters |
| Stake INDY tokens by creating a new staking position |
|
| Adjust an existing staking position (add or remove INDY) |
|
| Close a staking position and unstake all INDY |
|
Staking Reward Tools
Tool | Description | Parameters |
| Distribute collected ADA rewards from collector UTxOs to stakers |
|
Analytics & APR Tools
Tool | Description | Parameters |
| Get historical TVL data from DefiLlama | None |
| Get all APR reward records | None |
| Get APR for a specific key |
|
| Get DEX farm yields for iAsset pairs | None |
| Get aggregated protocol statistics | None |
Governance Tools
Tool | Description | Parameters |
| Get latest governance protocol parameters | None |
| Get temperature check polls | None |
| Get all governance polls | None |
Redemption & Order Book Tools
Tool | Description | Parameters |
| Get open ROB (redemption order book) positions |
|
| Get executed redemption orders |
|
| Get open ROB order-book entries for an iAsset |
|
ROB Write Tools
Tool | Description | Parameters |
| Open a new ROB position with ADA and a max price limit |
|
| Cancel an existing ROB position |
|
| Adjust ADA in a ROB (positive to add, negative to remove) |
|
| Claim received iAssets from an ROB position |
|
| Redeem iAssets against one or more ROB positions |
|
DEX Proxy Tools
Tool | Description | Parameters |
| Get all tokens available on Steelswap DEX | None |
| Get a swap estimate from Steelswap |
|
| Get liquidity pools from Iris |
|
| Get token balances for a Cardano address |
|
Collector & IPFS Tools
Tool | Description | Parameters |
| Get collector UTXOs for fee distribution |
|
| Store text content on IPFS |
|
| Retrieve content from IPFS by CID |
|
Interest Tools (v3)
Tool | Description | Parameters |
| Build a tx to collect accrued interest for one or more CDPs |
|
| Build a tx to distribute collected interest (admin) |
|
| Feed a new interest rate to the interest oracle (admin) |
|
| Read the current interest oracle state for an iAsset |
|
Oracle / Pyth Tools (v3)
Tool | Description | Parameters |
| On-chain price for an iAsset (OracleNft / Delisted / Pyth) |
|
| Current Pyth price for an iAsset, plus its on-chain feed config |
|
| Feed a new price to an OracleNft-backed price oracle (admin) |
|
Stableswap Tools (v3)
Tool | Description | Parameters |
| Get the stableswap pool state for an (iAsset, collateral) |
|
| Build a tx to swap collateral↔iAsset via the stableswap pool |
|
| Build a tx to cancel a stableswap order |
|
A stableswap pool is identified by its iAsset and its collateral, which is a stablecoin
rather than ADA. collateralAsset takes the token name (USDA, USDM, …) or
<policyId>.<assetNameHex>. It can be left out when the iAsset has a single pool; when it
has several, the error lists the choices. get_stableswap_pool also reports whether minting
and redemption are enabled and the minimum order amounts.
Environment Variables
Variable | Required | Default | Description |
| No |
| Indigo analytics API base URL |
| For write ops | — | Blockfrost project ID for transaction building |
| No |
| Cardano network: |
| No |
| Transport mode: |
| No |
| HTTP server port (only used when |
| No |
| HTTP bind address (only used when |
| No | — | EVM private key ( |
| No |
| Settlement worker / proxy URL |
| No |
| Use Base Sepolia testnet |
| No | — | Fallback facilitator (used only when |
Example Queries
When connected to an LLM agent, you can ask natural language questions like:
"What are the current prices of all Indigo iAssets?"
"What is the price of iUSD right now?"
"How much is ADA worth in USD?"
"Show me all iETH CDPs"
"What CDPs does this address own?" (paste a Cardano address)
"Analyze the health of my CDPs" (with your address or payment key hash)
"Are any of my positions at risk of liquidation?"
"Show me the current stability pool state"
"What are my stability pool deposits?" (with your address)
"How much INDY am I staking?" (with your address)
"What's the current TVL of Indigo?"
"What APR can I earn on iUSD stability pool?"
"What are the current governance protocol parameters?"
"Show me the iUSD redemption queue"
"Get a Steelswap estimate for swapping 100 ADA to iUSD"
"What are the current DEX yields for iAsset pairs?"
Distribution
The server is published to two places, and they are not the same artifact.
Target | Built by | Output | Published by |
npm — |
|
| CI, on a |
MCP Registry — |
| metadata only | CI, on a |
The npm publish uses no stored secret. The package's trusted publisher is set on
npmjs.com (package Settings, Trusted publishing, GitHub Actions) to organization
IndigoProtocol, repository indigo-mcp, workflow ci.yml, no environment, with
npm publish allowed. If a tag's publish job fails with an authentication error,
check that configuration first.
The container image (Dockerfile) builds from source with the same
scripts/build.sh and is used by Fly and any other container host.
The bundle leaves undici, libsodium-sumo and libsodium-wrappers-sumo
external, so they must stay in dependencies: without them neither the npm
package nor the container image can start.
Cutting a release
Test from an up-to-date main before bumping the version.
Install and run every check:
pnpm install --frozen-lockfile --ignore-scripts pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm buildStart the packed tarball from an empty folder. CI builds the bundle but never starts it, so this is the only check that catches a missing runtime dependency or a WASM file copied from the wrong package. Running
node dist/index.jsinside the repo is not enough: the repo'snode_moduleshides both problems.npm pack mkdir /tmp/indigo-smoke && cd /tmp/indigo-smoke && npm init -y npm install /path/to/indigoprotocol-indigo-mcp-X.Y.Z.tgz echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}' \ | node node_modules/@indigoprotocol/indigo-mcp/dist/index.jsIt must print an
initializeresult, not a stack trace.With
BLOCKFROST_API_KEYset, build one transaction per write-tool family against mainnet (open_cdpfor each iAsset, then one each of the mint, stability pool, staking, ROB, stableswap and leverage tools). The tools return unsigned CBOR, so nothing is submitted. Do this whenever the SDK, lucid or the system params URL changed.If the
Dockerfileor the dependencies changed, check the image Fly will build:docker build -t indigo-mcp:rc . && docker run --rm -p 3000:3000 indigo-mcp:rc curl -s localhost:3000/health
Release.
Merge the version bump:
versioninpackage.json(SERVER_VERSIONis read from it) and bothversionfields inserver.jsonTag the merge commit on
main:git tag vX.Y.Z && git push origin vX.Y.ZCI publishes to npm, then to the MCP Registry (the registry verifies ownership via the package's
mcpNamefield, so npm has to go first)Verify against the registry, not the workflow:
npm view @indigoprotocol/indigo-mcp version, then repeat step 2 installing@indigoprotocol/indigo-mcp@X.Y.Zfrom npm instead of the tarballfly deployfor the hosted HTTP endpoint, then confirmcurl -s https://indigo-mcp.fly.dev/healthreports the new versiongh release create vX.Y.Z --generate-notes
Development
Prerequisites
Node.js >= 22.23.4 (the Brotli decoder fix for CVE-2026-111497; the server refuses to start on older runtimes)
npm
Setup
git clone https://github.com/IndigoProtocol/indigo-mcp.git
cd indigo-mcp
npm install
npm run dev # run with tsx (hot reload)Scripts
npm run build # compile TypeScript
npm run start # run compiled server
npm run dev # run with tsx (hot reload)
npm run typecheck # type-check without emitting
npm run lint # eslint
npm run lint:fix # eslint --fix
npm run format # prettier
npm run format:check # prettier --check
npm run test # run tests
npm run test:watch # run tests in watch modeProject Structure
src/
├── index.ts # Server entry point (stdio transport)
├── payment.ts # x402 configuration: chain addresses + tool price tiers
├── payment-client.ts # withAutoPayment: client-side auto-pay on 402 responses
├── types/
│ └── tx-types.ts # UnsignedTxResult, TxSummary types
├── tools/
│ ├── index.ts # Tool registration hub
│ ├── asset-tools.ts # 5 asset/price tools
│ ├── cdp-tools.ts # 4 CDP/loan tools
│ ├── stability-pool-tools.ts # 3 stability pool tools
│ ├── staking-tools.ts # 4 INDY staking tools
│ ├── staking-write-tools.ts # 3 INDY staking write tools
│ ├── staking-reward-tools.ts # 1 staking reward distribution tool
│ ├── cdp-liquidation-tools.ts # 4 CDP liquidation/redemption/freeze/merge tools
│ ├── leverage-cdp-tools.ts # 1 leveraged CDP tool
│ ├── rob-write-tools.ts # 5 ROB write tools
│ ├── sp-request-tools.ts # 2 SP request processing tools
│ ├── analytics-tools.ts # 5 analytics/APR tools
│ ├── governance-tools.ts # 3 governance tools
│ ├── redemption-tools.ts # 3 redemption/order book tools
│ ├── dex-tools.ts # 4 DEX proxy tools
│ └── collector-tools.ts # 3 collector/IPFS tools
├── resources/
│ └── index.ts # MCP resource definitions
├── tests/
│ ├── unit/
│ │ ├── tools/ # Unit tests for each tool module
│ │ └── utils/ # Unit tests for validators, address
│ └── integration/
│ └── indexer-client.test.ts # Integration test for HTTP client
└── utils/
├── index.ts # Re-exports
├── indexer-client.ts # Axios client for Indigo analytics API
├── validators.ts # Zod validators (AssetParam enum)
├── address.ts # Bech32 address → payment credential
├── lucid-provider.ts # Lucid + Blockfrost singleton provider
├── sdk-config.ts # SystemParams loader with cache
└── tx-builder.ts # Transaction builder → unsigned CBORTesting via stdin
The server communicates over stdio using JSON-RPC. You can test tools directly:
npm run build
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.1.0"}}}' | node dist/index.jsx402 Payment Gating
Indigo MCP optionally gates tools behind per-call micropayments using the x402 protocol. Payment is disabled by default — set at least one wallet address to enable it.
How it works
Payment uses the split execution model — the same architecture as openMM-MCP:
A tool is called (no payment header needed from the caller)
The gate intercepts and contacts the settlement worker (
mcp.openmm.ioby default)Worker responds
402with EIP-3009 requirements (amount, recipient, chain)Gate signs locally using
X402_PRIVATE_KEY— the key never leaves this processGate retries with the signed payment → worker verifies on-chain, issues a JWT
Gate verifies JWT locally, executes the original tool handler
Settlement tx hash is injected into the tool response
This keeps process isolation clean: indigo-mcp never holds the recipient wallet — only the payer key. Verification and settlement are handled by the openmm.io proxy.
Read tools (
get_tvl,get_asset_price, …) cost $0.001 USDC per callAnalysis tools (
analyze_cdp_health) cost $0.005 USDC per callWrite tools (
open_cdp,mint_cdp, …) cost $0.01 USDC per call
Environment variables
Variable | Required | Default | Description |
| to enable | — | EVM private key ( |
| optional |
| Settlement worker / proxy URL |
| optional |
| Use Base Sepolia testnet |
| optional | — | Fallback facilitator URL (used only when |
Split execution flow
When X402_PRIVATE_KEY is set, every paid tool call is handled transparently:
Gate contacts
PAYMENT_SERVER(https://mcp.openmm.ioby default)Signs EIP-3009 locally — the private key never leaves this process
Proxy verifies on-chain, issues a short-lived JWT
Gate verifies JWT, executes tool, injects settlement tx hash into response
If X402_PRIVATE_KEY is not set the gate is disabled and all tools execute without payment.
# Minimal: just set the payer key (proxy defaults to mcp.openmm.io)
X402_PRIVATE_KEY=0xYourPayerPrivateKey npx @indigoprotocol/indigo-mcp
# Self-hosted proxy
X402_PRIVATE_KEY=0xYourPayerPrivateKey \
PAYMENT_SERVER=https://your-own-proxy \
npx @indigoprotocol/indigo-mcpLocal development
# 1. Copy example env
cp .env.example .env
# Edit .env and set X402_PRIVATE_KEY to a funded Base Sepolia wallet
# 2. Start the HTTP server
MCP_TRANSPORT=http PORT=3000 npm run dev
# 3. Run the payment e2e tests
X402_TESTNET=true npm test -- x402-paymentMCP client config with x402
Add the env block to whichever MCP config file your client uses:
Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id",
"X402_PRIVATE_KEY": "0xYourPayerPrivateKey",
"X402_TESTNET": "true"
}
}
}
}Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": ["-y", "@indigoprotocol/indigo-mcp"],
"env": {
"INDEXER_URL": "https://analytics.indigoprotocol.io/api",
"BLOCKFROST_API_KEY": "your-blockfrost-project-id",
"X402_PRIVATE_KEY": "0xYourPayerPrivateKey",
"X402_TESTNET": "true"
}
}
}
}Cursor / Windsurf — same env block applies to ~/.cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json.
Set
X402_TESTNETtofalse(or omit it) for Base mainnet.
License
ISC
Available Tools
69 toolsadjust_robA
Adjust ADA amount in an ROB buy order (positive to increase, negative to decrease). Optionally update the max price (numerator/denominator). Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), robTxHash (required), robOutputIndex (required), lovelacesAdjustAmount (required), +2 more.
adjust_sp_accountA
Deposit to or withdraw from an existing stability pool account. Positive amount deposits, negative withdraws. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: asset (required), amount (required), address (required), accountTxHash (required), +1 more.
adjust_staking_positionA
Adjust an existing INDY staking position (add or remove INDY). Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: amount (required), address (required), positionTxHash (required), positionOutputIndex (required).
analyze_cdp_healthA
Analyze collateral ratios and liquidation risk of CDPs for an owner, accounting for accrued interest
Inputs: owner (required).
annul_sp_requestA
Cancel a pending stability pool request. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), accountTxHash (required), accountOutputIndex (required).
burn_cdpA
Burn iAssets to reduce CDP debt — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), amount (required), address (required), cdpTxHash (required), +1 more.
cancel_robA
Cancel an existing ROB position. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), robTxHash (required), robOutputIndex (required).
cancel_stableswap_orderA
Cancel an outstanding stableswap order and reclaim funds. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), orderTxHash (required), orderOutputIndex (required).
claim_robB
Claim received iAssets from an ROB position. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), robTxHash (required), robOutputIndex (required).
close_cdpA
Close a CDP and reclaim collateral — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), address (required), cdpTxHash (required), cdpOutputIndex (required).
close_sp_accountA
Close a stability pool account and withdraw all deposited iAssets. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), accountTxHash (required), accountOutputIndex (required).
close_staking_positionA
Close an INDY staking position and unstake all INDY. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), positionTxHash (required), positionOutputIndex (required).
collect_interestA
Batch-collect accrued interest from one or more CDP positions into the interest collector — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: cdps (required), asset (required), address (required).
create_sp_accountA
Create a new stability pool account by depositing iAssets. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: asset (required), amount (required), address (required).
create_stableswap_orderA
Submit a stableswap order: swap the pool collateral for iAsset (minting=true) or iAsset for the pool collateral (minting=false). Returns an unsigned transaction (CBOR hex) for client-side signing. See get_stableswap_pool for the collateral asset and minimum order amounts.
Inputs: asset (required), amount (required), address (required), minting (required), +1 more.
deposit_cdpA
Deposit additional ADA collateral into a CDP — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), amount (required), address (required), cdpTxHash (required), +1 more.
distribute_interestA
Distribute accumulated interest from collector UTxOs to the admin interest collector — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: address (required), collectorTxHashes (required), collectorOutputIndices (required).
distribute_staking_rewardsA
Distribute collected ADA rewards from collector UTxOs to staking positions. This is a protocol maintenance operation that anyone can call. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: address (required), collectorTxHashes (required).
feed_interest_oracleA
ADMIN/MAINTENANCE: Update the interest rate stored in an interest oracle UTxO. Builds an unsigned transaction (CBOR hex) that must be signed by the oracle owner key. Requires the oracle contract parameters (biasTime in milliseconds, owner pubkey hash hex) which are fixed at contract deployment and must be supplied by the protocol admin.
Inputs: asset (required), address (required), oracleOwner (required), oracleBiasTime (required), +1 more.
feed_price_oracleA
Feed a new price to an OracleNft-backed price oracle — builds an unsigned transaction (CBOR hex) for admin signing. Only applicable to assets whose priceInfo is OracleNft; Pyth-priced assets are updated via signed Pyth messages, not this tool.
Inputs: asset (required), address (required), priceNumerator (required), priceDenominator (required).
freeze_cdpA
Freeze a CDP to prevent further operations until unfrozen — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), address (required), cdpTxHash (required), cdpOutputIndex (required).
get_ada_priceB
Get the current ADA price in USD
Inputs: no named parameters.
get_all_cdpsB
Get all CDPs, optionally filtered by iAsset
Inputs: asset, limit, offset.
get_apr_by_keyC
Get APR for a specific key
Inputs: key (required).
get_apr_rewardsB
Get all APR reward records
Inputs: no named parameters.
get_assetB
Get details for a specific Indigo iAsset
Inputs: asset (required).
get_asset_priceA
Get the current price(s) for a specific Indigo iAsset, per collateral asset (ADA and others)
Inputs: asset (required).
get_assetsA
Get all Indigo iAssets with their prices
Inputs: no named parameters.
get_blockfrost_balancesB
Get token balances for a Cardano address via Blockfrost
Inputs: address (required).
get_cdps_by_addressB
Get all CDPs for a specific Cardano address
Inputs: address (required).
get_cdps_by_ownerA
Get all CDPs for a specific owner (accepts payment key hash or bech32 address)
Inputs: owner (required).
get_collector_utxosC
Get collector UTXOs for fee distribution
Inputs: length.
get_dex_yieldsB
Get DEX farm yields for iAsset pairs
Inputs: no named parameters.
get_indy_priceA
Get the current INDY token price in ADA and USD
Inputs: no named parameters.
get_interest_oracleA
Read the current interest oracle state for an asset — returns the on-chain interest rate, unitary interest accumulator, and last-updated timestamp
Inputs: asset (required).
get_iris_liquidity_poolsB
Get liquidity pools from Iris, optionally filtered by tokens or DEX
Inputs: dex, tokenA, tokenB.
get_oracle_priceA
Get the on-chain price for an iAsset from its price oracle. Handles OracleNft (reads the oracle UTxO datum), Delisted (returns the delisted price), and Pyth/DeferredValidation (delegates to get_pyth_price).
Inputs: asset (required).
get_order_bookB
Get open ROB (redemption order book) positions, optionally filtered by iAsset or owners
Inputs: asset, owners.
get_pollsB
Get all governance polls
Inputs: no named parameters.
get_protocol_paramsB
Get latest governance protocol parameters
Inputs: no named parameters.
get_protocol_statsC
Get aggregated protocol statistics
Inputs: no named parameters.
get_pyth_priceA
Get the current Pyth price for an iAsset, together with its on-chain feed configuration. The price is the latest signed Pyth update served by the Indigo analytics API — the same payload the CDP write tools embed on-chain — and is only valid on-chain until validUntil.
Inputs: asset (required).
get_redemption_ordersB
Get executed redemption orders, optionally filtered by iAsset
Inputs: asset, limit.
get_redemption_queueB
Get the open ROB order-book entries for a specific iAsset
Inputs: asset (required).
get_sp_account_by_ownerB
Get stability pool accounts for specific owners (accepts payment key hashes or bech32 addresses)
Inputs: owners (required).
get_stability_pool_accountsA
Get all open stability pool accounts, optionally filtered by iAsset
Inputs: asset.
get_stability_poolsA
Get the latest stability pool state for each iAsset (snapshots, epoch-to-scale-to-sum, asset states)
Inputs: no named parameters.
get_stableswap_poolA
Find the stableswap pool for an iAsset and return its state: collateral asset, exchange ratio, fees, whether minting and redemption are enabled, and minimum order amounts
Inputs: asset (required), collateralAsset.
get_staking_infoA
Get the current INDY staking manager state (total stake, snapshot ada, output ref)
Inputs: no named parameters.
get_staking_position_by_addressB
Get INDY staking positions for a single Cardano address
Inputs: address (required).
get_staking_positionsB
Get all open INDY staking positions
Inputs: no named parameters.
get_staking_positions_by_ownerA
Get INDY staking positions for specific owners (accepts payment key hashes or bech32 addresses)
Inputs: owners (required).
get_steelswap_estimateC
Get a swap estimate from Steelswap DEX
Inputs: tokenIn (required), amountIn (required), tokenOut (required).
get_steelswap_tokensB
Get all tokens available on Steelswap DEX
Inputs: no named parameters.
get_temperature_checksC
Get temperature check polls
Inputs: no named parameters.
get_tvlB
Get protocol TVL history
Inputs: no named parameters.
leverage_cdpA
Open a leveraged CDP by redeeming against ROB positions — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), address (required), leverage (required), baseCollateral (required).
liquidate_cdpA
Liquidate an undercollateralized CDP through the stability pool — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), address (required), cdpTxHash (required), cdpOutputIndex (required).
merge_cdpsA
Merge multiple CDPs into one — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: address (required), cdpOutRefs (required).
mint_cdpA
Mint additional iAssets from an existing CDP (increases debt) — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), amount (required), address (required), cdpTxHash (required), +1 more.
open_cdpA
Open a new CDP position with ADA collateral — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), address (required), mintAmount (required), collateralAmount (required).
open_robA
Open a new ROB (Redemption Order Book) buy order: deposit ADA to buy an iAsset up to a max price. The max price is a rational number (numerator/denominator). Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: asset (required), address (required), lovelacesAmount (required), maxPriceNumerator (required), +1 more.
open_staking_positionA
Stake INDY tokens by creating a new staking position. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: amount (required), address (required).
process_sp_requestA
Process a pending stability pool request (protocol maintenance operation). Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: asset (required), address (required), accountTxHash (required), accountOutputIndex (required).
redeem_cdpA
Redeem iAssets from a CDP — builds an unsigned transaction (CBOR hex) for client-side signing. To redeem the maximum possible, pass the total minted amount.
Inputs: asset (required), amount (required), address (required), cdpTxHash (required), +1 more.
redeem_robA
Redeem iAssets against one or more ROB positions for a given iAsset. Returns an unsigned transaction (CBOR hex) for client-side signing.
Inputs: asset (required), address (required), redemptionRobs (required).
retrieve_from_ipfsC
Retrieve content from IPFS by CID
Inputs: cid (required).
store_on_ipfsC
Store text content on IPFS
Inputs: text (required).
withdraw_cdpA
Withdraw ADA collateral from a CDP — builds an unsigned transaction (CBOR hex) for client-side signing
Inputs: asset (required), amount (required), address (required), cdpTxHash (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 69 tools
Most tools target distinct resources and actions, but several read variants overlap: get_staking_positions vs get_staking_position_by_address vs get_staking_positions_by_owner, get_cdps_by_owner vs get_cdps_by_address, and get_order_book vs get_redemption_queue. Descriptions help clarify these, but the number of overlapping read/filter tools creates real misselection risk.
The set is predominantly consistent snake_case verb_noun naming (get_*, create_*, open_*, adjust_*, close_*). Minor deviations exist, such as annul_sp_request versus the more common cancel_* pattern and store_on_ipfs/retrieve_from_ipfs, but the convention remains readable.
With 69 tools, the surface is very heavy for a single MCP server and includes many redundant read/filter variants plus out-of-scope integrations like IPFS, Steelswap, Iris, and Blockfrost. While the DeFi protocol is complex, many tools feel like they could be consolidated or omitted.
Coverage is broad across CDPs, stableswap, stability pools, staking, ROB order book, interest, oracles, governance, and analytics. Minor gaps remain, such as no direct single-CDP lookup by ID and limited governance write/vote operations, but most workflows are workable.
Maintenance
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server for the Z1N Protocol - on-chain identity for AI agents on Polygon
Hyperliquid MCP server with live and historical market, wallet and liquidation data for AI agents.
Hyperliquid MCP server with live and historical market, wallet and liquidation data for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for Cardano blockchain data — exposes on-chain queries, address lookups, transaction history, token metadata, stake pool info, and network parameters to LLM agents.4MIT
- AlicenseNot gradedqualityDmaintenanceAgent-native, self-hosted MCP server for crypto trading and DeFi management. Enables agents to query balances, execute trades, and manage positions with a policy engine and secure key storage.8Apache 2.0
- AlicenseCqualityDmaintenanceMCP server enabling LLMs to interact with a Cardano node by wrapping cardano-cli/torsten-cli, supporting queries, transactions, staking, and governance operations.64MIT
- FlicenseBqualityDmaintenanceAn MCP server that provides LLMs with access to 95 tools covering the Koios Cardano blockchain REST API, enabling queries for on-chain data like transactions, addresses, assets, and governance.923-