{"data":{"name":"com.a2awire/agent-spend-guard","title":"Agent Spend Guard — owner-set purchasing guardrails","description":"Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.","version":"0.1.1","websiteUrl":"https://a2awire.com/spend-guard","repositoryUrl":"https://github.com/ee324/a2awire","remotes":[{"type":"streamable-http","url":"https://a2awire.com/mcp/connectors/spend-guard/http"}],"packages":[],"status":"active","isLatest":true,"publishedAt":"2026-11-08T16:09:30.349Z","updatedAt":"2026-11-08T16:09:30.349Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"source":"official-registry","sourceId":"com.a2awire/agent-spend-guard","verification":"official","confidence":100,"stars":null,"updatedAt":"2026-11-08T16:09:30.349Z","title":"Agent Spend Guard — owner-set purchasing guardrails","description":"Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.","websiteUrl":"https://a2awire.com/spend-guard","repositoryUrl":"https://github.com/ee324/a2awire"}],"toolIndex":{"tools":[{"serverName":"com.a2awire/agent-spend-guard","endpointFingerprint":"b8080225593020c53157969f1807d65ce30fdd2aa36680215034c6fcb13dff29","name":"spend_guard_check_purchase","title":null,"description":"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 <key> 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.","inputSchema":{"type":"object","properties":{"merchant":{"maxLength":200,"minLength":1,"title":"Merchant","type":"string"},"amount_usd":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000,"type":"number"},{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","type":"string"}],"title":"Amount Usd"},"currency":{"default":"USD","description":"USD only. Kept for forward compatibility; any other value is rejected.","maxLength":8,"title":"Currency","type":"string"},"category":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"Category"},"description":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"title":"Description"},"tx_ref":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"description":"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.","title":"Tx Ref"}},"required":["merchant","amount_usd"],"additionalProperties":false,"description":"Arguments for ``spend_guard_check_purchase`` (call BEFORE checkout).\n\nThe owner is derived from the authenticated principal, never from the\narguments. ``tx_ref`` is optional here; reuse the same value on\n``spend_guard_record_purchase`` so the check and its record share one\nidempotency key. ``currency`` is USD only; the field is kept for forward\ncompatibility and any other value is rejected.","title":"SpendGuardCheckPurchaseInput"},"annotations":{"title":"Spend Guard Check Purchase","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"definitionHash":"8ed593a2463ff79f03059bd08a0cf60ab7b6a15d79db2ce3f7ab1fe7e8739e42","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T18:46:26.801Z","metadataTrust":"untrusted"},{"serverName":"com.a2awire/agent-spend-guard","endpointFingerprint":"b8080225593020c53157969f1807d65ce30fdd2aa36680215034c6fcb13dff29","name":"spend_guard_record_purchase","title":null,"description":"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 <key> 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.","inputSchema":{"type":"object","properties":{"merchant":{"maxLength":200,"minLength":1,"title":"Merchant","type":"string"},"amount_usd":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000,"type":"number"},{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","type":"string"}],"title":"Amount Usd"},"currency":{"default":"USD","description":"USD only. Kept for forward compatibility; any other value is rejected.","maxLength":8,"title":"Currency","type":"string"},"category":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"Category"},"description":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"title":"Description"},"tx_ref":{"description":"Caller idempotency key, unique across your recorded purchases; replays return the original record.","maxLength":200,"minLength":1,"title":"Tx Ref","type":"string"},"check_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"description":"Optional id from spend_guard_check_purchase; at most one record may consume each check.","title":"Check Id"}},"required":["merchant","amount_usd","tx_ref"],"additionalProperties":false,"description":"Arguments for ``spend_guard_record_purchase`` (call AFTER checkout).\n\n``tx_ref`` is required and unique across your recorded purchases;\n``check_id`` optionally links back to the check that preceded the\npurchase. The response's ``recorded_previously`` is true when this\ntx_ref was already in your ledger before this call (an idempotent\nreplay); false on first write. ``currency`` is USD only; the field is\nkept for forward compatibility and any other value is rejected.","title":"SpendGuardRecordPurchaseInput"},"annotations":{"title":"Spend Guard Record Purchase","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"465d433ca944faa890c69d1e0f14e49b7553252501611126f9fcd0391ad9845d","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T18:46:26.801Z","metadataTrust":"untrusted"},{"serverName":"com.a2awire/agent-spend-guard","endpointFingerprint":"b8080225593020c53157969f1807d65ce30fdd2aa36680215034c6fcb13dff29","name":"spend_guard_report","title":null,"description":"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 <key> 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.","inputSchema":{"type":"object","properties":{"month":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional month filter (YYYY-MM); defaults to the current UTC month.","title":"Month"}},"additionalProperties":false,"description":"Arguments for ``spend_guard_report`` (no required arguments).","title":"SpendGuardReportInput"},"annotations":{"title":"Spend Guard Report","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"749e88427e04a067cca1a6e5f5c53232a25d6112f62a39a2a174715964fca66e","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T18:46:26.801Z","metadataTrust":"untrusted"},{"serverName":"com.a2awire/agent-spend-guard","endpointFingerprint":"b8080225593020c53157969f1807d65ce30fdd2aa36680215034c6fcb13dff29","name":"spend_guard_set_rules","title":null,"description":"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 <key> 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.","inputSchema":{"type":"object","properties":{"monthly_cap_usd":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000,"type":"number"},{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","type":"string"},{"type":"null"}],"default":null,"description":"Cumulative recorded spend per UTC calendar month at or above which checks deny. Null clears the cap.","title":"Monthly Cap Usd"},"per_purchase_threshold_usd":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000,"type":"number"},{"pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","type":"string"},{"type":"null"}],"default":null,"description":"A single purchase strictly above this amount asks the user first. Null clears the threshold.","title":"Per Purchase Threshold Usd"},"merchant_denylist":{"anyOf":[{"items":{"maxLength":200,"minLength":1,"type":"string"},"maxItems":100,"type":"array"},{"type":"null"}],"default":null,"description":"Exact-match merchant names (case-insensitive) whose purchases are denied, up to 100 entries. Null clears the list.","title":"Merchant Denylist"}},"additionalProperties":false,"description":"Arguments for ``spend_guard_set_rules``.\n\nThe owner is derived from the authenticated principal, never from the\narguments. Full declaration: omit or null a field to clear that rule.","title":"SpendGuardSetRulesInput"},"annotations":{"title":"Spend Guard Set Rules","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"528aa4d787d33106487c25555d076964cbebc557970dc45f6ec9cbff4e5fd189","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T18:46:26.801Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"b8080225593020c53157969f1807d65ce30fdd2aa36680215034c6fcb13dff29","protocol":"streamable-http","status":"indexed","toolCount":4,"observedAt":"2026-11-14T18:46:26.801Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"com.a2awire/agent-spend-guard":{"url":"https://a2awire.com/mcp/connectors/spend-guard/http"}}},"Cursor":{"mcpServers":{"com.a2awire/agent-spend-guard":{"url":"https://a2awire.com/mcp/connectors/spend-guard/http"}}},"VS Code":{"servers":{"com.a2awire/agent-spend-guard":{"type":"http","url":"https://a2awire.com/mcp/connectors/spend-guard/http"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://a2awire.com/mcp/connectors/spend-guard/http"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:com.a2awire%2Fagent-spend-guard","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/com.a2awire%2Fagent-spend-guard","name":"com.a2awire/agent-spend-guard","description":"Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://a2awire.com/mcp/connectors/spend-guard/http"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://a2awire.com/spend-guard","repositoryUrl":"https://github.com/ee324/a2awire","version":"0.1.1"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"com.a2awire/agent-spend-guard","status":"online","lastCheckedAt":"2026-11-20T05:18:08.797Z","lastSuccessfulCheck":"2026-11-20T05:18:08.797Z","latencyMs":54,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T05:18:08.797Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T05:18:08.797Z"},"security":null,"timestamps":{"createdAt":"2026-11-08T16:09:30.349Z","updatedAt":"2026-11-08T16:09:30.349Z","observedAt":"2026-11-20T05:18:08.797Z"},"compatibility":{"serverVersion":"0.1.1","protocolVersions":[{"protocol":"mcp","version":null}]}}}}