PayPal, guarded
v0.3.0PayPal's Agent Toolkit with limits on refunds and the owner's Approve/Deny above them.
Values you need
| Variable | What it is | |
|---|---|---|
PAYPAL_CLIENT_ID | required | Client ID of your PayPal REST app (developer.paypal.com) |
PAYPAL_CLIENT_SECRET | required secret | Secret of your PayPal REST app |
PAYPAL_ENVIRONMENT | optional | SANDBOX (default) or PRODUCTION |
LIMIT_REFUND | optional | Most per refund without asking you (default 25.00) |
LIMIT_REFUND_PER_DAY | optional | Refunds a day in total (default 100.00) |
LIMIT_REFUNDS_PER_DAY | optional | Number of refunds a day (default 10) |
LIMIT_CURRENCY | optional | Currency of the limits (default USD) |
GUARD_POLICY | optional | Other rules as JSON, e.g. {"dispute":"deny","stop":"ask"} |
FIZZL_AGENT_KEY | optional secret | Approvals in the Fizzl Agent Wallet (Telegram + dashboard): an agent key awk_… from wallet.fizzl.eu |
TELEGRAM_BOT_TOKEN | optional secret | Approvals through your own Telegram bot |
TELEGRAM_CHAT_ID | optional | Your Telegram chat id (approvals go only there) |
APPROVAL_IN_CHAT | optional | off to never ask in the chat app (MCP elicitation) |
APPROVAL_MINUTES | optional | How long you have to answer (default 10) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add paypal-guard -e 'PAYPAL_CLIENT_ID=<PAYPAL_CLIENT_ID>' -e 'PAYPAL_CLIENT_SECRET=<PAYPAL_CLIENT_SECRET>' -- npx -y fizzl-paypal-guard-mcp@0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"paypal-guard": {
"args": [
"-y",
"fizzl-paypal-guard-mcp@0.3.0"
],
"command": "npx",
"env": {
"PAYPAL_CLIENT_ID": "<PAYPAL_CLIENT_ID>",
"PAYPAL_CLIENT_SECRET": "<PAYPAL_CLIENT_SECRET>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"paypal-guard": {
"args": [
"-y",
"fizzl-paypal-guard-mcp@0.3.0"
],
"command": "npx",
"env": {
"PAYPAL_CLIENT_ID": "<PAYPAL_CLIENT_ID>",
"PAYPAL_CLIENT_SECRET": "<PAYPAL_CLIENT_SECRET>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "PAYPAL_CLIENT_ID",
"id": "paypal-client-id",
"password": true,
"type": "promptString"
},
{
"description": "PAYPAL_CLIENT_SECRET",
"id": "paypal-client-secret",
"password": true,
"type": "promptString"
}
],
"servers": {
"paypal-guard": {
"args": [
"-y",
"fizzl-paypal-guard-mcp@0.3.0"
],
"command": "npx",
"env": {
"PAYPAL_CLIENT_ID": "${input:paypal-client-id}",
"PAYPAL_CLIENT_SECRET": "${input:paypal-client-secret}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.paypal-guard]
command = "npx"
args = ["-y", "fizzl-paypal-guard-mcp@0.3.0"]
env = { "PAYPAL_CLIENT_ID" = "<PAYPAL_CLIENT_ID>", "PAYPAL_CLIENT_SECRET" = "<PAYPAL_CLIENT_SECRET>" }For AI agents
- Ask the user for: PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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: create_invoice, create_recurring_series, activate_recurring_series, get_recurring_series, cancel_recurring_series, delete_recurring_series, list_invoices, get_invoice, ….
- 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