
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 分