Claude Code
claude mcp add stackit https://www.stackit.ai/api/mcp
Reviewed 2026-11-10. This is availability information, not a live system-health check.
Public demo / sandbox
Check Website MCP and RESTIn development
Check Base production APITestnet only
Check x402 paymentsAutomation can fail. Liquidation and loss remain possible. Availability and evidence limits
MCP Server
Connect Stackit.ai through MCP, run public treasury reads, simulate actions, inspect fees, and prepare wallet-sovereign transaction envelopes without handing Stackit.ai private keys.
Last updated June 25, 2026
claude mcp add stackit https://www.stackit.ai/api/mcp
{
"mcpServers": {
"stackit": {
"url": "https://www.stackit.ai/api/mcp"
}
}
}{
"name": "stackit",
"transport": "http",
"endpoint": "https://www.stackit.ai/api/mcp"
}Use this before MCP setup if you want to verify the gateway from any shell. The browser sandbox runs the same public demo contract.
curl -s https://www.stackit.ai/api/v1/public/gateway-status | jq
Every tool states its permission level and whether it can move funds. Real-money execution always requires a wallet signature or user-approved automation permissions.
get_market_ratesFetch live native-USDC variable borrow APYs from Aave V3 on Base, Arbitrum, and Polygon.
{ "chain": "base", "asset": "USDC" }{ "object": "market_rates", "environment": "live", "asset": "USDC", "rates": [{ "chain": "base", "borrow_apy_pct": "live" }] }get_liquidation_distanceCalculate price-drop distance to liquidation from a supplied LTV.
{ "ltv": 40 }{ "price_drop_to_liquidation_pct": 49.04, "stackit_recommended_ceiling_ltv": 60 }get_portfolio_stateReturn demo or wallet-specific treasury collateral, debt, LTV, and health score.
{ "address": "demo" }{ "collateral_value_usd": 123900, "debt_value_usd": 48500, "current_ltv": 39.14 }get_policy_stateRead policy bands, permission state, protection status, gas caps, and fee references.
{ "address": "demo" }{ "protection_status": "active", "fee_schedule_ref": "https://www.stackit.ai/fees.json" }preview_actionSimulate a treasury action and return fee, LTV impact, safety result, and unsigned envelope hints.
{ "action": "borrow", "amount": 5000, "asset": "USDC", "current_ltv": 39.14 }{ "approved": true, "stackit_fee_usdc": 100, "requires_signature": true }create_treasuryRegister a simulated treasury bound to a wallet for sandbox contract testing.
{ "wallet_address": "0x1111111111111111111111111111111111111111", "execution_mode": "wallet" }{ "sandbox": true, "treasury_id": "trs_...", "api_key": "sk_test_..." }relay_signed_transactionRelay a wallet-signed transaction for a pending unsigned envelope.
{ "tx_id": "tx_...", "signed_transaction": "0x..." }{ "object": "relay_receipt", "status": "confirmed", "simulated": true }request_live_accessSubmit an agent live-access request for human review without leaving the protocol.
{ "operator_name": "Ada Operator", "operator_email": "ada@example.com", "use_case": "Treasury monitoring and borrow previews" }{ "object": "agent_access_request", "status": "received", "status_url": "https://www.stackit.ai/api/v1/agents/apply/agr_..." }get_gateway_statusCheck gateway health, supported chains, public API base, x402 readiness, and status.
{}{ "object": "gateway_status", "status": "online", "supported_assets": ["BTC", "ETH", "USDC"] }{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "preview_action",
"arguments": {
"action": "borrow",
"amount": 5000,
"asset": "USDC",
"current_ltv": 39.14
}
}
}{
"error": "ltv_limit_exceeded",
"approved": false,
"message": "Borrow would exceed the 60% recommended ceiling.",
"safe_amount": 4200,
"current_ltv": 55,
"resulting_ltv": 67.3
}Use Stackit.ai to analyze a sample BTC/ETH treasury and explain risk.
Simulate borrowing USDC against ETH at conservative LTV.
Create a DCA policy for a founder treasury with 12-month runway.
Explain Stackit.ai fees using the machine-readable fee file.
Show what actions require human approval.
Prepare but do not execute a treasury action.
The sandbox playground can run public reads, action previews, fee inspection, and safety-rail rejections without an account.