{
  "name": "imba-agent",
  "description": "IMBA prepaid agent API: register a key, fund USDT TRC-20, buy cards/eSIM/gifts. Not Partner B2B (no /api/partner, no ledger 2403). Not a human Wallet session. Not a ChatGPT money plugin. Two MCP servers: docs (default) and spend (operator key only).",
  "version": "0.1.0",
  "documentation": "https://api-docs.imbawallet.com/agent",
  "howto": "https://imbawallet.com/agent_api_about_en.html",
  "documentation_ru": "https://imbawallet.com/agent_api_about_rus.html",
  "tiers": "https://imbawallet.com/agent_tiers_about_en.html",
  "openapi": "https://imbawallet.com/openapi/agent.json",
  "discovery_openapi": "https://imbawallet.com/openapi/agent-discovery.json",
  "llms": "https://imbawallet.com/llms-agent.txt",
  "auth": {
    "register": "https://imbawallet.com/auth/v1/agent/register",
    "token": "https://imbawallet.com/auth/v1/agent/token",
    "jwks": "https://imbawallet.com/auth/v1/partner/jwks"
  },
  "deposit": {
    "network": "TRC-20",
    "asset": "USDT",
    "unfunded_hold_hours": 24,
    "must_refetch_address_before_send": true
  },
  "agent_tier": {
    "default": 0,
    "live": "All agents start at tier 0. Catalog spend only. Convert closed (AML).",
    "tier_0": {
      "can": ["deposit_usdt_trc20", "buy_catalog", "receive_otp"],
      "cannot": ["withdraw", "c2c", "convert", "stars", "evm", "btc", "partner"]
    },
    "tier_1_plus": "Operator-granted after demonstrated catalog use (cards/eSIM/gifts). The agent cannot self-promote. Convert at tier 1 is a separate request (AML / refuse laundering through the service); raising the number does not turn convert on. Withdraw and C2C stay closed."
  },
  "otp": {
    "sms": false,
    "telegram": false,
    "email": "optional email on register or PATCH /auth/v1/agent/webhook",
    "inbox": "notifications payload keeps code",
    "webhook_field": "otp"
  },
  "forbidden": ["withdraw", "c2c", "convert", "fx_quote", "fx_execute", "stars", "evm", "btc", "partner"],
  "mcp": {
    "docs": {
      "name": "com.imbawallet/agent-docs",
      "npm": "@imbawallet/agent-mcp-docs",
      "remote": "https://imbawallet.com/mcp/docs",
      "well_known": "https://imbawallet.com/.well-known/mcp/server.json"
    },
    "spend": {
      "name": "com.imbawallet/agent",
      "npm": "@imbawallet/agent-mcp",
      "remote": "https://imbawallet.com/mcp/spend",
      "well_known": "https://imbawallet.com/.well-known/mcp/spend.server.json",
      "auth": "Operator Ed25519 key in stdio env or X-IMBA-Agent-* headers. No shared host wallet."
    }
  },
  "catalogs": {
    "openai_plugin_listing": "https://imbawallet.com/.well-known/ai-plugin.json",
    "mcp_manifest": "https://imbawallet.com/.well-known/mcp",
    "mcp_docs": "https://imbawallet.com/.well-known/mcp/server.json",
    "mcp_docs_card": "https://imbawallet.com/.well-known/mcp/server-card.json",
    "mcp_spend": "https://imbawallet.com/.well-known/mcp/spend.server.json",
    "mcp_spend_card": "https://imbawallet.com/.well-known/mcp/spend.server-card.json",
    "mcp_pointer": "https://imbawallet.com/.well-known/mcp.json",
    "claude_listing": "https://imbawallet.com/.well-known/claude-plugin.json",
    "cursor_listing": "https://imbawallet.com/.well-known/cursor.json"
  }
}
