
Mcp Santander
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026
MCP server for Santander Brasil — Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS)
概覽
桑坦德巴西銀行的 alpha 版 MCP 伺服器:透過 OAuth2 加 mTLS 辦理 Pix、boleto、繳費、對帳單與轉帳。
- 可以做什麼
- 取得並快取桑坦德閘道的 OAuth2 權杖
- 發起 Pix 付款、建立 Pix 收款與 QR code、依 endToEndId 查詢交易、解析 DICT 鍵、退款 Pix、註冊或刪除 DICT 鍵
- 開立、查詢、取消 boleto 並下載 PDF,建立含到期日的 Pix 收款
- 查詢帳戶對帳單與餘額
- 發起 TED 轉帳、在桑坦德帳戶間轉帳、繳納公用事業與稅費帳單,並建立 Open Finance 授權
- 適用情境
- 適合已與桑坦德巴西簽訂商戶合約、希望讓助理直接處理 Pix、boleto 與現金管理業務而不經 PSP 的商戶。由於仍是早期 alpha,建議先在沙箱環境試用。
- 執行需求
- 以 npm 套件形式在本機執行(需 Node.js),預設為 stdio,設定 MCP_HTTP 與 MCP_PORT 後可改用 HTTP。需要桑坦德開發者入口網站的合約、SANTANDER_CLIENT_ID、SANTANDER_CLIENT_SECRET,以及透過 SANTANDER_CERT_PATH 與 SANTANDER_KEY_PATH 指定的 mTLS 憑證與私鑰,還有 SANTANDER_ENV(預設 sandbox)。需能連線至桑坦德的 trust-open 或 trust-sandbox 閘道。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Santander,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-santander
MCP server for Santander Brasil — 3rd largest private bank in Brazil.
Completes the top-3 BR private-bank trio: Itaú + Bradesco + Santander. Same OAuth2 + mTLS shape as its peers; different merchant contract.
Merchants with meaningful Pix, boleto, and cash-management volume integrate directly with Santander instead of going through a PSP.
Status: alpha (0.1.0-alpha.1)
Santander'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 following pieces are verified against Santander's public integration guides:
- Production host:
https://trust-open.api.santander.com.br - Sandbox host:
https://trust-sandbox.api.santander.com.br - OAuth2 token:
/auth/oauth/v2/token - Cobrança v2 base:
/collection_bill_management/v2/workspaces/{workspace_id}/bank_slips
Remaining paths (Pix, Arrecadação, Extrato) are best-guesses based on (a) BACEN Pix v2 standard paths, (b) Santander public marketing, and (c) conventions shared across Itaú / Bradesco / 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 (23)
Install
Environment
Authentication
Two factors are both required on every call:
- OAuth2
client_credentials— the server POSTs to/auth/oauth/v2/tokenon thetrust-open(ortrust-sandbox) gateway, caches the bearer until ~60s before expiry, and attachesAuthorization: Bearer <token>to downstream calls. - mTLS — BACEN mandates mutual TLS for Pix v2, and Santander's
trust-opengateway enforces it across product families. The server loads the client certificate and private key from the paths you set, builds a Nodehttps.Agent, and routes every request through it.
You obtain the cert + key bundle from the Santander Developer Portal after your merchant contract is signed. They are distinct from the OAuth credentials.
Cobrança: workspace model
Santander's Cobrança v2 is workspace-scoped. Before registering boletos you provision one or more workspace_ids via the Developer Portal — each binds a convênio, boleto/Pix billing mode, and webhook URL. The create_boleto, get_boleto, and cancel_boleto tools all take a workspace_id argument.
Run
Caveats
- Pix / Arrecadação / Extrato 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. - Cobrança cancel is modelled as a
PATCHwithstatus: "BAIXADO"; the covenant-specific cancellation semantics may differ. - 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/santander/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 分