MCP serverio.github.entradox/agent-ledger
Meter, cap, and block AI agent spend before the provider is charged.
Overview
Score?
UNRATED 0.576
of what a free look can see, on 17 looks
Looks
67
last 13 hr ago
Tools
18
changed 47 days ago
More info
URL
aiagentscity.com/mcp/
streamable-http
Says it is
agent-ledger 0.4.7
protocol 2025-06-18
In the record since
2 months ago
Among servers37,541 with a card
0median 0.506 · this server 0.576 · highest on record 0.8351
Toolsfrom sha256:6f5b3c98b6…b2c141 · +0 −0 47 days ago
| Tool | Schema |
|---|---|
| ledger_alerts Alert history for an agent: budget warnings (80% threshold) and spending spikes.
Requires a credential: either the agent's own agent_secret or its
workspace's workspace_key (same |
input · output |
| ledger_api_docs Self-serve documentation for AgentLedger — quickstart, MCP tools, REST
endpoints, budget caps, error codes, and idempotency usage, as markdown. |
input · output |
| ledger_approval_decide Approve or deny a pending spend permit — workspace owner only.
The agent's own agent_secret can REQUEST an approval but can never decide
one: a credential that can approve its own |
input · output |
| ledger_approvals List spend-approval permits — yours, or your whole workspace's. |
input · output |
| ledger_check_spend Ask BEFORE you spend: may this agent spend this much right now?
Returns allowed (true/false), a stable reason code (within_budget,
over_monthly_cap, over_daily_cap, over_monthly_t |
input · output |
| ledger_examples Complete, runnable Python recipe for a common AgentLedger integration
pattern. |
input · output |
| ledger_price What will this call cost? Priced from the same table the caps use.
Exists because ledger_track requires the CALLER to supply amount_cents, so an
agent whose spend is capped could |
input · output |
| ledger_proxy_attach Point your provider traffic at the proxy so budget caps are enforced
BEFORE the provider is contacted, instead of being reported afterwards.
This closes the gap where the brake wa |
input · output |
| ledger_report Spend report for an agent over a rolling window.
Returns total spend, breakdown by rail and by service, budget status
(ok/warning/exceeded), detected anomalies, and entry count.
|
input · output |
| ledger_request_approval Ask your workspace owner for a one-shot spend exception before a
ledger_track that the cap would refuse.
Creates a pending permit for exactly amount_cents on the given service.
Th |
input · output |
| ledger_revoke_secret Invalidate an agent_id's agent_secret WITHOUT deleting its spend history.
Use when a credential may have leaked, or to stop an agent writing.
Subsequent writes to that agent fail |
input · output |
| ledger_rotate_secret Mint a NEW agent_secret for an agent_id your workspace already owns, invalidating the old one.
Use this to RECOVER an agent whose secret was lost: the previous credential
stops wo |
input · output |
| ledger_set_budget Set spending caps for an agent. Warns at 80%, blocks spend when exceeded
— enforced: a ledger_track call that would cross the cap is rejected.
Dollar caps (monthly_cents/daily_cen |
input · output |
| ledger_start Get a FREE AgentLedger workspace with no credential and no arguments —
the MCP equivalent of opening POST /start in a browser.
Call this FIRST if you have no credentials yet. Ever |
input · output |
| ledger_track Record a spend entry for an AI agent on any payment rail, with optional token counts.
Claiming a brand-new agent_id requires your workspace_key (get one via
x402 at POST /v1/billi |
input · output |
| ledger_wait_events Long-poll an agent's event feed — how an agent with no public URL receives alerts.
Webhooks (POST /v1/webhooks) push events to a URL you own; an agent on
stdio MCP cannot host one |
input · output |
| read_skill Read a product skill file by its skill:// URI. |
input · output |
| skills_list_tool List this product's skills. Each entry carries the SKILL.md URI,
its name and description, verbatim frontmatter, and a per-file
sha256 manifest. Read a body with `read_skill`. |
input · output |
Verify it yourself
npx teppi-check https://aiagentscity.com/mcp/curl -s https://api.teppi.xyz/v1/trust/mcp/mcs_01M22BHS0N33DQDR4XEBVD5FHA