
Mcp Niubiz
io.github.codespar由 GitHub 帳號 codespar 發布v0.1.0更新於 Oct 24, 2026
MCP server for Niubiz — Peru card acquirer: security token, session, authorize, reverse
概覽
針對秘魯收單機構 Niubiz 的本機 MCP 伺服器,讓助理取得安全權杖、建立結帳工作階段、授權信用卡付款並沖銷交易。
- 可以做什麼
- 取得 Niubiz 安全權杖,快取約 20 分鐘,其他工具需要時會自動取得。以金額與防詐資料建立結帳工作階段,回傳交易權杖。使用結帳工作階段的交易權杖授權交易。當日沖銷一筆授權。卡號資料不經過此伺服器,而是在 Niubiz 自家的結帳表單中輸入。
- 適用情境
- 適合助理需要為秘魯商戶操作 Niubiz 電商付款流程時使用:準備結帳工作階段、完成授權或當日沖銷授權,通常用於整合測試的沙箱環境。
- 執行需求
- 透過 npx 從 npm 套件在本機執行,需要 Node.js。需要環境變數 NIUBIZ_USER、NIUBIZ_PASSWORD 與 NIUBIZ_MERCHANT_ID,另可設定 NIUBIZ_ENV 為 sandbox(預設)或 production。需要連線至 Niubiz API 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Niubiz,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-niubiz
MCP server for Niubiz (ex-VisaNet Perú) — Peru's dominant card acquirer, 300k+ merchants. Implements the real ecommerce flow: security token → checkout session → authorization, plus same-day reverse.
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add the same block to .cursor/mcp.json or .vscode/mcp.json.
Tools (4)
The Niubiz flow
Card data never touches this server: the customer types the card into Niubiz's own checkout form (fed by create_session_token), the form returns a transactionToken, and authorize_transaction completes the purchase. This is Niubiz's standard 3-step ecommerce integration.
Authentication
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.
Managed tier
This open-source server calls Niubiz's API directly with your credentials. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, governance, audit and a credential vault: codespar.dev/agents.
License
MIT
來源:packages/payments/niubiz/README.md,提交 d0a519a
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分