
Indigo Mcp
io.github.IndigoProtocol由 GitHub 账号 IndigoProtocol 发布v0.4.2更新于 Oct 24, 2026
Indigo Protocol MCP — iAsset prices, CDP analytics, stability pools, staking & governance
概览
让助手读取 Indigo Protocol 的 Cardano DeFi 数据,并构建 CDP、质押、稳定池和赎回订单的未签名交易。
- 可以做什么
- 提供约 69 个工具,涵盖 iAsset 以及 ADA/INDY 价格、CDP 与贷款浏览、按所有者查询、CDP 健康度与清算风险分析、稳定池状态、INDY 质押仓位、TVL 与 APR 等协议分析、治理投票以及赎回订单簿。写入类工具会构建未签名 CBOR 交易,用于开立、追加抵押、提取抵押、铸造、销毁、赎回、冻结、合并和清算 CDP,以及质押、稳定池请求、ROB 仓位、稳定币兑换订单和管理员利息或价格预言机喂价。它还代理 Steelswap 兑换估价、Iris 流动性池、Blockfrost 余额和 IPFS 存储。
- 适用场景
- 适合助手需要查看 Cardano 上的 Indigo Protocol 仓位或协议指标,或需要为用户准备待签名的 Cardano DeFi 交易时使用。只读查询无需 Blockfrost 密钥,因此也可以仅为分析目的添加。
- 运行要求
- 通过 npm 安装或使用 npx 运行的本地 Node.js 进程;setup 命令可配置 Claude Desktop、Claude Code、Cursor 或 Windsurf。可选环境变量包括 INDEXER_URL、CARDANO_NETWORK、MCP_TRANSPORT、PORT 和 HOST。构建交易的写入操作需要 BLOCKFROST_API_KEY。可选的 X402_PRIVATE_KEY、PAYMENT_SERVER、X402_TESTNET 和 X402_FACILITATOR_URL 与支付流程相关。需要访问 Indigo 分析 API 和 Blockfrost 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Indigo Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Indigo MCP
[Smithery] [npm downloads] [Ask DeepWiki]
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)
AI Skills (13 skills) — Optional
The setup commands auto-configure Claude Desktop, Claude Code, Cursor, or Windsurf. No manual config editing needed.
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:
This 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:
Or run directly with npx (no install needed):
Docker
The image builds the server from source — no prior pnpm build needed, and no
dependency on any external build step:
It 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:
This 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):
Standard config:
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:
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:
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project-level):
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
OpenClaw
Install Indigo skills for OpenClaw:
Skills 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:
Any MCP-Compatible Client
Run the server directly via stdio:
Or install globally and reference the binary:
For 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
CDP / Loan Tools
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.
CDP Mint/Burn Tools
CDP Liquidation & Redemption Tools
Leverage CDP Tools
Stability Pool Tools
Staking Tools
Stability Pool Request Tools
Staking Write Tools
Staking Reward Tools
Analytics & APR Tools
Governance Tools
Redemption & Order Book Tools
ROB Write Tools
DEX Proxy Tools
Collector & IPFS Tools
Interest Tools (v3)
Oracle / Pyth Tools (v3)
Stableswap Tools (v3)
Environment Variables
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 three places, and they are not the same artifact.
The container image (Dockerfile) builds from source and is used by Fly and any
other container host. It does not consume .smithery/ output — that path is
Smithery-specific.
Cutting a release
- Merge the version bump (
package.json;SERVER_VERSIONis read from it) git tag vX.Y.Z && git push origin vX.Y.Z- CI 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 fly deployfor the hosted HTTP endpoint, andpnpm smithery:publishfor Smithery
Development
Prerequisites
- Node.js >= 20 (the bundled
undicirequires theFileglobal, added in Node 20) - npm
Setup
Scripts
Project Structure
Testing via stdin
The server communicates over stdio using JSON-RPC. You can test tools directly:
x402 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 process - Gate 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 call - Analysis tools (
analyze_cdp_health) cost $0.005 USDC per call - Write tools (
open_cdp,mint_cdp, …) cost $0.01 USDC per call
Environment variables
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.
Local development
MCP client config with x402
Add the env block to whichever MCP config file your client uses:
Claude Code (~/.claude/settings.json):
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
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
来源:README.md,提交 de00632
工具
0版本历史
1- v0.4.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分