← Registry

API Tools

spendctl.dev

Creates and manages an isolated spendctl sandbox for testing agent payments to mock paid APIs, including budgets, receipts, and spending policies.

1 endpoint8 known toolsFirst detected October 26, 2026Last detected November 26, 2026

ENDPOINT 1

https://mcp.spendctl.dev/mcp

No auth detected

MCP server metadata

Name
spendctl-sandbox
Version
0.1.0
Capabilities
tools.listChanged
Server instructions

spendctl sandbox: a login-free, isolated spendctl sidecar for trying spend policies for AI agents that pay for APIs (x402, MPP). Start with sandbox_create; it returns the sandbox_id every other tool needs, the policy and the two mock paid endpoints. Then sandbox_pay fetches a paid endpoint through the sidecar, which pays, refuses or holds the payment for approval. check_budget, list_receipts and get_policy read the sandbox state; approve decides a held payment, await_approval waits for that decision without paying again (as a real agent would while a human decides), withdraw_approval takes a held payment back when the task no longer needs it, and sandbox_pay with the approvalId completes an approved one. Nothing is real: throwaway wallet, mock facilitator, no outbound network. A sandbox expires after 2 hours without calls (24 hours at most) and allows 200 governed payments. To run the same sidecar for real, next to the user's own agents: `npx spendctl init && npx spendctl start` (Free covers two agents; https://spendctl.dev/docs/quickstart/). Docs: https://spendctl.dev/docs/sandbox/

Known tools 8

sandbox_create

Creates an isolated spendctl sandbox and returns its sandbox_id.

Inferred read-only
sandbox_pay

Fetches one of the sandbox's paid endpoints (HTTP 402, x402) through the spendctl sidecar, which applies the sandbox agent's budget, allowlist and approval policy, pays with the throwaway wallet if allowed, and returns the response.

Inferred read-only
await_approval

Waits for the decision on a payment that sandbox_pay reported as held, without paying again: long-polls the sandbox sidecar for up to timeoutSeconds (default 10, at most 20) and returns pending, approved, denied, expired or withdrawn, with the ledger entry and the decision deadline.

Potential side effects
withdraw_approval

Takes back a payment that sandbox_pay reported as held, as a real agent does when the task that needed the payment was cancelled or superseded: nothing is paid, the approval closes as withdrawn (distinct from deny), a later approve on that id is refused and await_approval answers withdrawn at once.

Potential side effects
check_budget

Shows the sandbox agent's spending limits, what has been spent in each window and what is left.

Inferred read-only
list_receipts

Lists the sandbox agent's most recent payment attempts, newest first: paid (amount and mock transaction hash), refused (reason codes) and waiting for approval.

Potential side effects
get_policy

Returns the sandbox's spendctl.

Inferred read-only
approve

Approves or denies a payment that sandbox_pay reported as waiting for approval, as the human approver would with `spendctl approve`.

Potential side effects

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.spendctl-sandbox]
url = "https://mcp.spendctl.dev/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "spendctl-sandbox": {
      "type": "http",
      "url": "https://mcp.spendctl.dev/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: spendctl-sandbox
Remote MCP URL: https://mcp.spendctl.dev/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": {
    "spendctl-sandbox": {
      "url": "https://mcp.spendctl.dev/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "spendctl-sandbox": {
      "type": "http",
      "url": "https://mcp.spendctl.dev/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "spendctl-sandbox",
  "transport": "streamable-http",
  "url": "https://mcp.spendctl.dev/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

TRUST AND VERIFICATION EVIDENCE

Loading Trust v2 evidence…

Checking the associated registrable domain. The BuiltWith key remains server-side.

Indexed

Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.