Edge content delivery for autonomous agents — signed manifests, A2A authentication
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-srotzin-hive-mcp-cdn": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Edge cache for A2A capabilities — Hive Civilization
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud / security
MCP Server for GCP environment for interacting with various Observability APIs.
MCP server for Datto SaaS Protection — M365/GWS backups, restores, seats.
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform. It provides a set of tools that interact with Yunxiao's API, allowing AI assistants to manage Codeup repository, Project, Pipeline, Packages etc.
MCP Security Weekly
Get CVE alerts and security updates for io.github.srotzin/hive-mcp-cdn and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
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.
POST /mcpGET /.well-known/mcp.jsonGET /health#C08D23ENABLE=true default.| Surface | Price | Charged on |
|---|---|---|
| Per request | $0.0002 USDC | Every /v1/cdn/get, hit or miss. |
| Per GB egress | $0.05 USDC | Body bytes returned in 200 responses. 304 responses do not bill egress. |
| 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.
| Tool | Tier | Description |
|---|---|---|
cdn_cache_get | 2 ($0.0002/req + $0.05/GB) | Read a cached object by key. Honors if_none_match. |
cdn_cache_put | 0 (free) | Store under a key with optional Cache-Control: max-age=.... |
cdn_purge | 0 (free) | Purge a single key. Idempotent. |
| Method | Path | Purpose |
|---|---|---|
GET | /v1/cdn/get?key=... | Read. Sends ETag, Cache-Control, X-Cache, Age. Honors If-None-Match. |
POST | /v1/cdn/put | Write { key, body, content_type?, cache_control? }. |
POST | /v1/cdn/purge | Purge { key }. |
GET | /v1/cdn/today | Daily counters: requests, hits, misses, bytes served, revenue. |
POST | /v1/x402/proof/submit | Submit on-chain proof, mint access token. |
GET | /v1/x402/pricing | Pricing schedule. |
GET | /v1/x402/stats | Open nonces and active tokens. |
GET | /health | Service health and cache stats. |
GET | /.well-known/mcp.json | MCP discovery descriptor. |
GET | / | Landing page. |
Two tiers, both managed by the shim:
Map with insertion-order recency. Bounded by CDN_LRU_MAX_ENTRIES and CDN_LRU_MAX_BYTES. Misses fall through to warm and promote on read.better-sqlite3 at CDN_DB_PATH (default /tmp/cdn.db). One cache table with body, ETag, content type, size in bytes, created and expiry timestamps. A second egress table 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.
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..." }
`
... [View full README on GitHub](https://github.com/srotzin/hive-mcp-cdn#readme)