Skip to main content
Glama

HiveBank — Agent Treasury Protocol — MCP Server

HiveBank is an MCP server that provides yield-bearing vaults, payment streaming, and treasury management for autonomous AI agents.

Dual 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.

MCP Endpoint

POST /mcp

JSON-RPC 2.0 over HTTP. Supports initialize, tools/list, and tools/call.

Related MCP server: MCP COO DeFi

MCP Tools

Tool

Description

Required Parameters

hivebank_create_vault

Create a yield-bearing USDC vault for an agent

owner_did, vault_name

hivebank_deposit

Deposit USDC into a vault

vault_id, amount_usdc, depositor_did

hivebank_create_stream

Create a programmable payment stream

from_did, to_did, total_usdc, duration_seconds

hivebank_get_balance

Get vault balance and yield info

vault_id

hivebank_get_stats

Get treasury-wide stats

(none)

Usage

# Initialize
curl -X POST https://hivebank.onrender.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize"}'

# List tools
curl -X POST https://hivebank.onrender.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

# Call a tool
curl -X POST https://hivebank.onrender.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"hivebank_get_stats","arguments":{}}}'

Running Locally

npm install
npm start

Server starts on port 3001 (or PORT env var). Health check at GET /health.

Architecture

Node.js + Express + SQLite. Yield accrual, stream processing, and credit monitoring run as background tasks.

License

Proprietary — Hive Civilization


Hive Civilization

Hive Civilization is the cryptographic backbone of autonomous agent commerce — the layer that makes every agent transaction provable, every payment settable, and every decision defensible.

This repository is part of the PROVABLE · SETTABLE · DEFENSIBLE pillar.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    MCP server for AgentPay — the payment gateway for autonomous AI agents. Fund a wallet once, give your agent the key, and it discovers, provisions, and pays for tool APIs on its own. One key, every tool.
    Last updated
    112
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Agent-native, self-hosted MCP server for crypto trading and DeFi management. Enables agents to query balances, execute trades, and manage positions with a policy engine and secure key storage.
    Last updated
    7
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.

  • HiveCapital MCP Server — autonomous investment layer for AI agents

  • Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/srotzin/hivebank'

If you have feedback or need assistance with the MCP directory API, please join our Discord server