Agent Spend Guard — owner-set purchasing guardrails
com.a2awire/agent-spend-guard
Serveur MCP OK 4 outils
Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.
Fiche technique
- Auteur
- a2awire.com (espace de noms du registre)
- Dépôt
- github.com/ee324/a2awire
- Site
- a2awire.com/spend-guard
- Version
- 0.1.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://a2awire.com/mcp/connectors/spend-guard/http Streamable HTTP
- Outils
- 4
- Catégories
- IA, agents et mémoire
- Dernière mise à jour
- 8 nov. 2026
- Publication
- 8 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/com.a2awire/agent-spend-guard)<a href="https://latlas.dev/mcp/com.a2awire/agent-spend-guard"><img src="https://latlas.dev/badge/statut/mcp/com.a2awire/agent-spend-guard.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/com.a2awire/agent-spend-guard)<a href="https://latlas.dev/mcp/com.a2awire/agent-spend-guard"><img src="https://latlas.dev/badge/fiche/com.a2awire/agent-spend-guard.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://a2awire.com/mcp/connectors/spend-guard/http
- Dernier résultat
- OK 28 nov. 2026, 08:18
- Temps de réponse
- 644 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- a2awire-spend-guard 0.1.0
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:18 | OK | 644 ms | 4 |
Outils exposés (4, réponse à tools/list, 28 nov. 2026)
spend_guard_check_purchase
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Call BEFORE checkout. Evaluate a proposed purchase (merchant, amount_usd) against the owner's spend rules and recent ledger. Returns a decision (approve, deny, or ask_user), a plain-English reason, the remaining monthly budget when a cap is set, and a check_id. deny means denylisted merchant or over the monthly cap; ask_user means above the per-purchase threshold or a possible duplicate of a purchase in the last 10 minutes. Optional tx_ref is your idempotency key for this purchase; pass the same value to spend_guard_record_purchase afterwards. Appends a check event; checks never consume budget. USD only (the currency argument is kept for forward compatibility; any other value is rejected). Not guest-callable. REST: POST /api/v1/spend-guard/check.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| merchant | string | oui | |
| amount_usd | number | string | oui | |
| currency | string | non | USD only. Kept for forward compatibility; any other value is rejected. |
| category | string | null | non | |
| description | string | null | non | |
| tx_ref | string | null | non | Optional idempotency key for this purchase; pass the same value to the record call afterwards. Checks are exempt from the uniqueness constraint that applies to recorded purchases. |
spend_guard_record_purchase
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Call AFTER checkout. Record a completed purchase in the owner's spend ledger. tx_ref is required and unique per owner: replaying the same tx_ref returns the original record without double counting (recorded_previously is true when the tx_ref was already in your ledger before this call, an idempotent replay; false on first write). Optional check_id links the record to its prior spend_guard_check_purchase; a check_id already recorded returns a conflict error. Returns the recorded event and the month-to-date total. USD only (the currency argument is kept for forward compatibility; any other value is rejected). Not guest-callable. REST: POST /api/v1/spend-guard/record.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| merchant | string | oui | |
| amount_usd | number | string | oui | |
| currency | string | non | USD only. Kept for forward compatibility; any other value is rejected. |
| category | string | null | non | |
| description | string | null | non | |
| tx_ref | string | oui | Caller idempotency key, unique across your recorded purchases; replays return the original record. |
| check_id | string | null | non | Optional id from spend_guard_check_purchase; at most one record may consume each check. |
spend_guard_set_rules
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Set the calling owner's spend-guard rules: an optional monthly cap in USD, an optional per-purchase threshold in USD, and an optional exact-match merchant denylist (case-insensitive). Full declaration: omit or null a field to clear that rule. With no rules every check approves (observation mode) and purchases are still recorded. Returns the effective rules. Not guest-callable. REST: PUT /api/v1/spend-guard/rules.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| monthly_cap_usd | number | string | null | non | Cumulative recorded spend per UTC calendar month at or above which checks deny. Null clears the cap. |
| per_purchase_threshold_usd | number | string | null | non | A single purchase strictly above this amount asks the user first. Null clears the threshold. |
| merchant_denylist | array<string> | null | non | Exact-match merchant names (case-insensitive) whose purchases are denied, up to 100 entries. Null clears the list. |
spend_guard_report
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Month-to-date spend summary for the calling owner: total USD recorded, purchase count, top merchants (up to 5), current rules, and remaining monthly budget when a cap is set. Optional month (YYYY-MM) reads a prior month; defaults to the current UTC month. Not guest-callable. REST: GET /api/v1/spend-guard/report.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| month | string | null | non | Optional month filter (YYYY-MM); defaults to the current UTC month. |
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://a2awire.com/mcp/connectors/spend-guard/http. Formats repris de la documentation de chaque client.
claude mcp add --transport http agent-spend-guard https://a2awire.com/mcp/connectors/spend-guard/httpCustomize > Connectors > + Add > Add custom connector ; Name : agent-spend-guard ; URL : https://a2awire.com/mcp/connectors/spend-guard/httpchatgpt.com/plugins > + > Add custom MCP server ; Name : agent-spend-guard ; Server URL : https://a2awire.com/mcp/connectors/spend-guard/http ; Create as a plugin{
"mcpServers": {
"agent-spend-guard": {
"url": "https://a2awire.com/mcp/connectors/spend-guard/http"
}
}
}{
"mcpServers": {
"agent-spend-guard": {
"type": "http",
"url": "https://a2awire.com/mcp/connectors/spend-guard/http",
"tools": ["*"]
}
}
}{
"mcpServers": {
"agent-spend-guard": {
"url": "https://a2awire.com/mcp/connectors/spend-guard/http"
}
}
}{
"mcpServers": {
"agent-spend-guard": {
"httpUrl": "https://a2awire.com/mcp/connectors/spend-guard/http"
}
}
}[mcp_servers.agent-spend-guard]
url = "https://a2awire.com/mcp/connectors/spend-guard/http"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 Spend Guard — owner-set purchasing guardrails · L’Atlas · Test du
[Agent Spend Guard — owner-set purchasing guardrails — L’Atlas](https://latlas.dev/mcp/com.a2awire/agent-spend-guard)Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.