Banco digital do BR (apoiado pelo JPMorgan). BaaS pra Pix, DICT, boleto, contas. OAuth2 + mTLS. Alpha — developers.c6bank.com.br fechado por contrato, paths seguem Pix v2 do BACEN + convenções de BaaS do C6.
O C6 Bank dá ao seu agente 14 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.
get_oauth_token — Mint or return a cached OAuth2 client_credentials bearer token for the C6 Developer Portal. Exposed so agents can inspect token freshness; normal tool calls obtain tokens implicitly.create_pix_cob — Create a Pix immediate charge (cob) with QR code. Returns the txid, copy-paste EMV payload, and location URL per BACEN Pix v2.get_pix_cob — Retrieve a Pix immediate charge (cob) by its txid.// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("get_oauth_token", { /* ... */ });$ npm install @codespar/mcp-c6@alphaAdicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).
{
"mcpServers": {
"c6": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-c6@alpha"
],
"env": {
"C6_CLIENT_ID": "<your_c6_client_id>",
"C6_CLIENT_SECRET": "<your_c6_client_secret>",
"C6_CERT_PATH": "<your_c6_cert_path>",
"C6_KEY_PATH": "<your_c6_key_path>"
}
}
}
}Depois de reiniciar, seu agente pode chamar qualquer uma das 14 ferramentas abaixo — teste get_oauth_token primeiro.
Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.
C6_CLIENT_IDC6 OAuth client_id issued via the Developer Portal after contract onboarding.
C6_CLIENT_SECRETC6 OAuth client_secret.
C6_CERT_PATHAbsolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2.
C6_KEY_PATHAbsolute path to the mTLS private key (.key or .pem).
C6_ENVEnvironment: 'sandbox' or 'production'. Defaults to 'sandbox'.
Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.
get_oauth_tokencreate_pix_cobget_pix_coblist_pix_cobcreate_pix_cobvget_pix_cobvresolve_dict_keyregister_pix_keyMCP é um protocolo — qualquer framework que o fale pode montar este server.