D-09 · MCP for agents
[D-09]Reference
MCP for agents
Add Corbel to any MCP client. The agent gets Trust checks, quotes, a pre-trade guard, the radar and the mandate lab as tools. It reads only; nothing signs.
Add it to a client#
{
"mcpServers": {
"corbel": {
"command": "node",
"args": ["--experimental-strip-types", "packages/mcp/src/server.ts"],
"env": { "CORBEL_API": "https://corbel.finance" }
}
}
}Tools#
| Tool | Arguments | Does |
|---|---|---|
| trade_guard | token, side, amount, policy | Allow or deny one trade under the owner's policy, rule by rule. Trade only on allow. |
| trust_check | query | Seven checks on a token: an address or a ticker. |
| quote | from, to, amount | Simulates a swap on every route at the latest block. |
| radar | limit (1 to 50) | Newest pools with launcher count and drained state. |
| mandate_scenarios | none | Lists the attacks for the mandate lab. |
| mandate_try | scenario | Runs one attack against a real mandate in a simulation. |
