Meter, cap, and block AI agent spend before the provider is charged. Connect the official AgentLedger MCP server to Claude, ChatGPT, or Cursor through gate — one gateway URL, no config files, security-checked.
Free to start · No credit card · No hosting needed
Pick your client. Copy, paste, done — or let gate handle sign-ins and policies for you.
claude mcp add --transport http agentledger-aiagentscity https://aiagentscity.com/mcp/Run in your terminal, then restart Claude Code.
AgentLedger · https://aiagentscity.com/mcp/
Real prompts you can type the moment it's connected — no setup, no docs to read.
“Use “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 wa.”
“Use “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 writin.”
“Use “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.”
“Use “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 rejecte.”
Every server in the gate directory has to pass the same four checks before your AI can touch it. Here's how AgentLedger holds up.
Operated by AgentLedger (aiagentscity.com) at its documented MCP endpoint — not a third-party mirror or community re-host.
This server only exposes public data — no account and no credentials are involved when you connect.
gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.
If AgentLedger adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.
Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.
Choose AgentLedger in the gate directory. No sign-in needed.
AgentLedger's tools are live in every AI client you've connected — with rules and logging built in.
Free to start · No credit card · No hosting needed
Fetched live from the official endpoint and re-checked daily by gate — not marketing copy.
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 wa
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 writin
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
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 rejecte
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)
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.
ledger_alerts — Alert history for an agent: budget warnings (80% threshold) and spending spikes. Requires a credential: either the agent's own agent_secret
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_mon
+ 6 more tools once connected
https://aiagentscity.com/mcp/Yes — AgentLedger operates its own remote MCP server at aiagentscity.com. gate connects you to that official endpoint and adds security scanning, per-tool access rules, and an activity log on top.
Add gate's gateway URL to your AI client once, then pick AgentLedger in the directory. No account or sign-in is needed. From then on, AgentLedger's tools are available in every client you've connected to gate.
No. AgentLedger runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.
It's the vendor's official endpoint, and gate scans its tools for prompt injection and hidden instructions before it goes live, re-checks it whenever it changes, and lets you allow, block, or require approval for every single tool.
Yes — you can get started with gate for free and connect AgentLedger in minutes. No credit card required.
Every server below works through the same gateway URL — connect once, add tools anytime.
Set up AgentLedger in: Claude · Claude Code · ChatGPT · Cursor · VS Code