Banco do Brasil MCP
An open-source Model Context Protocol server for Banco do Brasil, enabling agents to interact with banking services such as Pix transfers, boleto collection (Cobrança), current account management, and tax collection (Arrecadação) using OAuth2 and mTLS authentication.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Execute Pix payments and transfers
- Generate and manage boleto cobrancas
- Access current account information
- Process tax collection (Arrecadação)
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@codespar/mcp-banco-do-brasil 0.1.0-alpha.5
{
"version": "0.1.0-alpha.5",
"transport": "stdio",
"identifier": "@codespar/mcp-banco-do-brasil",
"registryType": "npm",
"environmentVariables": [
{
"name": "BB_CLIENT_ID",
"format": "string",
"isRequired": true,
"description": "Banco do Brasil OAuth client_id issued via developers.bb.com.br after contract onboarding."
},
{
"name": "BB_CLIENT_SECRET",
"format": "string",
"isRequired": true,
"description": "Banco do Brasil OAuth client_secret."
},
{
"name": "BB_DEVELOPER_APP_KEY",
"format": "string",
"isRequired": true,
"description": "BB Developer App Key (gw-dev-app-key) — appended as a query param on most BB API calls."
},
{
"name": "BB_CERT_PATH",
"format": "string",
"description": "Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2 in production."
},
{
"name": "BB_KEY_PATH",
"format": "string",
"description": "Absolute path to the mTLS private key (.key or .pem)."
},
{
"name": "BB_ENV",
"format": "string",
"description": "Environment: 'sandbox' or 'production'. Defaults to 'sandbox'."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"banco-do-brasil-mcp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-banco-do-brasil@0.1.0-alpha.5"
],
"env": {
"BB_CLIENT_ID": "<YOUR_BB_CLIENT_ID>",
"BB_CLIENT_SECRET": "<YOUR_BB_CLIENT_SECRET>",
"BB_DEVELOPER_APP_KEY": "<YOUR_BB_DEVELOPER_APP_KEY>",
"BB_CERT_PATH": "<YOUR_BB_CERT_PATH>",
"BB_KEY_PATH": "<YOUR_BB_KEY_PATH>",
"BB_ENV": "<YOUR_BB_ENV>"
}
}
}
}Cline
{
"mcpServers": {
"banco-do-brasil-mcp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-banco-do-brasil@0.1.0-alpha.5"
],
"env": {
"BB_CLIENT_ID": "<YOUR_BB_CLIENT_ID>",
"BB_CLIENT_SECRET": "<YOUR_BB_CLIENT_SECRET>",
"BB_DEVELOPER_APP_KEY": "<YOUR_BB_DEVELOPER_APP_KEY>",
"BB_CERT_PATH": "<YOUR_BB_CERT_PATH>",
"BB_KEY_PATH": "<YOUR_BB_KEY_PATH>",
"BB_ENV": "<YOUR_BB_ENV>"
}
}
}
}VS Code
{
"servers": {
"banco-do-brasil-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-banco-do-brasil@0.1.0-alpha.5"
],
"env": {
"BB_CLIENT_ID": "<YOUR_BB_CLIENT_ID>",
"BB_CLIENT_SECRET": "<YOUR_BB_CLIENT_SECRET>",
"BB_DEVELOPER_APP_KEY": "<YOUR_BB_DEVELOPER_APP_KEY>",
"BB_CERT_PATH": "<YOUR_BB_CERT_PATH>",
"BB_KEY_PATH": "<YOUR_BB_KEY_PATH>",
"BB_ENV": "<YOUR_BB_ENV>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"banco-do-brasil-mcp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-banco-do-brasil@0.1.0-alpha.5"
],
"env": {
"BB_CLIENT_ID": "<YOUR_BB_CLIENT_ID>",
"BB_CLIENT_SECRET": "<YOUR_BB_CLIENT_SECRET>",
"BB_DEVELOPER_APP_KEY": "<YOUR_BB_DEVELOPER_APP_KEY>",
"BB_CERT_PATH": "<YOUR_BB_CERT_PATH>",
"BB_KEY_PATH": "<YOUR_BB_KEY_PATH>",
"BB_ENV": "<YOUR_BB_ENV>"
}
}
}
}Let your agent find its tools
Find servers like Banco do Brasil MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.