Search / io.github.jdhart81/agent-metering
agent-metering
R0· no sign-inUsage metering + SLA accounting for agent services (the meter behind x402 micropayments).
v0.2.0 · active · repository · descriptor JSON · versions
Search / io.github.jdhart81/agent-metering
R0· no sign-inUsage metering + SLA accounting for agent services (the meter behind x402 micropayments).
v0.2.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"agent-metering": {
"type": "http",
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}claude mcp add --transport http agent-metering https://mcp.viridisconservation.com/metering/mcp[mcp_servers.agent-metering]
url = "https://mcp.viridisconservation.com/metering/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"agent-metering": {
"type": "remote",
"url": "https://mcp.viridisconservation.com/metering/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"agent-metering": {
"type": "http",
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=agent-metering&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLnZpcmlkaXNjb25zZXJ2YXRpb24uY29tL21ldGVyaW5nL21jcCJ9"
}{
"servers": {
"agent-metering": {
"type": "http",
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}{
"mcpServers": {
"agent-metering": {
"httpUrl": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}extensions:
"agent-metering":
enabled: true
name: "agent-metering"
type: streamable_http
uri: "https://mcp.viridisconservation.com/metering/mcp"
timeout: 300
protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28protocol.statelessonly applies to 2026-07-28 serversprotocol.transportstreamable HTTPprotocol.list_ttlonly applies to 2026-07-28 serversauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: sla_report (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); describe_agent (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); create_meter (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …tools.token_costabout 1,334 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +reachable +uptime-100% ~updated-97d-ago -duplicate-repo(32 names)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://mcp.viridisconservation.com/metering/mcp streamable-http | none | yes | 100% | 93 ms | 2025-11-25 | 2026-10-20 |
close_period | Freeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle. |
create_meter | Create a usage meter between a provider and a consumer agent. unit: what is being counted (call, token, kwh, ...). Price is in minor currency units (cents) per unit. Returns the meter_id. |
describe_agent | Fleet-standard self-description. |
flag_meter | Admin: flag/unflag a meter as test/synthetic so its events are excluded from usage statistics by default. Touches meter metadata only — never events, never the hash chain, never billing accruals. Requires the server's VIRIDIS_ADMIN_TOKEN. |
list_events | Read usage events (paginated, read-only). Filter by meter, provider, consumer_class (internal|external|unknown), channel, outcome (ok|error), and ISO date range [since, until). Test-flagged events are excluded unless include_test=true. Returns events + next_cursor. |
list_meters | List all meters with event/invoice counts. |
record_usage | Record a usage event. Idempotent on event_id (safe to retry — never double-billed). outcome is 'ok' or 'error' and feeds the SLA report. |
sla_report | Pure SLA report: success_rate vs sla_target, breach flag. No mutation. |
usage_summary | Totals for a meter: event count, total quantity, accrued minor units. |
usage_timeseries | Usage time series bucketed on each event's recorded_at (UTC; bucket=day|hour), grouped across meters by provider — a real time-series primitive, independent of meter creation times. Includes per-bucket breakdowns by consumer_class / channel / provider. est_accrued_minor is an estimate; authoritative billing stays with usage_summary. |
verify_chain | Verify the tamper-evident event hash chain for a meter. |
Schemas: list_tools.
31 other active names share this repository (showing 10): io.github.jdhart81/agent-arbitration, io.github.jdhart81/agent-compute-ledger, io.github.jdhart81/agent-covenant, io.github.jdhart81/agent-erc8004-bridge, io.github.jdhart81/agent-escrow, io.github.jdhart81/agent-hive-orchestrator, io.github.jdhart81/agent-identity-registry, io.github.jdhart81/agent-market-network, io.github.jdhart81/agent-notary, io.github.jdhart81/agent-offset-clearinghouse
And 26 more from this publisher.
{
"name": "io.github.jdhart81/agent-metering",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://mcp.viridisconservation.com/metering/mcp",
"type": "streamable-http"
}
],
"version": "0.2.0",
"repository": {
"url": "https://github.com/jdhart81/viridis-agent-fleet",
"source": "github"
},
"description": "Usage metering + SLA accounting for agent services (the meter behind x402 micropayments)."
}