Mcp Izipay

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026

MCP server for Izipay — Peru enterprise acquirer (Niubiz): authorize/capture/refund, cuotas

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

概覽

AI 產生的概覽

針對秘魯企業級收單機構 Izipay(Niubiz)的 MCP 伺服器,讓助理完成信用卡付款的授權、請款、退款與對帳。

可以做什麼
  • 授權、請款、作廢、退款信用卡交易,並可用商戶訂單編號查詢
  • 將卡片權杖化,並刪除已儲存的卡權杖
  • 建立與查詢 cuotas 分期方案及可用分期選項
  • 列出交易紀錄,並依日期區間取得每日結算批次
  • 建立與取得託管付款連結,發起 Yape 或 Plin 付款
  • 完成 3-D Secure 驗證,建立或取消訂閱扣款
適用情境
適合與 Izipay/Niubiz 直接簽約的秘魯商戶,希望助理在對話中處理付款作業、對帳查詢、分期規劃或訂閱管理。並非針對自助開通的小型商戶,README 將其定位為企業級交易量。
執行需求
以 npm 套件在本機執行(需 Node.js),預設使用 stdio,也可透過 MCP_HTTP 與 MCP_PORT 以 HTTP 執行。需要收單合約提供的 IZIPAY_USERNAME、IZIPAY_PASSWORD 與 IZIPAY_MERCHANT_CODE;IZIPAY_ENV 選擇 sandbox 或 production(預設 production),IZIPAY_BASE_URL 可覆寫主機位址。需要能連線至 Izipay API 的網路。
安裝前請注意
此套件為 alpha 版本,端點路徑被說明為盡力推測,上線前應搭配自己的串接套件驗證。它涉及真實資金:扣款、請款、退款、訂閱與付款連結都會造成資金流動。需要商戶憑證,包括 IZIPAY_PASSWORD;IZIPAY_ENV 預設為 production,設定失誤可能直接操作正式環境。卡權杖化與 3-D Secure 處理涉及敏感付款資料。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@codespar/mcp-izipay

MCP server for Izipay — Peru's enterprise acquirer.

Izipay is the merchant-facing brand of Niubiz (Visa + Peruvian banks joint venture), the largest card acquirer in Peru with 20%+ share. Niubiz/Izipay is the default for enterprise merchants with serious volume and a direct acquirer contract.

Positioning vs Culqi

@codespar/mcp-culqi@codespar/mcp-izipay
SegmentPeru SMBPeru enterprise
TypePSP (Stripe-analog)Acquirer (Niubiz)
OnboardingSelf-serveCommercial contract
CustomersD2C, SaaS, startupsRetail chains, airlines, utilities, banks

Peruvian merchants with serious volume typically have an Izipay acquirer contract before they adopt a PSP — different customers, different contracts, different commercial terms. The two servers complement each other.

Status: alpha

This is 0.1.0-alpha.1. Izipay's developer portal at developers.izipay.pe is contract-gated — the public homepage advertises the API but the full REST reference is only available to contracted merchants. The endpoint paths in this server are best-effort inferences from Izipay's public SDK repositories (github.com/izipay-pe) and common Niubiz/Izipay REST conventions. Every endpoint below should be validated against your integration kit before going live, and corrections are welcome via PR.

Best-guess endpoints (unverified)

ToolMethodPath
auth (internal)POST/auth/login
create_chargePOST/v1/charges
capture_chargePOST/v1/charges/{id}/capture
cancel_chargePOST/v1/charges/{id}/cancel
refund_chargePOST/v1/charges/{id}/refund
get_chargeGET/v1/charges/{id}
tokenize_cardPOST/v1/tokens
delete_tokenDELETE/v1/tokens/{id}
create_installment_planPOST/v1/installments
list_transactionsGET/v1/transactions
get_settlementGET/v1/settlements/{date}

Tools (20)

ToolPurpose
create_chargeAuthorize a card payment.
capture_chargeCapture a previously authorized charge (when capture=false was used in create_charge).
cancel_chargeVoid an authorized-but-uncaptured charge.
refund_chargeRefund a captured charge.
get_chargeRetrieve a charge by Izipay charge id.
tokenize_cardTokenize a card for PCI-safe reuse.
delete_tokenDelete a stored card token.
create_installment_planCreate a Peruvian cuotas (installment) plan on a charge.
list_transactionsList transactions for reconciliation.
get_settlementGet the daily settlement batch (liquidación) for a given date.
get_charge_by_orderRetrieve a charge by the merchant-side orderNumber (order_id passed to create_charge).
list_installment_optionsQuery available cuota programs for a given card BIN and amount.
list_settlementsList settlement batches across a date range.
create_payment_linkCreate a hosted payment link (pay-by-link).
get_payment_linkRetrieve a payment link by id.
pay_yapeInitiate a Yape direct payment.
pay_plinInitiate a Plin direct payment.
authenticate_3dsComplete a 3-D Secure challenge.
create_subscriptionStart a recurring card charge (subscription).
cancel_subscriptionCancel an active subscription.

Install

bash
npm install @codespar/mcp-izipay@alpha

Environment

bash
IZIPAY_USERNAME="..."       # merchant usernameIZIPAY_PASSWORD="..."       # merchant password (secret)IZIPAY_MERCHANT_CODE="..."  # codigoComercioIZIPAY_ENV="production"     # or "sandbox"IZIPAY_BASE_URL="..."       # Optional override

Defaults:

  • IZIPAY_ENV=production → https://api.izipay.pe
  • IZIPAY_ENV=sandbox → https://sandbox-api.izipay.pe

Authentication

JWT Bearer. On the first API call the server POSTs { username, password, merchantCode } to /auth/login, caches the returned JWT in memory, and attaches it as Authorization: Bearer <jwt> on every subsequent request. The cached JWT is refreshed 60s before expiry. Transparent to callers.

Run

bash
# stdio (default)npx @codespar/mcp-izipay
# HTTPMCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-izipay

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

來源:packages/payments/izipay/README.md,提交 d0a519a

工具

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

版本歷史

1
  1. v0.2.0-alpha.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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