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)处理银行卡支付:授权、请款、退款、卡令牌化、分期与结算。

可以做什么
封装面向秘鲁商户的 Izipay/Niubiz 收单机构 REST API。工具包括 create_charge、capture_charge、cancel_charge、refund_charge、get_charge、tokenize_card、delete_token、create_installment_plan(cuotas 分期)、list_transactions、get_settlement,以及支付链接、Yape 与 Plin 支付、3-D Secure 和订阅。认证使用商户用户名、密码和商户号换取 JWT,在内存中缓存并自动刷新。
适用场景
适用于已持有 Izipay/Niubiz 收单合约、希望由助手执行支付操作、对账或查询结算的商户。它面向企业级商户,而非自助开通的小微商户。
运行要求
以本地 Node.js 进程运行,从 npm 包 @codespar/mcp-izipay 安装。需要 IZIPAY_USERNAME、IZIPAY_PASSWORD 和 IZIPAY_MERCHANT_CODE;可选 IZIPAY_ENV(sandbox 或 production,默认 production)和 IZIPAY_BASE_URL。需要访问 Izipay API 主机的网络。
安装前请注意
该服务器为 0.1.0-alpha.1,其端点路径被说明为依据公开 SDK 仓库的尽力推测,上线前应逐一对照你的接入资料包验证。它涉及真实资金:扣款、请款、退款、订阅和支付链接都会产生资金流动。IZIPAY_PASSWORD 是发送给收单机构的商户密钥,请避免写入日志或共享配置。默认使用生产环境,测试时应设置 IZIPAY_ENV=sandbox。

安装

在 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 分