# IndigoProtocol/indigo-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/IndigoProtocol/indigo-mcp  
**GitHub Stars:** 6  
**npm Downloads (last month):** 1015  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/indigoprotocol-indigo-mcp

## Description
MCP server for Indigo Protocol on Cardano — iAsset prices, CDP/loan analytics, stability pools, INDY staking, governance, and DEX data for LLM agents

## Tools
Capabilities this server exposes over MCP:

- **get_assets** — Get all Indigo iAssets with prices and interest data
- **get_asset** — Get details for a specific iAsset
- **get_asset_price** — Get the current price for a specific iAsset
- **get_ada_price** — Get the current ADA price in USD
- **get_indy_price** — Get the current INDY token price in ADA and USD
- **get_all_cdps** — Get all CDPs/loans, optionally filtered by iAsset
- **get_cdps_by_owner** — Get CDPs for a specific owner
- **get_cdps_by_address** — Get CDPs for a specific Cardano address
- **analyze_cdp_health** — Analyze collateral ratios and liquidation risk
- **open_cdp** — Open a new CDP position (returns unsigned CBOR tx)
- **deposit_cdp** — Deposit additional collateral into a CDP
- **withdraw_cdp** — Withdraw collateral from a CDP
- **close_cdp** — Close a CDP and reclaim collateral
- **mint_cdp** — Mint additional iAssets from an existing CDP (increases debt)
- **burn_cdp** — Burn iAssets to reduce CDP debt
- **liquidate_cdp** — Liquidate an undercollateralized CDP through the stability pool
- **redeem_cdp** — Redeem iAssets from a CDP
- **freeze_cdp** — Freeze a CDP to prevent further operations
- **merge_cdps** — Merge multiple CDPs into one
- **leverage_cdp** — Open a leveraged CDP by redeeming against ROB positions
- **get_stability_pools** — Get the latest stability pool state for each iAsset
- **get_stability_pool_accounts** — Get all open stability pool accounts, optionally filtered by iAsset
- **get_sp_account_by_owner** — Get stability pool accounts for specific owners
- **get_staking_info** — Get the current INDY staking manager state
- **get_staking_positions** — Get all open INDY staking positions
- **get_staking_positions_by_owner** — Get INDY staking positions for specific owners
- **get_staking_position_by_address** — Get INDY staking positions for a single address
- **process_sp_request** — Process a pending stability pool request (protocol maintenance)
- **annul_sp_request** — Cancel a pending stability pool request
- **open_staking_position** — Stake INDY tokens by creating a new staking position
- **adjust_staking_position** — Adjust an existing staking position (add or remove INDY)
- **close_staking_position** — Close a staking position and unstake all INDY
- **distribute_staking_rewards** — Distribute collected ADA rewards from collector UTxOs to stakers
- **get_tvl** — Get historical TVL data from DefiLlama
- **get_apr_rewards** — Get all APR reward records
- **get_apr_by_key** — Get APR for a specific key
- **get_dex_yields** — Get DEX farm yields for iAsset pairs
- **get_protocol_stats** — Get aggregated protocol statistics
- **get_protocol_params** — Get latest governance protocol parameters
- **get_temperature_checks** — Get temperature check polls
- **get_polls** — Get all governance polls
- **get_order_book** — Get open ROB (redemption order book) positions
- **get_redemption_orders** — Get executed redemption orders
- **get_redemption_queue** — Get open ROB order-book entries for an iAsset
- **open_rob** — Open a new ROB position with ADA and a max price limit
- **cancel_rob** — Cancel an existing ROB position
- **adjust_rob** — Adjust ADA in a ROB (positive to add, negative to remove)
- **claim_rob** — Claim received iAssets from an ROB position
- **redeem_rob** — Redeem iAssets against one or more ROB positions
- **get_steelswap_tokens** — Get all tokens available on Steelswap DEX
- **get_steelswap_estimate** — Get a swap estimate from Steelswap
- **get_iris_liquidity_pools** — Get liquidity pools from Iris
- **get_blockfrost_balances** — Get token balances for a Cardano address
- **get_collector_utxos** — Get collector UTXOs for fee distribution
- **store_on_ipfs** — Store text content on IPFS
- **retrieve_from_ipfs** — Retrieve content from IPFS by CID
- **collect_interest** — Build a tx to collect accrued interest for one or more CDPs
- **distribute_interest** — Build a tx to distribute collected interest (admin)
- **feed_interest_oracle** — Feed a new interest rate to the interest oracle (admin)
- **get_interest_oracle** — Read the current interest oracle state for an iAsset
- **get_oracle_price** — On-chain price for an iAsset (OracleNft / Delisted / Pyth)
- **get_pyth_price** — Current Pyth price for an iAsset, plus its on-chain feed config
- **feed_price_oracle** — Feed a new price to an OracleNft-backed price oracle (admin)
- **get_stableswap_pool** — Get the stableswap pool state for an (iAsset, collateral)
- **create_stableswap_order** — Build a tx to swap collateral↔iAsset via the stableswap pool
- **cancel_stableswap_order** — Build a tx to cancel a stableswap order

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "indigo-mcp": {
    "command": "npx",
    "args": ["-y","@indigoprotocol/indigo-mcp"],
    "env": {
      "BLOCKFROST_API_KEY": "",
      "INDEXER_URL": "",
      "MCP_TRANSPORT": "",
      "HOST": "",
      "PORT": "",
      "MCP_PORT": ""
    }
  }
}
```

**Requires environment variables:** `BLOCKFROST_API_KEY`, `INDEXER_URL`, `MCP_TRANSPORT`, `HOST`, `PORT`, `MCP_PORT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What IndigoProtocol/indigo-mcp does

