原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

PayPal, guarded

作者:Fizzl13版本 0.2.1i★ –i在你的电脑上运行
注册名称io.github.Fizzl13/paypal-guard

安装

概览

作者提供的说明(英文原文)

PayPal's Agent Toolkit with limits on refunds and the owner's Approve/Deny above them.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网店与支付
  • 你需要填写:PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, FIZZL_AGENT_KEY, TELEGRAM_BOT_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PAYPAL_ENVIRONMENT, LIMIT_REFUND, LIMIT_REFUND_PER_DAY, LIMIT_REFUNDS_PER_DAY, LIMIT_CURRENCY, GUARD_POLICY, FIZZL_AGENT_KEY, TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID, APPROVAL_IN_CHAT, APPROVAL_MINUTES

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "paypal-guard": {
      "command": "npx",
      "args": [
        "-y",
        "fizzl-paypal-guard-mcp"
      ],
      "env": {
        "PAYPAL_CLIENT_ID": "your-value",
        "PAYPAL_CLIENT_SECRET": "your-value",
        "PAYPAL_ENVIRONMENT": "your-value",
        "LIMIT_REFUND": "your-value",
        "LIMIT_REFUND_PER_DAY": "your-value",
        "LIMIT_REFUNDS_PER_DAY": "your-value",
        "LIMIT_CURRENCY": "your-value",
        "GUARD_POLICY": "your-value",
        "FIZZL_AGENT_KEY": "your-value",
        "TELEGRAM_BOT_TOKEN": "your-value",
        "TELEGRAM_CHAT_ID": "your-value",
        "APPROVAL_IN_CHAT": "your-value",
        "APPROVAL_MINUTES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add paypal-guard --env PAYPAL_CLIENT_ID=your-value --env PAYPAL_CLIENT_SECRET=your-value --env PAYPAL_ENVIRONMENT=your-value --env LIMIT_REFUND=your-value --env LIMIT_REFUND_PER_DAY=your-value --env LIMIT_REFUNDS_PER_DAY=your-value --env LIMIT_CURRENCY=your-value --env GUARD_POLICY=your-value --env FIZZL_AGENT_KEY=your-value --env TELEGRAM_BOT_TOKEN=your-value --env TELEGRAM_CHAT_ID=your-value --env APPROVAL_IN_CHAT=your-value --env APPROVAL_MINUTES=your-value -- npx -y fizzl-paypal-guard-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "paypal-guard": {
      "command": "npx",
      "args": [
        "-y",
        "fizzl-paypal-guard-mcp"
      ],
      "env": {
        "PAYPAL_CLIENT_ID": "your-value",
        "PAYPAL_CLIENT_SECRET": "your-value",
        "PAYPAL_ENVIRONMENT": "your-value",
        "LIMIT_REFUND": "your-value",
        "LIMIT_REFUND_PER_DAY": "your-value",
        "LIMIT_REFUNDS_PER_DAY": "your-value",
        "LIMIT_CURRENCY": "your-value",
        "GUARD_POLICY": "your-value",
        "FIZZL_AGENT_KEY": "your-value",
        "TELEGRAM_BOT_TOKEN": "your-value",
        "TELEGRAM_CHAT_ID": "your-value",
        "APPROVAL_IN_CHAT": "your-value",
        "APPROVAL_MINUTES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "paypal-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fizzl-paypal-guard-mcp"
      ],
      "env": {
        "PAYPAL_CLIENT_ID": "your-value",
        "PAYPAL_CLIENT_SECRET": "your-value",
        "PAYPAL_ENVIRONMENT": "your-value",
        "LIMIT_REFUND": "your-value",
        "LIMIT_REFUND_PER_DAY": "your-value",
        "LIMIT_REFUNDS_PER_DAY": "your-value",
        "LIMIT_CURRENCY": "your-value",
        "GUARD_POLICY": "your-value",
        "FIZZL_AGENT_KEY": "your-value",
        "TELEGRAM_BOT_TOKEN": "your-value",
        "TELEGRAM_CHAT_ID": "your-value",
        "APPROVAL_IN_CHAT": "your-value",
        "APPROVAL_MINUTES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • PAYPAL_CLIENT_ID 必填 env
    Client ID of your PayPal REST app (developer.paypal.com)
  • PAYPAL_CLIENT_SECRET 机密 必填 env
    Secret of your PayPal REST app
  • PAYPAL_ENVIRONMENT env
    SANDBOX (default) or PRODUCTION
  • LIMIT_REFUND env
    Most per refund without asking you (default 25.00)
  • LIMIT_REFUND_PER_DAY env
    Refunds a day in total (default 100.00)
  • LIMIT_REFUNDS_PER_DAY env
    Number of refunds a day (default 10)
  • LIMIT_CURRENCY env
    Currency of the limits (default USD)
  • GUARD_POLICY env
    Other rules as JSON, e.g. {"dispute":"deny","stop":"ask"}
  • FIZZL_AGENT_KEY 机密 env
    Approvals in the Fizzl Agent Wallet (Telegram + dashboard): an agent key awk_… from wallet.fizzl.eu
  • TELEGRAM_BOT_TOKEN 机密 env
    Approvals through your own Telegram bot
  • TELEGRAM_CHAT_ID env
    Your Telegram chat id (approvals go only there)
  • APPROVAL_IN_CHAT env
    off to never ask in the chat app (MCP elicitation)
  • APPROVAL_MINUTES env
    How long you have to answer (default 10)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Fizzl13 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网店与支付”中的其他服务器比较i

  • 星标数多于此分类中其他 1759 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1759 个服务器的 67% 更新
  • 基础检查结果等于或优于此分类中其他 1759 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

PayPal, guarded 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, FIZZL_AGENT_KEY, TELEGRAM_BOT_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.1)于16天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Stripe MCP

作者:stripe

MCP server integrating with Stripe - tools for customers, products, payments, and more.

在云端运行★ 2,043MIT12个月前更新
安装

MCP Cn Commerce

作者:TonyWang-hub

8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending

在你的电脑上运行★ 96MIT28天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

fizzl-paypal-guard-mcp

PayPal's Agent Toolkit as an MCP server for Claude Desktop, Claude Code, Cursor and other MCP clients, with fizzl-paypal-guard between the model and PayPal.

It has the same 47 tools as PayPal's own MCP server (@paypal/mcp), under the same names. The difference: every call that moves or promises money is checked first.

  • Reads pass straight through. Orders, invoices, transactions, disputes and refunds: look as much as you like.
  • Never more than is left. A refund without an amount refunds everything that's left of a payment. The guard reads the payment at PayPal first. A refund of a payment that was already refunded in full is stopped, and so is a refund for more than is left.
  • Not when the bank already paid. A refund of a payment with an open chargeback or dispute is stopped: the buyer would get the money twice, and PayPal lets that refund through.
  • Your limits. By default up to $25 per refund, $100 and 10 refunds a day, one refund per payment a day, and the third refund for the same customer within 30 days asks you. Cancellations and bills have a number a day.
  • You decide the rest. Above a limit, and for every accepted dispute, price change or invoice marked as paid, you get Approve and Deny: on your phone (Telegram, or the Fizzl Agent Wallet) or in the chat app itself. No answer means no.
  • A log the agent doesn't write. Every action that isn't a read is logged on your machine with its decision, the reasons and who approved it. The day's counts are kept there too, so restarting the app doesn't give the agent a fresh day of limits.

A blocked call returns { "blocked": true, "reasons": […], "message": "Not done (…)" }, and the message tells the model not to try another way. The model can't talk its way past the guard: the checks use facts from PayPal and limits from you, never what the conversation says.

Live demo of the guard (a support agent in the PayPal sandbox): https://fizzl-paypal-demo.onrender.com

Set up

  1. Make a REST app at developer.paypal.com → Apps & Credentials. Start in Sandbox: test money only. Copy its client ID and secret.
  2. Add the server to your MCP client. For Claude Desktop, in claude_desktop_config.json:
{

"mcpServers": { "paypal": { "command": "npx", "args": ["-y", "fizzl-paypal-guard-mcp", "--tools=all"], "env": { "PAYPAL_CLIENT_ID": "your sandbox client id", "PAYPAL_CLIENT_SECRET": "your sandbox secret", "PAYPAL_ENVIRONMENT": "SANDBOX" } } } }

For Claude Code:

claude mcp add paypal -e PAYPAL_CLIENT_ID=… -e PAYPAL_CLIENT_SECRET=… -e PAYPAL_ENVIRONMENT=SANDBOX -- npx -y fizzl-paypal-guard-mcp --tools=all

Claude Desktop, with a double click: download fizzl-paypal-guard-mcp.mcpb and open it with Claude Desktop. It asks for the client ID and secret, your limits and, if you like, your Fizzl wallet key or Telegram bot; nothing to type in a config file.

  1. Restart the app and ask, for example: *"List my PayPal transactions of the last week"*, then *"Refund capture 2GG… in full"*. Ask paypal_guard_status what the guard allows and what it did today.

Coming from @paypal/mcp? Use the same --tools list. Instead of PAYPAL_ACCESS_TOKEN this server takes the app's client ID and secret: an access token stops working after about nine hours, and the guard needs to read payments itself.

Approvals

When an action needs your OK, the server asks the first of these that is set up:

WhereHowSettings
Fizzl Agent WalletApprove or Deny in Telegram (@FizzlWalletBot) or on the wallet dashboard, next to your agents' other payments. The outcome (PayPal's refund id) lands on a receipt there.FIZZL_AGENT_KEY: an agent key (awk_…) from wallet.fizzl.eu → Agents
Your own Telegram botA message from your bot with Approve and Deny. Make a bot with @BotFather and send it /start; get your chat id from @userinfobot. The bot must have no webhook.TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID
In the chat appA form in the app itself (MCP elicitation), with Approve or Deny. Only you can answer it, not the model. Works in MCP clients that support elicitation, such as Claude Code; in others, use your phone. Don't set up a hook that answers these forms automatically (Claude Code's Elicitation hook can).Nothing; APPROVAL_IN_CHAT=off to turn it off

