Dev tools · Official remote MCP server

The AgentLedger MCP server,
connected in one click.

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

Use this server

Add AgentLedger to your AI in one minute

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/

What you can do

What your AI can do with AgentLedger

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.”

Security check

How secure is the AgentLedger MCP server?

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.

✓ Verified directory serverAgentLedger · aiagentscity.com

Official endpoint

Operated by AgentLedger (aiagentscity.com) at its documented MCP endpoint — not a third-party mirror or community re-host.

No sign-in needed

This server only exposes public data — no account and no credentials are involved when you connect.

Scanned before it goes live

gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.

Watched for drift

If AgentLedger adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.

How it works

Connected in three steps

01

Connect your gate

Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.

02

Pick AgentLedger

Choose AgentLedger in the gate directory. No sign-in needed.

03

Use it anywhere

AgentLedger's tools are live in every AI client you've connected — with rules and logging built in.

Connect AgentLedger free

Free to start · No credit card · No hosting needed

Straight from the server

The actual tools AgentLedger exposes

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

Author

Who runs the AgentLedger MCP server?

Server facts

The AgentLedger MCP server at a glance

Endpointhttps://aiagentscity.com/mcp/
Operated byAgentLedger (aiagentscity.com)
CategoryDev tools
Sign-inNone — public data only
Available in gateYes — one-click connect
Works withClaude, ChatGPT, Cursor & any MCP client
FAQ

Questions, answered

Is there an official AgentLedger MCP server?

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.

How do I connect AgentLedger to Claude or ChatGPT?

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.

Do I need to host anything?

No. AgentLedger runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.

Is the AgentLedger MCP server safe to connect?

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.

Is it free?

Yes — you can get started with gate for free and connect AgentLedger in minutes. No credit card required.

More servers

Connect more than just AgentLedger

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

Give your AI AgentLedger — safely.

One URL. All MCPs. Full control. Free to start.

Get started free