Agent Billing Primitives (Dirtsmith)
io.github.throttler300/mcp-usage-metering
Serveur MCP OK 5 outils
Usage metering, spend cap (reserve before pay), lease lock, semaphore, heartbeat for agents. Free tr
Fiche technique
- Auteur
- throttler300 (espace de noms du registre)
- Dépôt
- github.com/throttler300/mcp-usage-metering
- Site
- —
- Version
- 1.4.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://gap-functions.bfurrow26.workers.dev/mcp Streamable HTTP
- Outils
- 5
- Catégories
- IA, agents et mémoire
- Dernière mise à jour
- 4 nov. 2026
- Publication
- 4 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.throttler300/mcp-usage-metering)<a href="https://latlas.dev/mcp/io.github.throttler300/mcp-usage-metering"><img src="https://latlas.dev/badge/statut/mcp/io.github.throttler300/mcp-usage-metering.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.throttler300/mcp-usage-metering)<a href="https://latlas.dev/mcp/io.github.throttler300/mcp-usage-metering"><img src="https://latlas.dev/badge/fiche/io.github.throttler300/mcp-usage-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://gap-functions.bfurrow26.workers.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:36
- Temps de réponse
- 456 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- dirtsmith-gap-functions 1.0.0
- Outils
- 5
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:36 | OK | 456 ms | 5 |
Outils exposés (5, réponse à tools/list, 28 nov. 2026)
mcp_usage_metering
mcp_usage_metering
Usage metering for MCP tools and AI agents: record a billable usage event per tool call (idempotent, idempotency_key dedupes retries) and get an invoice line preview. Per-call billing, usage-based pricing, metered billing for MCP servers. Every call requires one solved task: a tiny data packet, OR (this tool only) a public item: one line of public-domain text plus a deterministic format conversion (snake_case, word count, uppercase) with a known answer, returned as item_alternative; answer it within 2 s via item:{item_id, answer}. Verified answers are stored and readable at GET /items. Free first call, no API key (GET /try). Pay-ahead: every response carries next_work_packet; pass work_answer {work_packet_id, labels} on your next call (under 2 s) instead of solving a fresh packet. That work is our own internal classification (Buyer Zero), not customer data.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| caller_id | string | non | |
| end_customer_ref | string | oui | |
| idempotency_key | string | oui | |
| metadata | object | non | |
| source | string | null | non | |
| tool_name | string | oui | |
| tool_version | string | oui | |
| unit_label | string | non | |
| unit_price_cents | integer | non | |
| units | integer | non |
agent_spend_ledger
agent_spend_ledger
Agent spend cap / budget ledger: set a budget, reserve before pay (atomic, never overspends even with many agents in parallel), then settle or release. Idempotent, shared by namespace. Spending limit, budget guard, cost control for AI agents. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_spend_ledger).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "set_budget" | "reserve" | "settle" | "release" | "status" | oui | |
| amount_micros | integer | non | |
| budget_id | string | oui | |
| caller_id | string | non | |
| idempotency_key | string | oui | |
| limit_micros | integer | non | |
| memo | string | non | |
| namespace | string | oui | |
| reservation_id | string | null | non | |
| source | string | null | non | |
| ttl_s | integer | non |
agent_lease_lock
agent_lease_lock
Distributed lock / lease lock (mutex) for AI agents: acquire, renew, release a named lock with TTL and a monotonic fencing token so only one agent runs a job at a time. Idempotent, shared by namespace, no Redis needed. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_lease_lock).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "acquire" | "renew" | "release" | "status" | oui | |
| caller_id | string | non | |
| holder_id | string | non | |
| idempotency_key | string | oui | |
| lock_name | string | oui | |
| namespace | string | oui | |
| source | string | null | non | |
| ttl_s | integer | non |
agent_semaphore
agent_semaphore
Counting semaphore / concurrency limit for AI agents: at most N agents hold a slot at once (rate limit parallel workers), TTL permits with fencing tokens, auto-expire on crash. Idempotent, shared by namespace. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_semaphore).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "acquire" | "release" | "status" | oui | |
| caller_id | string | non | |
| holder_id | string | non | |
| idempotency_key | string | oui | |
| max_slots | integer | non | |
| namespace | string | oui | |
| permit_id | string | non | |
| semaphore | string | oui | |
| source | string | null | non | |
| ttl_s | integer | non |
agent_heartbeat_registry
agent_heartbeat_registry
Heartbeat registry / dead-man switch / liveness check for AI agents: agents beat with an interval and grace; list_stale shows which agents went silent or crashed. Idempotent, shared by namespace. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_heartbeat_registry).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "beat" | "status" | "list_stale" | oui | |
| agent_id | string | non | |
| caller_id | string | non | |
| grace_s | integer | non | |
| idempotency_key | string | oui | |
| interval_s | integer | non | |
| namespace | string | oui | |
| note | string | non | |
| source | string | null | non |
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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://gap-functions.bfurrow26.workers.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http mcp-usage-metering https://gap-functions.bfurrow26.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mcp-usage-metering ; URL : https://gap-functions.bfurrow26.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mcp-usage-metering ; Server URL : https://gap-functions.bfurrow26.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"mcp-usage-metering": {
"url": "https://gap-functions.bfurrow26.workers.dev/mcp"
}
}
}{
"mcpServers": {
"mcp-usage-metering": {
"type": "http",
"url": "https://gap-functions.bfurrow26.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mcp-usage-metering": {
"url": "https://gap-functions.bfurrow26.workers.dev/mcp"
}
}
}{
"mcpServers": {
"mcp-usage-metering": {
"httpUrl": "https://gap-functions.bfurrow26.workers.dev/mcp"
}
}
}[mcp_servers.mcp-usage-metering]
url = "https://gap-functions.bfurrow26.workers.dev/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 Billing Primitives (Dirtsmith) · L’Atlas · Test du
[Agent Billing Primitives (Dirtsmith) — L’Atlas](https://latlas.dev/mcp/io.github.throttler300/mcp-usage-metering)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.