Financial governance for AI agents β spend gates and audit trail exposed as MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
An MCP (Model Context Protocol) server for Valta β financial governance for AI agents. Exposes Valta's spend gate and audit trail as MCP tools, so any MCP-compatible client (Claude Desktop, Claude Code, Cursor, and others) can call them directly.

This server is a thin wrapper over Valta's real, hosted REST API. It does not implement any spend logic, limits, or hashing itself β every tool call here is a pass-through to https://valta.co/api/v1/..., where the actual enforcement (spend gate, audit chain) happens. This repo is the protocol adapter, not the enforcement engine.
Important, read before relying on this for anything security-sensitive: most of these tools are advisory, not enforcing. A tool description telling a model "call this before spending" is guidance, not a guarantee. valta_request_spend, for example, only governs spend that routes through it β it does not intercept or prevent spending that happens through some other tool, API, or webhook the agent has independent access to.
One tool is different: valta_proxy_request. Instead of asking the model to check in before spending elsewhere, this one is the spend β the agent declares an outbound call's cost and routes the actual call through Valta, which checks it against wallet limits and only makes the real request (using your own stored credential) if approved. If it's blocked, the real provider is never contacted at all. This is a genuine, code-level guarantee, not an honor system β but only for the specific services Valta has wired up for proxying (currently: Stripe, Serper, Polygon). Any spend that happens through a channel other than this proxy β the agent's own separate API key, a webhook, a tool this server doesn't know about β is outside what any of these tools can see or stop. See Design notes below.
Or run directly without installing:
Get an API key at valta.co/dashboard β Settings β API Keys β Create key.
Add to your MCP client's config (e.g. Claude Desktop's claude_desktop_config.json):
| Tool | What it does |
|---|---|
valta_check_balance | Read an agent's wallet balance and limits |
valta_request_spend | Request authorization for a spend β approved or denied by the real spend gate |
valta_create_wallet | Create a new named wallet with optional spend limits |
valta_freeze_agent | Kill switch β freeze an agent's wallet, blocking further spend |
valta_unfreeze_agent | Resume a frozen agent's wallet |
valta_get_audit_trail | Read the hash-chained audit trail of spend decisions |
valta_list_wallets | List all named wallets on the account β use this to discover wallet names before checking balance/spending |
valta_transfer_funds | Transfer USDC directly between two of your agent wallets |
valta_list_agents | List all agents on the account |
valta_get_agent | Get details for a single agent |
valta_run_agent | Trigger an agent to run a task |
valta_get_agent_run | Check the status/result of a specific agent run |
valta_list_policies | List spending policies configured on the account |
valta_set_policy | Create a new spending policy (daily cap, per-transaction cap) |
valta_proxy_request | Make a real outbound call to a connected service (Stripe, Serper, Polygon) through Valta's spend-gated egress proxy β declares a cost up front, only reaches the real provider if approved, refunds automatically on failure |
valta_list_proxy_requests | List the receipts for every call the egress proxy has handled β allowed, blocked, refunded, or pending approval, and why |
Every tool's description in src/index.ts states plainly what it enforces and what it doesn't β read those before wiring this into anything that touches real money.
Why there's no "non-bypassable system prompt." An earlier draft of this project considered shipping a system-prompt instruction block claiming to make spend gating "non-bypassable." That claim doesn't hold up, for two reasons:
instructions field β it cannot inject a binding, universally-enforced rule into the conversation.What actually provides a guarantee, and what doesn't. There are now two different levels of enforcement in this server, and it matters which one a given tool gives you:
valta_request_spend is genuinely checked against real limits, server-side β but only if the agent chooses to call it first. The gap is spend that happens through some other channel the agent has access to.valta_proxy_request is checked before the real call is made at all β there's no step where the agent could skip the check and still have the payment go through, because the payment-triggering call and the check are the same action. That closes the gap described above, but only for the services this server has wired up for proxying (Stripe, Serper, Polygon as of this writing) β extending it to a new service means adding real credential-handling logic for that provider's specific auth scheme, not flipping a config flag.If a use case needs a hard guarantee for a service not yet listed above, that service needs to be added to Valta's proxy gate first β open an issue or a PR.
MIT.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/valta)<a href="https://allmcps.com/mcp/valta"><img src="https://allmcps.com/api/badge/valta?style=directory" alt="Valta on AllMCPs" /></a>