
Mcp Bradesco
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026
MCP server for Bradesco — Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS)
概覽
面向 Bradesco 銀行 API 的 alpha 版 MCP 伺服器,讓助理發起 Pix、開立 boleto、繳費繳稅並查詢餘額與對帳單。
- 可以做什麼
- 取得並快取 Bradesco 開發者入口網站的 OAuth2 權杖
- 發送 Pix、列出收到的 Pix、依 endToEndId 查詢、退款,建立 Pix 收款 QR 碼與含到期日的 Pix 收款
- 開立、列出、查詢、取消 boleto 並下載其 PDF
- 透過 Arrecadação 繳納水電、稅費等帳單,包含 DARF 與 GRU
- 查詢帳戶餘額與對帳單交易,並執行 TED 或行內轉帳
- 適用情境
- 適合已與 Bradesco 簽約的商戶,希望讓助理直接操作 Pix、boleto、代收與現金管理業務,而不經過 PSP。由於仍是 alpha 版本,建議先在沙箱環境試用。
- 執行需求
- 以 npm 套件形式在本機執行(需 Node.js),預設為 stdio,設定 MCP_HTTP 與 MCP_PORT 後可改用 HTTP。需要 Bradesco 開發者入口網站的合約與 OAuth 憑證(BRADESCO_CLIENT_ID、BRADESCO_CLIENT_SECRET),以及入口網站核發的 mTLS 憑證與私鑰(BRADESCO_CERT_PATH、BRADESCO_KEY_PATH)。BRADESCO_ENV 選擇 sandbox 或 production,預設為 sandbox。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Bradesco,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-bradesco
MCP server for Bradesco — Brazil's 2nd largest private bank (after Itaú).
Together with @codespar/mcp-itau, @codespar/mcp-banco-inter, and @codespar/mcp-stark-bank, this covers the major BR private-bank API landscape. Merchants with meaningful Pix, boleto, and cash-management volume integrate directly with Bradesco instead of going through a PSP.
Status: alpha (0.1.0-alpha.1)
Bradesco's Developer Portal is contract-gated — the full OpenAPI specs for Pix, Cobrança, Arrecadação, and Extrato are only visible to onboarded merchants. The endpoint paths in this server are best-guesses based on (a) BACEN Pix v2 standard paths, (b) Bradesco's public integration guides, and (c) conventions shared across Itaú / Santander / BB. Every unverified path is flagged TODO(verify) in the source.
Pin to exact versions during 0.1.x; paths will be corrected to match the portal spec once an onboarded merchant can validate.
Tools (22)
Install
Environment
Authentication
Two factors are both required on every call:
- OAuth2
client_credentials— the server calls the token endpoint, caches the bearer until ~60s before expiry, and attachesAuthorization: Bearer <token>to downstream calls. - mTLS — BACEN mandates mutual TLS for Pix v2, and Bradesco enforces it across product families. The server loads the client certificate and private key from the paths you set, builds a Node
https.Agent, and routes every request through it.
You obtain the cert + key bundle from the Bradesco Developer Portal after your merchant contract is signed. They are distinct from the OAuth credentials.
Base URLs
- Production:
https://proxy.api.prebanco.com.br(Bradesco's standard external proxy) - Sandbox:
https://apihom-bradescorip.bradesco.com.br(homologação)
Both hosts are marked TODO(verify) — Bradesco provisions per-merchant subdomains in some product families and the exact homologação host may differ. Fork and override BASE_URL if your portal provisioning differs.
Run
Caveats
- Paths are unverified. See the
TODO(verify)markers insrc/index.ts. Onboarded merchants should validate against their portal-issued OpenAPI spec and open a PR. - Base URLs are best-guess. See above — override if your provisioning differs.
- Arrecadação barcode validation is server-side in this alpha — no client-side mod-10 / mod-11 check yet.
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/banking/bradesco/README.md,提交 d0a519a
工具
0版本歷史
1- v0.2.0-alpha.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分