Maior banco privado do BR. API bancária direta pra Pix de alto volume, boleto, extratos e pagamento de contas/tributos. OAuth2 + mTLS (exigência do BACEN pro Pix v2). Alpha no npm — devportal.itau.com.br é fechado por contrato, paths de endpoint marcados com TODO(verify).
O Itaú dá ao seu agente 22 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 Itaú Developer Portal. Exposed so agents can inspect token freshness; normal tool calls obtain tokens implicitly.send_pix — Initiate an outbound Pix payment from the merchant's Itaú account. Amount in BRL major units (e.g. '10.50').create_pix_qr — Create a dynamic Pix charge with QR code (cob). Returns the txid, copy-paste EMV payload, and location URL.// 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-itau@alphaAdicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).
{
"mcpServers": {
"itau": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-itau@alpha"
],
"env": {
"ITAU_CLIENT_ID": "<your_itau_client_id>",
"ITAU_CLIENT_SECRET": "<your_itau_client_secret>",
"ITAU_CERT_PATH": "<your_itau_cert_path>",
"ITAU_KEY_PATH": "<your_itau_key_path>"
}
}
}
}Depois de reiniciar, seu agente pode chamar qualquer uma das 22 ferramentas abaixo — teste get_oauth_token primeiro.
Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.
ITAU_CLIENT_IDItaú OAuth client_id issued via the Developer Portal after contract onboarding.
ITAU_CLIENT_SECRETItaú OAuth client_secret.
ITAU_CERT_PATHAbsolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2.
ITAU_KEY_PATHAbsolute path to the mTLS private key (.key or .pem).
ITAU_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_tokensend_pixcreate_pix_qrget_pixresolve_dict_keyrefund_pixcreate_boletoget_boletoMCP é um protocolo — qualquer framework que o fale pode montar este server.