IndigoProtocol/indigo-mcp exposes Indigo Protocol data and operations to AI agents through the Model Context Protocol. Its coverage includes iAssets, ADA and INDY prices, collateralized debt positions (CDPs), stability pools, and INDY staking.

The server supports both analysis and protocol actions. Agents can inspect CDP collateral ratios and liquidation risk, find positions by owner or Cardano address, and retrieve staking or stability pool records. Write-oriented tools build unsigned Cardano transaction CBOR for actions such as opening, depositing into, withdrawing from, minting, burning, closing, freezing, merging, or liquidating CDPs.

## How it works

The package runs as an MCP server over stdio for local clients. It also supports Streamable HTTP for remote deployments. Set `MCP_TRANSPORT=http` to use HTTP; the server exposes `POST /mcp` for MCP traffic and `GET /health` for health checks. HTTP clients receive an `Mcp-Session-Id` during initialization and send that identifier with later requests.

Data access uses Indigo’s indexer, configured with `INDEXER_URL`. Blockchain transaction construction uses Blockfrost, configured with `BLOCKFROST_API_KEY`. Read-only tools can run without the Blockfrost key, but write operations that build transactions require it.

## Setup and configuration

The recommended setup command is:

```bash
npx @indigoprotocol/indigo-mcp setup
```

The interactive setup asks which client to configure, requests a Blockfrost API key, and updates the client configuration. Supported setup targets named by the package include Claude Desktop, Claude Code, Cursor, and Windsurf.

For a local installation, install the npm package globally or run it directly with `npx`:

```bash
npm install -g @indigoprotocol/indigo-mcp
npx @indigoprotocol/indigo-mcp
```

A typical configuration supplies the Indigo indexer URL and Blockfrost key:

```json
{
  "command": "npx",
  "args": ["-y", "@indigoprotocol/indigo-mcp"],
  "env": {
    "INDEXER_URL": "https://analytics.indigoprotocol.io/api",
    "BLOCKFROST_API_KEY": "your-blockfrost-project-id"
  }
}
```

Docker and HTTP deployments can use port and host environment settings. `MCP_PORT` is accepted as an alias for `PORT`.

## Tools and capabilities

The tool set includes:

- Retrieve all iAssets, individual asset details, interest data, and current prices.
- Query ADA and INDY prices in the supported currencies.
- Browse all CDPs or filter them by iAsset, owner, or Cardano address.
- Assess collateral ratios and liquidation risk.
- Build unsigned transactions for CDP creation, collateral and debt changes, closure, liquidation, redemption, freezing, and merging.
- Open leveraged CDPs through redemption order book positions.
- Inspect stability pool states and accounts, then process or cancel pending pool requests.
- Query INDY staking manager state and staking positions, and open a staking position.

The package can also be used alongside the separate Cardano MCP server when wallet tools are needed.

## Limitations and notes

Blockfrost access is needed for transaction-building operations; read-only market and analytics queries do not require that key. CDP write tools return unsigned transaction CBOR, so this server’s documented role is to construct the transaction rather than provide wallet signing. HTTP deployments require clients to preserve the session identifier returned during initialization. The server can be run locally or through a hosted deployment referenced by the project.

_Full upstream README: https://allmcps.com/mcp/indigoprotocol-indigo-mcp/readme_

