PurseString
v0.4.0Spending guardrails for AI agents: your rules, and a human when needed, checked before money moves.
Values you need
| Variable | What it is | |
|---|---|---|
PURSESTRING_POLICY | optional | Path to policies.yaml (default ./policies.yaml, then ~/.pursestring/policies.yaml) |
LITHIC_API_KEY | optional secret | Use Lithic virtual cards (sandbox by default) instead of the mock rail |
PAYPAL_CLIENT_ID | optional secret | Enable PayPal payouts to vendor accounts set in the policy (sandbox by default) |
PAYPAL_CLIENT_SECRET | optional secret | PayPal client secret, needed with PAYPAL_CLIENT_ID |
SLACK_WEBHOOK_URL | optional secret | Slack incoming webhook for approval requests |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add pursestring -- npx -y pursestring@0.4.0Add to
claude_desktop_config.json{
"mcpServers": {
"pursestring": {
"args": [
"-y",
"pursestring@0.4.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"pursestring": {
"args": [
"-y",
"pursestring@0.4.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"pursestring": {
"args": [
"-y",
"pursestring@0.4.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.pursestring]
command = "npx"
args = ["-y", "pursestring@0.4.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: check_policy_compliance, submit_purchase_intent, request_ephemeral_card, send_payment, check_payout, replace_payout, get_intent_status, report_untrusted_content.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json