Zen

io.github.krystiangw由 GitHub 帳號 krystiangw 發布v0.1.1更新於 Oct 24, 2026

Unofficial MCP server for the ZEN.com Payment Gateway: payment links, transactions, refunds.

發布方自己的服務:Agent Rynku - Warsaw Stock Exchange (GPW) data for your agent

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

針對 ZEN.com 支付閘道的非官方 MCP 伺服器,讓助理建立付款連結、查詢交易與撥款,並辦理退款。

可以做什麼
  • 列出終端機的付款方式與支援的貨幣
  • 查詢交易、付款連結與撥款,並申請對帳報表
  • 建立代管付款連結與 QR 碼,無須接觸卡號資料
  • 請款或取消交易,辦理全額或部分退款
  • 建立撥款與客戶紀錄
  • 在本機驗證 ZEN IPN webhook 簽章
適用情境
適合讓助理操作 ZEN.com 商戶帳戶:產生結帳連結、查看交易或撥款狀態、核對報表,或在對話中處理退款與撥款。可用模擬模式在沒有商戶帳戶的情況下先行評估。
執行需求
透過 npx 在本機執行,需要 Node.js 18 或更新版本。非模擬模式需要 ZEN_API_KEY(終端機 API 金鑰),寫入操作需要 ZEN_PAYWALL_SECRET,驗證 webhook 需要 ZEN_IPN_SECRET。選用 ZEN_ENV(預設 sandbox)、ZEN_BASE_URL、ZEN_MOCK 與 ZEN_HASH_ALG。實際使用還需 ZEN 商戶帳戶。
安裝前請注意
此專案為非官方實作,開發時未接入真實商戶帳戶,正式上線前應依 ZEN 最新 API 文件核對端點與簽章細節。寫入操作會轉移或退回資金:退款、請款、取消與撥款都標示為破壞性操作,請保持人工確認並採用最小權限憑證。密鑰僅從環境變數讀取。README 中含有開通 ZEN 企業帳戶的推薦連結。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Zen,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ZEN MCP

[npm version] [License: MIT]

An MCP server that lets AI assistants work with the ZEN.com Payment Gateway: hosted payment links, transaction lookup, refunds, payouts, and reporting.

Project page

Unofficial. This project is not affiliated with, endorsed by, or maintained by ZEN.com.

What it does

Read-only tools:

  • List terminal payment methods and documented currencies.
  • Look up transactions, payment links, and payouts.
  • List payment links and request reconciliation reports.
  • Verify IPN webhook signatures locally.

Write tools:

  • Create hosted payment links and QR codes without handling card data.
  • Capture or cancel transactions and issue full or partial refunds.
  • Create payouts and customer records.

Disclaimer

This integration was built from public ZEN documentation without access to a live merchant account. Endpoint versions, request fields, response fields, signing details, and webhook behavior must be checked against ZEN's current OpenAPI or Postman collection before production use. Mock mode is included for evaluation without an account.

Install

Add the published package to Claude Code:

sh
claude mcp add zen --env ZEN_API_KEY=your_terminal_api_key -- npx -y @krystiangw/zen-mcp

For Claude Desktop, add this entry to its MCP configuration:

json
{  "mcpServers": {    "zen": {      "command": "npx",      "args": ["-y", "@krystiangw/zen-mcp"],      "env": {        "ZEN_API_KEY": "your_terminal_api_key",        "ZEN_PAYWALL_SECRET": "your_paywall_secret",        "ZEN_IPN_SECRET": "your_ipn_secret",        "ZEN_ENV": "sandbox"      }    }  }}

Configuration

VariableRequiredDescription
ZEN_API_KEYOutside mock modeTerminal API Key sent in Authorization without a Bearer prefix
ZEN_PAYWALL_SECRETWrite operationsCheckout/paywall secret used to sign request bodies
ZEN_IPN_SECRETWebhook verificationIPN secret used only by verify_webhook_signature
ZEN_ENVNosandbox (default) or production
ZEN_BASE_URLNoAPI base URL override; takes priority over ZEN_ENV
ZEN_MOCKNo1 or true enables deterministic offline responses
ZEN_HASH_ALGNosha224, sha256 (default), sha384, or sha512

In the ZEN merchant panel, go to my.zen.com → Shop settings → Terminal to find the Terminal API Key. Use sandbox first; the default API host is api.zen-test.com, although sandbox availability and onboarding requirements should be confirmed with ZEN.

No merchant account yet? You can open a ZEN business account. That is a referral link: it credits the author of this project if you sign up through it, and costs you nothing. Every other link in this README is a plain one.

Tools

NameTypeDescription
list_payment_methodsReadList payment methods for the terminal
get_transactionReadGet a transaction by ZEN or merchant ID
list_payment_linksReadList hosted payment links
get_payment_linkReadGet one hosted payment link
get_payoutReadGet a payout by ZEN ID
download_reportReadRequest a report download
list_supported_currenciesReadList documented supported currencies
verify_webhook_signatureReadVerify a ZEN IPN signature locally
create_payment_linkWriteCreate a hosted checkout link and QR code
refund_transactionWrite, destructiveIssue a full or partial refund
capture_transactionWrite, destructiveCapture an authorized transaction
cancel_transactionWrite, destructiveCancel a transaction
create_payoutWrite, destructiveSend an outbound payout
create_customerWriteCreate a customer record

Security

  • Tools are read-only by default; operations that move or reverse money are marked destructive for MCP clients.
  • Secrets are read only from environment variables and are never tool arguments.
  • Payment acceptance uses ZEN-hosted links, so this server does not collect or transmit card numbers.
  • The signing algorithm follows public ZEN documentation, but nested-object and array flattening are not fully specified publicly. Verify it against the live API.
  • Verify every IPN webhook signature with ZEN_IPN_SECRET before trusting its contents.
  • Use least-privilege terminal credentials and keep human confirmation enabled for write tools.

Demo without an account

Run the server with deterministic canned API responses:

sh
ZEN_MOCK=1 ZEN_IPN_SECRET=demo npx -y @krystiangw/zen-mcp

verify_webhook_signature does real cryptography instead of calling the API, so it needs a secret even in mock mode. Any value works for a demo.

From a development checkout:

sh
npm installnpm run buildZEN_MOCK=1 ZEN_IPN_SECRET=demo npm run inspect

Development

Requires Node.js 18 or newer.

sh
npm installnpm run typechecknpm run buildnpm testZEN_MOCK=1 ZEN_IPN_SECRET=demo npm run inspect

Roadmap

  • Raw card charges only after a deliberate PCI/security design; they are excluded from the MVP.
  • Recurring and one-click payments after the tokenization flow is verified.
  • Consumer ZEN features such as cashback and personal cards if ZEN publishes a supported API.
  • Remote Streamable HTTP transport and OAuth after the stdio MVP.

License

MIT

來源:README.md,提交 fabbdb7

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentrynku 整合