
Mcp Bradesco
io.github.codesparPublished by GitHub account codesparv0.2.0-alpha.3Updated Oct 24, 2026
MCP server for Bradesco — Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS)
Overview
Alpha MCP server for Bradesco banking APIs, letting an assistant send Pix, issue boletos, pay bills and taxes, and read balances and statements.
- What you can do
- Mint and cache OAuth2 bearer tokens for the Bradesco Developer Portal
- Send, receive-list, look up and refund Pix, create Pix QR charges and due charges, and register, resolve or delete DICT keys
- Issue, list, retrieve, cancel and download PDFs of boletos
- Pay utility, tax and concessionária bills, including DARF and GRU
- Read account balance and statement transactions, and execute TED or intra-bank transfers
- When to use it
- For merchants that already hold a Bradesco contract and want an assistant to drive Pix, boleto, arrecadação and cash-management operations directly instead of through a PSP. Best tried in sandbox first, given the alpha status.
- Requirements
- Runs locally as an npm package (Node.js) over stdio, or over HTTP when MCP_HTTP and MCP_PORT are set. Needs a Bradesco Developer Portal contract with OAuth credentials (BRADESCO_CLIENT_ID, BRADESCO_CLIENT_SECRET) plus an mTLS certificate and private key from the portal (BRADESCO_CERT_PATH, BRADESCO_KEY_PATH). BRADESCO_ENV selects sandbox or production and defaults to sandbox.
Installation
In SourceWeft
- Open Mcp Bradesco in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: packages/banking/bradesco/README.md at commit d0a519a
Tools
0Version history
1- v0.2.0-alpha.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts