
Mcp Banco Do Brasil
io.github.codesparPublished by GitHub account codesparv0.1.0-alpha.5Updated Oct 24, 2026
MCP server for Banco do Brasil — Pix, Cobrança (boleto), Conta-Corrente, Arrecadação (OAuth2 + mTLS)
Overview
Local MCP server for Banco do Brasil banking APIs, letting an assistant create and manage Pix charges, boletos, DICT keys, and read account balances and bank-st
- What you can do
- Create, retrieve and list immediate Pix charges (cob), and issue or look up Pix refunds (devolução). Resolve, register and delete DICT keys (CPF, CNPJ, email, phone, EVP). Issue, retrieve and cancel boletos through BB Cobranças. Read the balance and statement transactions of a BB checking account over a date range.
- When to use it
- For merchants or developers integrating directly with Banco do Brasil for high-volume Pix and boleto operations, or for checking account balances and statements from an assistant. Best suited to sandbox experimentation first, given the alpha status.
- Requirements
- Runs locally via npm (npx) over stdio. Needs a Banco do Brasil developer contract and OAuth credentials: BB_CLIENT_ID, BB_CLIENT_SECRET and BB_DEVELOPER_APP_KEY. Production Pix v2 requires mTLS, so BB_CERT_PATH and BB_KEY_PATH must point to a client certificate and private key. BB_ENV selects sandbox (default) or production. Network access to BB API and OAuth endpoints.
Installation
In SourceWeft
- Open Mcp Banco Do Brasil 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-banco-do-brasil
MCP server for Banco do Brasil — Brazil's top public bank.
BB exposes one of the broadest public-bank API surfaces in the country across Pix, Cobranças, Conta-Corrente, Open Finance, and Arrecadação. Merchants doing high-volume Pix and boleto operations integrate directly with BB instead of going through a PSP.
Status: alpha (0.1.0-alpha.1)
BB's Developer Portal is contract-gated — the full OpenAPI specs are visible only after merchant onboarding. Pix paths follow the BACEN Pix v2 standard; boleto, account, and statement paths are best-guesses based on BB's public marketing pages and conventions shared with peers (Itaú, Santander, Bradesco). Every unverified path is flagged TODO(verify) in src/index.ts. Pin to exact versions during 0.1.x.
Tools (13)
Install
Environment
Authentication
- OAuth2
client_credentials— token endpoint atoauth.{env}.bb.com.br. Bearer cached until ~60s before expiry. - mTLS — required by BACEN for Pix v2 in production. Sandbox typically allows TLS-only; cert/key are optional in sandbox and required in production.
gw-dev-app-key— BB API gateway key, appended as a query param on all calls.
Run
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/banco-do-brasil/README.md at commit d0a519a
Tools
0Version history
2- v0.1.0-alpha.5LatestSep 27, 2026
- v0.1.0-alpha.4Sep 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