close_cdp

Close a CDP and reclaim collateral — builds an unsigned transaction (CBOR hex) for client-side signing

SERVERIndigo Protocol MCP SOURCEindigoprotocol/indigo-mcp
Critical RISK CLASS
Category Financial
Parameters 40 required
Recommended Approval-gatedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/indigoprotocol-indigo-mcp/close-cdp.md

What close_cdp does on Indigo Protocol MCP

AI agents use close_cdp to commit financial operations through Indigo Protocol MCP, usually the final step of a payment, billing, or trading workflow. A call moves real money.

ParameterTypeRequiredDescription
asset string
address string User Cardano bech32 address
cdpTxHash string Transaction hash of the CDP UTxO
cdpOutputIndex number Output index of the CDP UTxO

Parameters from the server's own tool schema.

Why close_cdp is rated Critical

Closing a CDP (Collateralized Debt Position) is a financial operation on a DeFi protocol that involves repaying debt and reclaiming collateral. This directly interacts with financial obligations and assets on Indigo Protocol. While the transaction requires client-side signing, the tool constructs the transaction that would execute this financial action, making it Financial category.

From the tool's definition Close a CDP and reclaim collateral — builds an unsigned transaction (CBOR hex) for client-side signing

Questions about close_cdp

What does the close_cdp tool do? +

Close a CDP and reclaim collateral — builds an unsigned transaction (CBOR hex) for client-side signing. It is categorised as a Financial tool in the Indigo Protocol MCP MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

What parameters does close_cdp accept? +

close_cdp accepts 4 parameters: asset, address, cdpTxHash, cdpOutputIndex. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on close_cdp? +

Register the Indigo Protocol MCP server in PolicyLayer and add a rule for close_cdp: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Indigo Protocol MCP. Nothing to install.

What risk level is close_cdp? +

close_cdp is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit close_cdp? +

Yes. Add a rate_limit block to the close_cdp rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block close_cdp completely? +

Set action: deny in the PolicyLayer policy for close_cdp. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides close_cdp? +

close_cdp is provided by the Indigo Protocol MCP server (indigoprotocol/indigo-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Indigo Protocol, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Indigo Protocol's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.