indigo-mcp
v0.5.1Indigo Protocol MCP — iAsset prices, CDP analytics, stability pools, staking & governance
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_tvl
Get protocol TVL history
get_apr_rewards
Get all APR reward records
get_apr_by_key
Get APR for a specific key
| Parameter | Type | Description |
|---|---|---|
key * | string | APR key, e.g. sp_iUSD_indy, sp_iUSD_ada, stake_ada |
get_dex_yields
Get DEX farm yields for iAsset pairs
get_protocol_stats
Get aggregated protocol statistics
get_assets
Get all Indigo iAssets with their prices
get_asset
Get details for a specific Indigo iAsset
| Parameter | Type | Description |
|---|---|---|
asset * | string |
get_asset_price
Get the current price(s) for a specific Indigo iAsset, per collateral asset (ADA and others)
| Parameter | Type | Description |
|---|---|---|
asset * | string |
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, optionally filtered by iAsset
| Parameter | Type | Description |
|---|---|---|
asset | string | |
limit | number | |
offset | number |
get_cdps_by_owner
Get all CDPs for a specific owner (accepts payment key hash or bech32 address)
| Parameter | Type | Description |
|---|---|---|
owner * | string | Owner payment key hash (56-char hex) or bech32 address |
get_cdps_by_address
Get all CDPs for a specific Cardano address
| Parameter | Type | Description |
|---|---|---|
address * | string | Cardano bech32 address (addr1... or addr_test1...) |
analyze_cdp_health
Analyze collateral ratios and liquidation risk of CDPs for an owner, accounting for accrued interest
| Parameter | Type | Description |
|---|---|---|
owner * | string | Owner payment key hash (56-char hex) or bech32 address |
mint_cdp
Mint additional iAssets from an existing CDP (increases debt) — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
amount * | string | iAsset amount to mint in smallest unit |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
burn_cdp
Burn iAssets to reduce CDP debt — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
amount * | string | iAsset amount to burn in smallest unit |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
open_cdp
Open a new CDP position with ADA collateral — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
asset * | string | |
collateralAmount * | string | ADA collateral amount in lovelace |
mintAmount * | string | iAsset amount to mint in smallest unit |
deposit_cdp
Deposit additional ADA collateral into a CDP — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
amount * | string | Lovelace amount to deposit |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
withdraw_cdp
Withdraw ADA collateral from a CDP — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
amount * | string | Lovelace amount to withdraw |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
close_cdp
Close a CDP and reclaim collateral — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
liquidate_cdp
Liquidate an undercollateralized CDP through the stability pool — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
redeem_cdp
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
amount * | string | iAsset amount to redeem in smallest unit (pass total minted amount to redeem max) |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
freeze_cdp
Freeze a CDP to prevent further operations until unfrozen — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
asset * | string | |
cdpOutputIndex * | number | Output index of the CDP UTxO |
cdpTxHash * | string | Transaction hash of the CDP UTxO |
merge_cdps
Merge multiple CDPs into one — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
cdpOutRefs * | array | Array of CDP UTxO references to merge (minimum 2) |
get_collector_utxos
Get collector UTXOs for fee distribution
| Parameter | Type | Description |
|---|---|---|
length | number | Maximum number of UTXOs to return |
store_on_ipfs
Store text content on IPFS
| Parameter | Type | Description |
|---|---|---|
text * | string | Text content to store on IPFS |
retrieve_from_ipfs
Retrieve content from IPFS by CID
| Parameter | Type | Description |
|---|---|---|
cid * | string | IPFS content identifier (CID) |
get_steelswap_tokens
Get all tokens available on Steelswap DEX
get_steelswap_estimate
Get a swap estimate from Steelswap DEX
| Parameter | Type | Description |
|---|---|---|
amountIn * | number | Amount of input token |
tokenIn * | string | Input token identifier |
tokenOut * | string | Output token identifier |
get_iris_liquidity_pools
Get liquidity pools from Iris, optionally filtered by tokens or DEX
| Parameter | Type | Description |
|---|---|---|
dex | string | DEX name filter |
tokenA | string | First token identifier |
tokenB | string | Second token identifier |
get_blockfrost_balances
Get token balances for a Cardano address via Blockfrost
| Parameter | Type | Description |
|---|---|---|
address * | string | Cardano bech32 address |
get_protocol_params
Get latest governance protocol parameters
get_temperature_checks
Get temperature check polls
get_polls
Get all governance polls
leverage_cdp
Open a leveraged CDP by redeeming against ROB positions — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address (addr1... or addr_test1...) |
asset * | string | |
baseCollateral * | string | Base ADA collateral amount in lovelace |
leverage * | number | Leverage multiplier (e.g. 2.0 for 2x leverage) |
open_rob
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
asset * | string | |
lovelacesAmount * | string | ADA amount in lovelace to deposit into the ROB |
maxPriceDenominator * | string | Max price denominator (integer string) |
maxPriceNumerator * | string | Max price numerator (integer string) |
cancel_rob
Cancel an existing ROB position. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
robOutputIndex * | number | Output index of the ROB UTxO |
robTxHash * | string | Transaction hash of the ROB UTxO |
adjust_rob
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
lovelacesAdjustAmount * | string | Lovelace adjustment amount (positive to add, negative to remove) |
robOutputIndex * | number | Output index of the ROB UTxO |
robTxHash * | string | Transaction hash of the ROB UTxO |
newMaxPriceDenominator | string | Optional new max price denominator (integer string) |
newMaxPriceNumerator | string | Optional new max price numerator (integer string) |
claim_rob
Claim received iAssets from an ROB position. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
robOutputIndex * | number | Output index of the ROB UTxO |
robTxHash * | string | Transaction hash of the ROB UTxO |
redeem_rob
Redeem iAssets against one or more ROB positions for a given iAsset. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
asset * | string | iAsset being redeemed against the ROB positions |
redemptionRobs * | array | Array of ROB positions and amounts to redeem against |
get_order_book
Get open ROB (redemption order book) positions, optionally filtered by iAsset or owners
| Parameter | Type | Description |
|---|---|---|
asset | string | |
owners | array |
get_redemption_orders
Get executed redemption orders, optionally filtered by iAsset
| Parameter | Type | Description |
|---|---|---|
asset | string | |
limit | number | Max number of records (default 100) |
get_redemption_queue
Get the open ROB order-book entries for a specific iAsset
| Parameter | Type | Description |
|---|---|---|
asset * | string |
process_sp_request
Process a pending stability pool request (protocol maintenance operation). Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
accountOutputIndex * | number | Output index of the account UTxO |
accountTxHash * | string | Transaction hash of the account UTxO with the pending request |
address * | string | User Cardano bech32 address |
asset * | string | iAsset of the stability pool (iUSD, iBTC, iETH, or iSOL) |
annul_sp_request
Cancel a pending stability pool request. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
accountOutputIndex * | number | Output index of the account UTxO |
accountTxHash * | string | Transaction hash of the account UTxO with the pending request |
address * | string | User Cardano bech32 address |
get_stability_pools
Get the latest stability pool state for each iAsset (snapshots, epoch-to-scale-to-sum, asset states)
get_stability_pool_accounts
Get all open stability pool accounts, optionally filtered by iAsset
| Parameter | Type | Description |
|---|---|---|
asset | string |
get_sp_account_by_owner
Get stability pool accounts for specific owners (accepts payment key hashes or bech32 addresses)
| Parameter | Type | Description |
|---|---|---|
owners * | array | Array of payment key hashes or bech32 addresses |
create_sp_account
Create a new stability pool account by depositing iAssets. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
amount * | string | Amount of iAsset to deposit (in smallest unit) |
asset * | string | iAsset to deposit (iUSD, iBTC, iETH, or iSOL) |
adjust_sp_account
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.
| Parameter | Type | Description |
|---|---|---|
accountOutputIndex * | number | Output index of the account UTxO |
accountTxHash * | string | Transaction hash of the account UTxO |
address * | string | User Cardano bech32 address |
amount * | string | Amount to adjust (positive = deposit, negative = withdraw, in smallest unit) |
asset * | string | iAsset of the stability pool (iUSD, iBTC, iETH, or iSOL) |
close_sp_account
Close a stability pool account and withdraw all deposited iAssets. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
accountOutputIndex * | number | Output index of the account UTxO |
accountTxHash * | string | Transaction hash of the account UTxO |
address * | string | User Cardano bech32 address |
get_staking_info
Get the current INDY staking manager state (total stake, snapshot ada, output ref)
get_staking_positions
Get all open INDY staking positions
get_staking_positions_by_owner
Get INDY staking positions for specific owners (accepts payment key hashes or bech32 addresses)
| Parameter | Type | Description |
|---|---|---|
owners * | array | Array of payment key hashes or bech32 addresses |
get_staking_position_by_address
Get INDY staking positions for a single Cardano address
| Parameter | Type | Description |
|---|---|---|
address * | string | Cardano bech32 address |
distribute_staking_rewards
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
collectorTxHashes * | array | Array of collector UTxO references to distribute rewards from |
open_staking_position
Stake INDY tokens by creating a new staking position. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
amount * | string | INDY amount to stake (in smallest unit) |
adjust_staking_position
Adjust an existing INDY staking position (add or remove INDY). Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
amount * | string | INDY amount to adjust (positive = stake more, negative = unstake) |
positionOutputIndex * | number | Output index of the staking position UTxO |
positionTxHash * | string | Transaction hash of the staking position UTxO |
close_staking_position
Close an INDY staking position and unstake all INDY. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
positionOutputIndex * | number | Output index of the staking position UTxO |
positionTxHash * | string | Transaction hash of the staking position UTxO |
collect_interest
Batch-collect accrued interest from one or more CDP positions into the interest collector — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | Caller Cardano bech32 address (addr1... or addr_test1...) |
asset * | string | |
cdps * | array | CDP UTxO references to collect interest from |
distribute_interest
Distribute accumulated interest from collector UTxOs to the admin interest collector — builds an unsigned transaction (CBOR hex) for client-side signing
| Parameter | Type | Description |
|---|---|---|
address * | string | Caller Cardano bech32 address |
collectorOutputIndices * | array | Output indices corresponding to each collectorTxHashes entry (same order) |
collectorTxHashes * | array | Transaction hashes of the non-admin interest collector UTxOs to distribute |
feed_interest_oracle
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | Oracle owner Cardano bech32 address |
asset * | string | |
newInterestRate * | string | New interest rate as an on-chain integer (scaled; e.g. 5_000_000 = 5 % p.a. in the protocol encoding) |
oracleBiasTime * | string | Oracle contract biasTime parameter in milliseconds (bigint string; fixed at deployment) |
oracleOwner * | string | Oracle contract owner parameter as a hex-encoded public key hash (fixed at deployment) |
get_interest_oracle
Read the current interest oracle state for an asset — returns the on-chain interest rate, unitary interest accumulator, and last-updated timestamp
| Parameter | Type | Description |
|---|---|---|
asset * | string |
get_oracle_price
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).
| Parameter | Type | Description |
|---|---|---|
asset * | string |
get_pyth_price
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.
| Parameter | Type | Description |
|---|---|---|
asset * | string |
feed_price_oracle
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | Admin Cardano bech32 address (addr1... or addr_test1...) |
asset * | string | |
priceDenominator * | string | New price denominator (integer string) |
priceNumerator * | string | New price numerator (integer string) |
get_stableswap_pool
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
| Parameter | Type | Description |
|---|---|---|
asset * | string | iAsset name, e.g. iUSD |
collateralAsset | string | Collateral asset of the pool: its token name (e.g. USDA), '<policyId>.<assetNameHex>', or ADA. Optional when the iAsset has a single stableswap pool, which is then used. |
create_stableswap_order
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.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
amount * | string | Amount to swap in the smallest unit of the asset being paid in: the collateral when minting, the iAsset when redeeming |
asset * | string | iAsset name, e.g. iUSD |
minting * | boolean | true = collateral → iAsset (mint direction); false = iAsset → collateral (redeem direction) |
collateralAsset | string | Collateral asset of the pool: its token name (e.g. USDA), '<policyId>.<assetNameHex>', or ADA. Optional when the iAsset has a single stableswap pool, which is then used. |
cancel_stableswap_order
Cancel an outstanding stableswap order and reclaim funds. Returns an unsigned transaction (CBOR hex) for client-side signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | User Cardano bech32 address |
orderOutputIndex * | number | Output index of the stableswap order UTxO |
orderTxHash * | string | Transaction hash of the stableswap order UTxO |