INDIVIDUAL MCP TOOL
ledger_api_docs
Self-serve documentation for AgentLedger — quickstart, MCP tools, REST endpoints, budget caps, error codes, and idempotency usage, as markdown.
LIVE ENDPOINT
https://aiagentscity.com/mcp
Connect to this endpoint to inspect the live schema for ledger_api_docs and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.agent-ledger]
url = "https://aiagentscity.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"agent-ledger": {
"type": "http",
"url": "https://aiagentscity.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: agent-ledger
Remote MCP URL: https://aiagentscity.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"agent-ledger": {
"url": "https://aiagentscity.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"agent-ledger": {
"type": "http",
"url": "https://aiagentscity.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "agent-ledger",
"transport": "streamable-http",
"url": "https://aiagentscity.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
ledger_rotate_secret— Mint a NEW agent_secret for an agent_id your workspace already owns, invalidating the old one.ledger_revoke_secret— Invalidate an agent_id's agent_secret WITHOUT deleting its spend history.ledger_track— Record a spend entry for an AI agent on any payment rail, with optional token counts.ledger_set_budget— Set spending caps for an agent.ledger_report— Spend report for an agent over a rolling window.ledger_alerts— Alert history for an agent: budget warnings (80% threshold) and spending spikes.ledger_list_agents— Owner-only: full cross-tenant listing of every agent ever claimed on this instance, with totals.ledger_start— Get a FREE AgentLedger workspace with no credential and no arguments — the MCP equivalent of opening POST /start in a browser.