
Mcp Pix Bcb
io.github.codespar由 GitHub 账号 codespar 发布v0.2.2更新于 Oct 24, 2026
MCP server for Pix BCB API — official Banco Central do Brasil Pix standard
概览
面向巴西央行 Pix API 的 MCP 服务器,让助手通过 PSP 创建和管理 Pix 收款、退款、密钥与 webhook。
- 可以做什么
- 创建、查询、列出和修改即时 Pix 收款(cob)与到期日收款(cobv)
- 按 end-to-end ID 查询已收到的 Pix 付款,或按日期范围列出
- 为已收付款发起退款(devolução)并查询退款详情
- 在 DICT 中注册、查询和列出 Pix 密钥,申请密钥可移植性并处理密钥认领
- 为某个 Pix 密钥配置或删除 webhook 地址
- 适用场景
- 当你使用提供 Pix BCB API 的巴西 PSP,并希望助手在对话中起草、查看或调整 Pix 收款、退款、密钥和 webhook 设置时适用。
- 运行要求
- 通过 npx 在本地运行(需要 Node.js)。需要 PSP 的 API 基础地址(PIX_BASE_URL)、OAuth2 客户端 ID(PIX_CLIENT_ID)和客户端密钥(PIX_CLIENT_SECRET),可选提供 mTLS 证书路径(PIX_CERT_PATH)。凭据与沙箱环境需向你的银行申请。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Pix Bcb,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@codespar/mcp-pix-bcb
MCP server for Pix BCB — official Banco Central do Brasil Pix API
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (18)
Authentication
The Pix BCB API uses OAuth2 client credentials with mTLS. Each PSP (bank) provides their own base URL and certificate requirements.
Sandbox / Testing
Sandbox availability varies by PSP (payment service provider). Contact your bank for homologation environment access.
Get your credentials
- Go to Pix API Documentation (BCB)
- Register with your PSP (bank) for API access
- Obtain your OAuth2 client credentials and mTLS certificate
- Set the environment variables
Environment Variables
Roadmap
v0.2 (planned)
create_location— Create a Pix location (payload URL)get_location— Get details of a Pix locationlist_locations— List all Pix locationscreate_devolucao— Create a Pix refund (devolucao)get_devolucao— Get Pix refund details
v0.3 (planned)
create_cobv_batch— Create a batch of due-date Pix charges (cobv)webhook_management— Register, get, and delete Pix webhooks
Want to contribute? Open a PR or request a tool.
Links
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/pix-bcb/README.md,提交 d0a519a
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分