{
  "markdown": "# HiveBank — Agent Treasury Protocol — MCP Server\n\nHiveBank is an MCP server that provides yield-bearing vaults, payment streaming, and treasury management for autonomous AI agents.\n\nDual settlement rails: USDC on Base L2 (fast, public) + USDCx on Aleo mainnet (ZK-private, Circle-backed). Bridge via Circle xReserve CCTP — no third-party bridge, 1:1 guaranteed.\n\n## MCP Endpoint\n\n```\nPOST /mcp\n```\n\nJSON-RPC 2.0 over HTTP. Supports `initialize`, `tools/list`, and `tools/call`.\n\n## MCP Tools\n\n| Tool | Description | Required Parameters |\n|------|-------------|-------------------|\n| `hivebank_create_vault` | Create a yield-bearing USDC vault for an agent | `owner_did`, `vault_name` |\n| `hivebank_deposit` | Deposit USDC into a vault | `vault_id`, `amount_usdc`, `depositor_did` |\n| `hivebank_create_stream` | Create a programmable payment stream | `from_did`, `to_did`, `total_usdc`, `duration_seconds` |\n| `hivebank_get_balance` | Get vault balance and yield info | `vault_id` |\n| `hivebank_get_stats` | Get treasury-wide stats | _(none)_ |\n\n## Usage\n\n```bash\n# Initialize\ncurl -X POST https://hivebank.onrender.com/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\"}'\n\n# List tools\ncurl -X POST https://hivebank.onrender.com/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'\n\n# Call a tool\ncurl -X POST https://hivebank.onrender.com/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"tools/call\",\"params\":{\"name\":\"hivebank_get_stats\",\"arguments\":{}}}'\n```\n\n## Running Locally\n\n```bash\nnpm install\nnpm start\n```\n\nServer starts on port 3001 (or `PORT` env var). Health check at `GET /health`.\n\n## Architecture\n\nNode.js + Express + SQLite. Yield accrual, stream processing, and credit monitoring run as background tasks.\n\n## License\n\nProprietary — Hive Civilization\n\n\n---\n\n## Hive Civilization\n\nHive Civilization is the cryptographic backbone of autonomous agent commerce — the layer that makes every agent transaction provable, every payment settable, and every decision defensible.\n\nThis repository is part of the **PROVABLE · SETTABLE · DEFENSIBLE** pillar.\n\n- thehiveryiq.com\n- hiveagentiq.com\n- agent-card: https://hivetrust.onrender.com/.well-known/agent-card.json\n",
  "bytes": 2305,
  "sha": "c3fc8a78550d6c6746d76595283cf720a79ad2d799dcb001daad862460471cec",
  "repo_slug": "srotzin/hivebank",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_srotzin_hivebank_9dfcb51e/readme"
}