2nd largest private BR bank (after Itau). Direct banking API: Pix, boleto, statements. OAuth2 + mTLS. Alpha on npm — base URLs unverified.
$ npm install @codespar/mcp-bradesco@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"bradesco": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-bradesco@alpha"
],
"env": {
"BRADESCO_CLIENT_ID": "<your_bradesco_client_id>",
"BRADESCO_CLIENT_SECRET": "<your_bradesco_client_secret>",
"BRADESCO_CERT_PATH": "<your_bradesco_cert_path>",
"BRADESCO_KEY_PATH": "<your_bradesco_key_path>"
}
}
}
}After restart, your agent can call any of the 22 tools below — try get_oauth_token first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
BRADESCO_CLIENT_IDBradesco OAuth client_id issued via the Developer Portal after contract onboarding.
BRADESCO_CLIENT_SECRETBradesco OAuth client_secret.
BRADESCO_CERT_PATHAbsolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2.
BRADESCO_KEY_PATHAbsolute path to the mTLS private key (.key or .pem).
BRADESCO_ENVEnvironment: 'sandbox' or 'production'. Defaults to 'sandbox'.
Each tool is independent — your agent loads only what it needs to reduce context and response time.
get_oauth_tokensend_pixcreate_pix_qrget_pixresolve_dict_keyrefund_pixcreate_boletoget_boletoMCP is a protocol — any framework that speaks it can mount this server.