
Mcp Braspag
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026
MCP server for Braspag — Cielo orchestration, token vault (Cartão Protegido), recurrence, split
概覽
面向 Braspag(Cielo 集團)的本機 MCP 伺服器,讓助理建立、請款、取消與查詢付款,並管理定期扣款、卡令牌與 marketplace 分帳。
- 可以做什麼
- 建立、請款與取消交易,包含 boleto、Pix、3DS 及零金額驗卡
- 依付款 ID 或商戶訂單編號查詢交易明細
- 在 Cartão Protegido 卡庫中將卡片令牌化、讀取與刪除
- 建立、停用、重新啟用定期扣款,並更新金額與下次扣款日期
- 建立分帳交易,並依子商戶金額進行分帳請款
- 送出獨立防詐分析
- 適用情境
- 適合已開通 Braspag Pagador 的商戶與團隊,希望由助理執行收款、請款、退款、定期扣款、卡令牌、marketplace 分帳與防詐等付款作業,通常先在沙箱環境試用。
- 執行需求
- 透過 npx 從 npm 套件 @codespar/mcp-braspag 在本機執行(需 Node.js)。需要由 Cielo/Braspag 客戶團隊開通的 Braspag 商戶合約,並以環境變數設定 BRASPAG_MERCHANT_ID 與 BRASPAG_MERCHANT_KEY;BRASPAG_ENV 選擇 sandbox(預設)或 production。需能連線至 Braspag 介面。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Braspag,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-braspag
MCP server for Braspag — Cielo Group's enterprise orchestration layer: multi-acquirer routing, token vault (Cartão Protegido), recurrence, marketplace split, antifraud orchestration.
Braspag vs. Cielo (Acquirer)
CodeSpar ships two Cielo Group servers with different business contracts:
Braspag orchestrates across acquirers. You keep your Cielo (or Rede, or Stone) acquiring contract and layer Braspag on top for: smart routing, failover, vaulting cards once and reusing across acquirers (Cartão Protegido), driving recurrence, and splitting marketplace capture across sub-merchants.
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 (22)
Authentication
Braspag uses MerchantId (UUID) and MerchantKey (secret) headers on both the Transaction API and the Query API.
Environments
Set via BRASPAG_ENV=production to switch.
Get your credentials
- Reach out to your Cielo / Braspag account team to enable Braspag Pagador on your merchant contract.
- Receive your MerchantId (UUID) and MerchantKey.
- Set the environment variables below.
Environment Variables
Roadmap
v0.2 (planned)
create_sale_with_card_token— convenience wrapper that uses a Cartão Protegido tokendelete_card_token— revoke a vault tokenget_sale_antifraud— Query API antifraud detailupdate_recurrent_payment— update non-amount fields on a recurrentcreate_zero_auth— zero-dollar auth for card validation
v0.3 (planned)
- Marketplace: sub-merchant onboarding endpoints
- Bank slip (boleto) registered-only helpers
- Webhook verification helper
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent-driven payments on Braspag? CodeSpar Enterprise adds a policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
來源:packages/payments/braspag/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 分