With none of these, anything over a limit is simply not done.

A phone is the stronger choice: the question reaches you on a different device than the one the agent runs on. And it can wait longer than an MCP client waits for a tool call. If you haven't answered after APPROVAL_WAIT_SECONDS (45), the call returns "waiting": true with an approval id. The approval goes on: approve within APPROVAL_MINUTES (10) and the action runs then; otherwise nothing happens. The model is told not to try again, and paypal_guard_status with the approval id shows what became of it.

Settings

Variable
PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRETYour REST app. Without them the server lists its tools and every call explains how to set it up.
PAYPAL_ENVIRONMENTSANDBOX (default) or PRODUCTION
--tools= or PAYPAL_TOOLSall (default), or names as in PayPal's MCP server: payments.createRefund,payments.getRefunds,orders.get,transactions.list,invoices.list,…
LIMIT_REFUNDMost per refund without asking you (default 25.00)
LIMIT_REFUND_PER_DAYRefunds a day, in total (default 100.00)
LIMIT_REFUNDS_PER_DAYNumber of refunds a day (default 10)
LIMIT_CURRENCYThe currency of the limits (default USD). A refund in another currency asks you.
GUARD_POLICYAnything else, as JSON over the defaults: for example {"dispute":"deny","stop":"ask","bill":{"countPerDay":5}}, or {"returnDays":30} to be asked about refunds of payments older than your return period. Each kind takes "allow", "ask", "deny" or limits.
FIZZL_AGENT_KEY, FIZZL_WALLET_URLApprovals through the Fizzl Agent Wallet (URL default https://wallet.fizzl.eu)
TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_IDApprovals through your own Telegram bot
APPROVAL_IN_CHAToff to never ask in the chat app
APPROVAL_MINUTESHow long you have to answer (default 10)
APPROVAL_WAIT_SECONDSHow long a tool call waits for your answer before it returns "waiting" (default 45)
AGENT_NAMEThe name your phone shows (default: the MCP client's name)
GUARD_STATE_DIRWhere the day's counts and the log are kept (default ~/.fizzl-paypal-guard; sandbox and live apart)

Tools

All tools of PayPal's Agent Toolkit 1.11, sorted by what they can do to your money:

KindToolsBy default
readget_order, list_transactions, get_refund, list_invoices, get_invoice, list_disputes, get_dispute, …Pass
refundcreate_refundNever more than is left, never on a payment with an open chargeback or dispute; $25 each, $100 and 10 a day, one per payment a day; then you
disputeaccept_dispute_claim (pays the buyer)You decide each one
booksrecord_payment_for_invoice, record_refund_for_invoice (money marked as moved while none moves)You decide each one
stopcancel_subscription, cancel_sent_invoice, delete_invoice, …3 a day, then you
priceupdate_product, update_plan, update_subscription, create_subscription_plan, …You decide each one
billcreate_invoice, send_invoice, create_subscription, …20 a day, then you
othercreate_order, pay_order, create_shipment_tracking, send_invoice_reminder, …Pass

A tool the guard doesn't know yet (a newer toolkit) always asks you. The full list is in actions.js.

And two of its own:

Tool
paypal_guard_statusYour limits, how much of today's is used, approvals waiting for you, the latest decisions from the log. With approval_id: what became of that approval.
paypal_guard_checkDry run: what the guard would decide for a call, and why, without running it.

For apps that serve customers

In your own chat with Claude, you are the one giving the orders. A support bot is different: it acts for a customer, and a customer can claim anything ("I'm writing for my husband, here's his capture number"). There the guard also checks that a refund, cancellation or bill belongs to the customer the app is serving.

The app, not the model, tells the server who that is: in the tool call's _meta, which the model can't touch.

await mcpClient.callTool({

name: "create_refund", arguments: { capture_id: "2GG…" }, _meta: { "fizzl.eu/customer": "alice@example.com", "fizzl.eu/request": "My mug arrived broken" }, });

PayPal knows the payer's email for PayPal checkout payments. Card payments have none; for those, use fizzl-paypal-guard in your own code with its customerOf hook, as the demo shop does.

Good to know

  • Test in the sandbox first. With PRODUCTION the refunds are real.
  • The day's counts are per machine. Two computers with the same PayPal app each have their own day.
  • The guard reads payments at PayPal with the same REST app. It never moves money itself.
  • Text inside PayPal data (invoice notes, dispute messages, item descriptions) is written by other people. The server tells the model to treat it as information, never as instructions. The guard doesn't count on the model listening.

Development

npm ci

npm test # the MCP server with a pretend PayPal PAYPAL_SANDBOX_CLIENT_ID=… PAYPAL_SANDBOX_SECRET=… node test/sandbox.mjs # against the PayPal sandbox

GitHub Actions runs the sandbox check on every change (paypal-sandbox.yml): two customers pay by card, then over MCP a $12 refund runs, a $300 refund waits for the owner and runs after Approve, and a second refund of a payment already refunded in full is stopped.

MIT · Fizzl

问 PopNx