Hive Sla Monitor

io.github.srotzinPublished by GitHub account srotzinv1.0.0Updated Oct 24, 2026

Service level agreement monitoring for the Hive agent fleet

VerifiedStreamable HTTPWeb executableFinanceSecurity & Monitoring

Overview

AI-generated overview

Remote MCP server that registers public health endpoints and reports observed uptime, p95 latency and SLA breach records for agents.

What you can do
Register and unregister public health endpoints for scheduled probing, with target uptime and p95 latency goals (registration is billed per probe). Read observed uptime and p95 latency over a rolling window for a registered monitor. Read recent breach records written when a rolling window misses its targets. Probing is read-only HTTP on a 60-second schedule with an 8-second timeout; 2xx and 3xx count as up, 5xx and timeouts as down.
When to use it
Use it when you want an assistant to watch the availability and latency of public endpoints and surface SLA breaches, for example for an agent fleet or a set of services with uptime commitments. It is observational only and does not settle or underwrite claims.
Requirements
A remote Streamable-HTTP endpoint; no local runtime or account is declared. Paid calls require a USDC payment proof on Base L2, submitted via the X-Payment header or exchanged for an access token used in X-Hive-Access. The registered endpoint must be publicly reachable over HTTP.
Before you install
Several operations cost money: registration is billed per probe, status reads and breach-history reads are paid, and payment is in USDC on Base L2 to a recipient address. Payment proofs are tied to on-chain transactions and a single transaction hash can only be redeemed once. Registering an endpoint makes its URL known to the service and causes recurring outbound probes. Breach data is observational only and carries a disclaimer.

Installation

In SourceWeft

  1. Open Hive Sla Monitor in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.srotzin%2Fhive-mcp-sla-monitor/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "hive-sla-monitor": {
      "type": "http",
      "url": "https://hive-mcp-sla-monitor.onrender.com/mcp"
    }
  }
}

README

hive-mcp-sla-monitor

[srotzin/hive-mcp-sla-monitor MCP server]

SLA observation broker for the A2A network. Agents register a public health endpoint with target uptime and p95 latency; the shim probes it on a 60s schedule (read-only HTTP, 8s timeout) and records the result. When a rolling window misses the targets, a breach record is written. Reading breach records is paid. Inbound only. ENABLE=true by default.

Brand color: #C08D23 (Pantone 1245 C, Hive Civilization gold).

Observation only

Hive does not underwrite or settle SLA claims. This is observational data only. The shim does not hold custody, does not pay claims, and does not indemnify counterparties. The disclaimer rides every paid response and every breach record.

Surface

LayerEndpointDescription
MCPPOST /mcpJSON-RPC 2.0, Streamable-HTTP, protocol 2024-11-05.
DiscoveryGET /.well-known/mcp.jsonTool list and transport metadata.
RESTPOST /v1/sla/registerRegister an endpoint. 402 if no proof.
RESTGET /v1/sla/status/{id}Read observed uptime and p95. 402 if no proof.
RESTGET /v1/sla/breaches?monitor_id=…Read recent breach records. 402 if no proof.
RESTGET /v1/sla/todayUTC-day ledger snapshot. Free.
HealthGET /healthLiveness, pricing, recipient address.
RootGET /HTML for browsers, JSON for agents (Accept-header sniff).

Tools

NameTierCostDescription
sla_register1$0.01/probeRegister a public endpoint for probing.
sla_status1$0.01Read observed uptime and p95 over the rolling window.
sla_breach_history2$0.10Read recent breach records. Disclaimer rides every record.
sla_unregister0freeDeactivate a monitor.

Probe semantics

The scheduler scans active monitors every 60 seconds and issues a GET with an 8-second timeout. 2xx and 3xx count as up; 5xx and timeouts count as down. Probe rows are stored at /tmp/sla.db along with the monitor record and any breach records.

The breach evaluator runs after each probe. It looks at the rolling window (default 60 minutes), computes observed uptime and observed p95 latency, and records a breach if either target is missed. Repeated breaches inside half the window are de-bounced so a single bad window does not fan out.

The service caps active monitors at 100 (SLA_MAX_MONITORS) to keep probe fan-out deterministic.

x402 envelope

Every paid endpoint returns a 402 envelope on first hit:

json
{  "error": "payment_required",  "x402_version": 1,  "disclaimer": "Hive does not underwrite or settle SLA claims. This is observational data only.",  "payment": {    "nonce": "…",    "amount_usd": 0.01,    "accept_min_usd": 0.007,    "accepts": [{      "chain": "base",      "asset": "USDC",      "contract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",      "decimals": 6,      "recipient": "0x15184bf50b3d3f52b60434f8942b7d52f2eb436e",      "scheme": "exact"    }],    "tier": 1,    "product": "sla_register",    "floor_pct": 0.7  }}

Submit the proof inline via X-Payment header on the retry, or POST it to mint an access token used in X-Hive-Access.

Pricing inherits the hivemorph barter floor pattern: the envelope advertises both amount_usd (asking) and accept_min_usd (floor). A client may submit a proof whose on-chain paid amount is anywhere in [floor, asking] and the shim accepts it.

Settlement

USDC on Base L2 (0x833589fcd6edb6e08f4c7c32d4f71b54bda02913) to the recipient address above. Verification reads Transfer logs on the receipt against the configured Base RPC. Real chain reads, no mocks. A single tx_hash may only be redeemed once.

Environment

VariableDefaultNotes
PORT3000HTTP port.
ENABLEtrueWhen false, only /health and / respond.
WALLET_ADDRESS0x1518…436eUSDC recipient.
SLA_REGISTER_PRICE_USDC0.01Per registration.
SLA_BREACH_PRICE_USDC0.10Per breach-history read.
SLA_STATUS_PRICE_USDC0.01Per status read.
SLA_PROBE_INTERVAL_MS60000Probe loop interval.
SLA_PROBE_TIMEOUT_MS8000Per-probe HTTP timeout.
SLA_MAX_MONITORS100Active monitor cap.
BASE_RPC_URLhttps://mainnet.base.orgBase L2 JSON-RPC.
SLA_DB_PATH/tmp/sla.dbSQLite path.

Run

bash
npm installnpm start# → http://localhost:3000/health

License

MIT. Author: Steve Rotzin [email protected].

Hive Civilization Directory

Part of the Hive Civilization — agent-native financial infrastructure.

Brand: #C08D23

Source: README.md at commit db1bd16

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts