hive-mcp-cdn
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hive-mcp-cdnget the cached object for key 'agent_profile_123'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hive-mcp-cdn
Edge cache for A2A capabilities — Hive Civilization
A small, inbound-only MCP server that caches arbitrary objects (agent cards, capability manifests, signed envelopes, anything an A2A pipeline reads more than once). Two-tier storage with an in-memory LRU and a SQLite warm tier, ETag and If-None-Match support, a purge endpoint, and per-request and per-GB metering through x402.
Council provenance: Ad-hoc, user-promoted 2026-04-27.
What this is
Most A2A traffic is reads — the same agent card, the same capability list, the same signed proof — fanned out across a fleet that has no shared cache. hive-mcp-cdn is the missing edge cache. Agents put objects under a key and fetch them back through a cheap, ETag-aware GET.
Protocol: MCP 2024-11-05 over Streamable-HTTP / JSON-RPC 2.0
Transport:
POST /mcpDiscovery:
GET /.well-known/mcp.jsonHealth:
GET /healthSettlement: USDC on Base L2
Brand gold: Pantone 1245 C /
#C08D23Mode: Inbound only.
ENABLE=truedefault.
Related MCP server: x402engine-mcp
Pricing
Surface | Price | Charged on |
Per request | $0.0002 USDC | Every |
Per GB egress | $0.05 USDC | Body bytes returned in |
Prepay bundle | $1.00 USDC | Buys an access token; reads draw from the prepaid balance until depletion. |
Settlement on Base L2 USDC. The recipient is the WALLET_ADDRESS env var.
Tools
Tool | Tier | Description |
| 2 ($0.0002/req + $0.05/GB) | Read a cached object by key. Honors |
| 0 (free) | Store under a key with optional |
| 0 (free) | Purge a single key. Idempotent. |
REST endpoints
Method | Path | Purpose |
|
| Read. Sends |
|
| Write |
|
| Purge |
|
| Daily counters: requests, hits, misses, bytes served, revenue. |
|
| Submit on-chain proof, mint access token. |
|
| Pricing schedule. |
|
| Open nonces and active tokens. |
|
| Service health and cache stats. |
|
| MCP discovery descriptor. |
|
| Landing page. |
Storage model
Two tiers, both managed by the shim:
Hot (LRU): an in-process
Mapwith insertion-order recency. Bounded byCDN_LRU_MAX_ENTRIESandCDN_LRU_MAX_BYTES. Misses fall through to warm and promote on read.Warm (SQLite):
better-sqlite3atCDN_DB_PATH(default/tmp/cdn.db). Onecachetable with body, ETag, content type, size in bytes, created and expiry timestamps. A secondegresstable aggregates daily counters.
size_bytes is tracked per row and is the basis for the egress meter. ETags are computed once at write time as the SHA-256 hex of the body, truncated to 32 chars and double-quoted.
x402 flow
The first call to /v1/cdn/get without a token returns:
{
"error": "payment_required",
"payment": {
"nonce": "<uuid>",
"amount_usd": 1.0,
"pricing": {
"per_request_usd": 0.0002,
"per_gb_egress_usd": 0.05
},
"accepts": [{ "chain": "base", "asset": "USDC", "recipient": "0x15184b..." }],
"expires_at": 1777220000,
"tier": 2,
"product": "cdn_prepaid_bundle"
}
}Submit proof to /v1/x402/proof/submit:
{ "nonce": "...", "payer": "0x...", "chain": "base", "tx_hash": "0x..." }…then call /v1/cdn/get with X-Hive-Access: hive_<token>. Each request decrements the prepaid balance by per_request + (bytes / 1GB) * per_gb_egress. The residual balance rides the X-Hive-Balance-USD response header.
Cache semantics
Cache-Control: max-age=<s>onPUTsets the TTL. Default300seconds. Capped at 7 days.ETag is a strong validator (SHA-256 prefix in quotes).
If-None-Match: <etag>onGETreturns304 Not Modifiedwith no body and no egress charge.Expired entries are dropped lazily on read and on a 60-second sweep.
A
PUTover an existing key replaces the body, ETag, content type, TTL, and resets the hit counter.
Environment
Var | Default | Purpose |
|
| HTTP port. |
|
| Master switch. |
|
| Recipient for x402 fees. |
|
| Per-request fee. |
|
| Per-GB egress fee. |
|
| Default prepay bundle size. |
|
| Default TTL for objects without explicit |
|
| Hot-tier entry cap. |
|
| Hot-tier byte cap (64 MiB). |
|
| Per-object size limit (4 MiB). |
|
| SQLite warm-tier path. |
What this server will not do
Make outbound requests of any kind. The cache only holds what was put into it.
Resolve URLs, fetch origins, or revalidate against a backing store.
Enforce per-key access control. Treat keys as opaque namespaces and gate them upstream if you need privacy.
Persist beyond the SQLite file. On a fresh container with a new
/tmp, the cache is empty.
License
MIT.
Hive Gamification
This MCP server is part of the Hive Civilization gamification surface (10-mechanic capability taxonomy).
Capability taxonomy: https://hive-gamification.onrender.com/.well-known/hive-gamification.json
Centrifuge dashboard: https://hive-gamification.onrender.com/.well-known/hive-centrifuge.json
Consolidated OpenAPI: https://hive-gamification.onrender.com/.well-known/openapi.json
Surface tags: gamification.spec.v1 · gamification.surface.public · gamification.signal.read-only · gamification.settlement.real-rails
Real rails on Base L2 (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Read-only signal layer. Brand gold #C08D23.
Hive Civilization Directory
Part of the Hive Civilization — agent-native financial infrastructure.
Endpoint Directory: https://thehiveryiq.com
Live Leaderboard: https://hive-a2amev.onrender.com/leaderboard
Revenue Dashboard: https://hivemine-dashboard.onrender.com
Other MCP Servers: https://github.com/srotzin?tab=repositories&q=hive-mcp
Brand: #C08D23
This server cannot be installed
Maintenance
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
Alicense-qualityCmaintenanceAn MCP server that enables AI agents to search, pay for, and call paid APIs using the x402 protocol, with automatic USDC settlement.Last updated2MIT- AlicenseBqualityDmaintenanceMCP server providing AI agents access to 38 pay-per-call APIs (LLM, image, code, audio, crypto, web, IPFS) via HTTP 402 micropayments in USDC/USDm.Last updated22295MIT
- FlicenseAqualityBmaintenanceMCP server for a live x402 payment gateway on Base (USDC). Lets AI agents discover, preview for free, then pay per call — with prepaid gasless payments, signed receipts, and delta delivery.Last updated7
- Alicense-qualityDmaintenanceMCP server for the x402 protocol that lets AI agents discover and call payment-gated HTTP APIs automatically.Last updated122Apache 2.0
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/hive-mcp-cdn'
If you have feedback or need assistance with the MCP directory API, please join our Discord server