AgentLedger MCP MCP server
AgentLedger is an MCP-native server that provides spending limits and budget enforcement for AI agents. It allows operators to set per-agent spend caps and enforces these limits via 402 payment requirements before calls reach the provider, preventing over-budget usage.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
No sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://aiagentscity.com/mcp/What you can do with it
- Set per-agent monthly spending budgets
- Enforce spend caps before provider calls
- Monitor agent API usage and spending
ledger_rotate_secretledger_revoke_secretledger_trackledger_set_budgetledger_reportledger_proxy_attachledger_alertsledger_check_spendledger_priceledger_startledger_api_docsledger_examplesskills_list_toolread_skill
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http agentledger-mcp https://aiagentscity.com/mcp/Codex
Codex configuration
codex mcp add agentledger-mcp --url https://aiagentscity.com/mcp/Cursor
Cursor configuration
{
"mcpServers": {
"agentledger-mcp": {
"url": "https://aiagentscity.com/mcp/"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"agentledger-mcp": {
"type": "streamableHttp",
"url": "https://aiagentscity.com/mcp/",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"agentledger-mcp": {
"type": "http",
"url": "https://aiagentscity.com/mcp/"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http agentledger-mcp https://aiagentscity.com/mcp/Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"agentledger-mcp": {
"url": "https://aiagentscity.com/mcp/"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"agentledger-mcp": {
"serverUrl": "https://aiagentscity.com/mcp/"
}
}
}Other productivity and knowledge servers
Do you run AgentLedger MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.