L'Atlas / Serveurs MCP / Agent Metering
Serveur MCP

Agent Metering

io.github.jdhart81/agent-metering

Serveur MCP OK 11 outils

Faire examiner Voir les tarifs

Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).

Fiche technique

Auteur
jdhart81 (espace de noms du registre)
Dépôt
github.com/jdhart81/viridis-agent-fleet
Site
github.com/jdhart81/viridis-agent-fleet/blob/main/docs/servers/agent-metering.md
Version
0.2.1
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://mcp.viridisconservation.com/metering/mcp Streamable HTTP
Outils
11
Catégories
IA, agents et mémoire, Finance et paiement
Dernière mise à jour
16 nov. 2026
Publication
16 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.jdhart81/agent-metering.svg)](https://latlas.dev/mcp/io.github.jdhart81/agent-metering)
HTML
<a href="https://latlas.dev/mcp/io.github.jdhart81/agent-metering"><img src="https://latlas.dev/badge/fiche/io.github.jdhart81/agent-metering.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://mcp.viridisconservation.com/metering/mcp
Dernier résultat
OK 28 nov. 2026, 11:37
Temps de réponse
652 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
agent-metering-agent 0.2.1
Outils
11

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:37OK652 ms11

Outils exposés (11, réponse à tools/list, 28 nov. 2026)

create_meter

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.

ParamètreTypeRequisDescription
providerstringouiAgent id of the party providing the service.
consumerstringouiAgent id of the party consuming it.
unitstringouiWhat is counted, for example call, token or kwh.
price_minor_per_unitnumberouiPrice per unit in minor units (cents).
currencystringnonISO 4217 currency code, for example USD.
sla_targetnumbernonTarget success rate between 0 and 1. Default 0.99.

record_usage

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.

ParamètreTypeRequisDescription
meter_idstringouiThe meter id returned by create_meter.
event_idstringouiYour id for this usage event; recording it again never double-bills.
quantitynumberouiUnits used in this event.
outcomestringnonok or error. Feeds the SLA report.
metadataobject | nullnonOptional. Extra key-value data stored with the record.

usage_summary

Usage summary

Totals for a meter: event count, total quantity, accrued minor units.

ParamètreTypeRequisDescription
meter_idstringouiThe meter id returned by create_meter.

sla_report

Sla report

Pure SLA report: success_rate vs sla_target, breach flag. No mutation.

ParamètreTypeRequisDescription
meter_idstringouiThe meter id returned by create_meter.

close_period

Close period

Freeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle.

ParamètreTypeRequisDescription
meter_idstringouiThe meter id returned by create_meter.

verify_chain

Verify chain

Verify the tamper-evident event hash chain for a meter.

ParamètreTypeRequisDescription
meter_idstringouiThe meter id returned by create_meter.

list_meters

List meters

List all meters with event/invoice counts.

Aucun paramètre.

list_events

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.

ParamètreTypeRequisDescription
meter_idstring | nullnonThe meter id returned by create_meter.
providerstring | nullnonAgent id of the party providing the service.
consumer_classstring | nullnonOptional filter: internal, external or unknown.
channelstring | nullnonOptional filter: the channel the events came through.
outcomestring | nullnonok or error. Feeds the SLA report.
sincestring | nullnonOptional. ISO-8601 timestamp: only items at or after this time.
untilstring | nullnonOptional. ISO-8601 timestamp: only items before this time.
include_testbooleannonOptional. Include events from meters flagged as test. Default false.
limitintegernonOptional. The most items to return.
cursorstring | nullnonOptional. The cursor from your previous answer, to fetch the next page.

usage_timeseries

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.

ParamètreTypeRequisDescription
bucketstringnonday or hour.
providerstring | nullnonAgent id of the party providing the service.
meter_idstring | nullnonThe meter id returned by create_meter.
consumer_classstring | nullnonOptional filter: internal, external or unknown.
channelstring | nullnonOptional filter: the channel the events came through.
sincestring | nullnonOptional. ISO-8601 timestamp: only items at or after this time.
untilstring | nullnonOptional. ISO-8601 timestamp: only items before this time.
include_testbooleannonOptional. Include events from meters flagged as test. Default false.

flag_meter

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.

ParamètreTypeRequisDescription
meter_idstringouiThe meter id returned by create_meter.
is_testbooleanouiTrue to flag the meter as test traffic, false to clear it.
admin_tokenstringouiThe server's admin token. Required for this admin action.
notestringnonOptional. Why the flag changed.

describe_agent

Describe this service

Describe this agent: name, version, purpose, every action it supports and the inputs each one takes. Read-only and free; call it first to learn how to use this server.

Aucun paramètre.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://mcp.viridisconservation.com/metering/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http agent-metering https://mcp.viridisconservation.com/metering/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : agent-metering ; URL : https://mcp.viridisconservation.com/metering/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : agent-metering ; Server URL : https://mcp.viridisconservation.com/metering/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "agent-metering": {
      "url": "https://mcp.viridisconservation.com/metering/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "agent-metering": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/metering/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "agent-metering": {
      "url": "https://mcp.viridisconservation.com/metering/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "agent-metering": {
      "httpUrl": "https://mcp.viridisconservation.com/metering/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.agent-metering]
url = "https://mcp.viridisconservation.com/metering/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Agent Metering · L’Atlas · Test du

Markdown
[Agent Metering — L’Atlas](https://latlas.dev/mcp/io.github.jdhart81/agent-metering)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 1 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.