hive-mcp-cdn
Click on "Deploy 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: x402-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 deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing 330 production AI-agent services for web/data processing, validation, AI utilities, blockchain/crypto utilities, and x402 pay-per-use access.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Accountless pay-per-use sandbox, storage, locks, attestation and handoff. Paid over MCP with x402.
Related MCP Servers
- 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.2229 npmMIT
- AlicenseNot gradedqualityFmaintenanceMCP server for the x402 protocol that lets AI agents discover and call payment-gated HTTP APIs automatically.121 npmApache 2.0

oom-x402-mcpofficial
FlicenseNot gradedqualityBmaintenanceMCP server exposing 1,000+ pay-per-call API endpoints across agent infrastructure (memory, coordination, secrets, verification), data, compute, finance, weather, geography, and reference categories — payments via x402 protocol in USDC on Base.-- AlicenseNot gradedqualityCmaintenanceAgent-native object storage MCP server with per-agent DID isolation and x402 pay-per-byte metering in real Base USDC, enabling autonomous agents to store and retrieve objects with hot, warm, or cold retention classes.MIT