Itau

Finance and commerce

MCP server for Itaú Unibanco, Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS).

Your AI app calls the Itau MCP server, which does the finance and commerce work and sends the result back to the chat.

About Itau

Itau is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Itaú Unibanco, Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS).

Itau runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-itau@0.2.0-alpha.3 and talks to it over standard input and output. It needs ITAU_CLIENT_ID, ITAU_CLIENT_SECRET, ITAU_CERT_PATH and ITAU_KEY_PATH set before Itau starts.

Itau is listed in the official MCP registry as io.github.codespar/mcp-itau, version 0.2.0-alpha.3.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-itau
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-itau

How to set up Itau

  1. Install Node.js on the machine that runs your AI app, because Itau starts with npx and downloads its package on first run.
  2. Create ITAU_CLIENT_ID, ITAU_CLIENT_SECRET, ITAU_CERT_PATH and ITAU_KEY_PATH for Itau in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Itau to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Itau tools to confirm the connection.
  5. Run one read-only task with Itau first, and keep your app asking before each tool call until the results look right.

Itau compared with similar servers

  • Iugu by codespar has fewer GitHub stars than Itau (278 against 278); both are community servers, and both run locally.
  • Inter Bank by codespar has fewer GitHub stars than Itau (278 against 278); both are community servers, and both run locally.
  • Izipay by codespar has fewer GitHub stars than Itau (278 against 278); both are community servers, and both run locally.

Before you connect Itau

  • Give Itau its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Itau tool call until you trust what it does with them.
  • Treat text that Itau fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Itau on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Itau

How marketing and sales teams put Itau to work, by company size. Pick the size closest to yours and start Itau on one use case.

Small business

  • A small business can ask Itau which products and customers drive margin, then plan promotions around them.
  • Owners can use Itau to check refunds, failed payments and churn reasons without opening three dashboards.
  • Itau runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Itau to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Itau to check spend against budget each week and move money to what's working.
  • Start Itau on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Itau read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Itau to answer revenue questions by channel and region with figures finance signs off on.
  • Itau is a community server, so have security review the code and pin a version before Itau touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Itau README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-itau

MCP server for Itaú Unibanco, Brazil's largest private bank.

Itaú operates the largest private-bank API surface in the country. Merchants running high-volume Pix, boleto, and cash-management workloads integrate directly instead of going through a PSP.

Status: alpha (0.1.0-alpha.1)

Itaú's Developer Portal is contract-gated, the full OpenAPI specs for Pix, Cobrança, Arrecadação, and Extrato are only visible to onboarded merchants. The endpoint paths in this server are best-guesses based on (a) BACEN Pix v2 standard paths, (b) Itaú's public marketing pages, and (c) conventions shared across Santander / Bradesco / BB. Every unverified path is flagged To do(verify) in the source.

Pin to exact versions during 0.1.x; paths will be corrected to match the portal spec once an onboarded merchant can validate.

Tools (22)

Tool Purpose
get_oauth_token Mint or return a cached OAuth2 client_credentials bearer token for the Itaú Developer Portal.
send_pix Initiate an outbound Pix payment from the merchant's Itaú account.
create_pix_qr Create a dynamic Pix charge with QR code (cob).
get_pix Retrieve a Pix transaction by its BCB endToEndId (E).
resolve_dict_key Resolve a DICT key (CPF, CNPJ, email, phone, EVP) to the owner's account data before sending a Pix.
refund_pix Refund (devolução) a previously received Pix.
create_boleto Issue a boleto via Itaú Cobrança.
get_boleto Retrieve a boleto by its Itaú identifier (id or nosso_numero).
cancel_boleto Cancel (baixa) an outstanding boleto before payment.
get_statement Retrieve account statement transactions for a given period.
arrecadacao_pay Pay a utility, tax, or concessionária bill via Itaú Arrecadação.
create_pix_cobv Create a Pix charge with due date (cobv), used for boleto-like Pix where the payer can pay at or after a d...
list_pix_charges List immediate Pix charges (cob) registered by the merchant within a date range.
register_pix_key Register a DICT key (CPF, CNPJ, email, phone, or EVP) on an Itaú account owned by the merchant.
delete_pix_key Delete a DICT key owned by the merchant.
list_pix_keys List DICT keys currently registered to the merchant's Itaú accounts.
get_boleto_pdf Download the PDF of an issued boleto.
send_ted Send a TED transfer to an account at another bank.
transfer_between_accounts TAA, transfer between two Itaú accounts (owned by the merchant or a counterparty).
get_tariffs Query the tariff schedule applicable to the merchant's active contracts (Pix per-transaction, boleto regist...
list_dda_bills List bills registered for the merchant under the DDA (Débito Direto Autorizado) enrolment.
schedule_payment Schedule a future-dated payment (Pix, boleto, arrecadação, or TED).

Install

npm install @codespar/mcp-itau@0.1.0-alpha.1

Environment

ITAU_CLIENT_ID="..."       # OAuth client_id from Itaú's Developer Portal
ITAU_CLIENT_SECRET="..."   # OAuth client_secret
ITAU_CERT_PATH="/abs/path/to/client.crt"   # mTLS client certificate
ITAU_KEY_PATH="/abs/path/to/client.key"    # mTLS private key
ITAU_ENV="sandbox"                          # or "production" (default: sandbox)

Authentication

Two factors are both required on every call:

  1. OAuth2 client_credentials, the server calls the token endpoint, caches the bearer until ~60s before expiry, and attaches Authorization: Bearer <token> to downstream calls.
  2. mTLS, BACEN mandates mutual TLS for Pix v2, and Itaú enforces it across product families. The server loads the client certificate and private key from the paths you set, builds a Node https.Agent, and routes every request through it.

You obtain the cert + key bundle from the Itaú Developer Portal after your merchant contract is signed. They are distinct from the OAuth credentials.

Run

# stdio (default)
npx @codespar/mcp-itau

# HTTP transport
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-itau

Caveats

  • Paths are unverified. See the To do(verify) markers in src/index.ts. Onboarded merchants should validate against their portal-issued OpenAPI spec and open a PR.
  • Sandbox host is a guess. Itaú issues a sandbox subdomain per merchant; override by editing BASE_URL if your provisioned sandbox URL differs.
  • Arrecadação barcode validation is server-side in this alpha, no client-side mod-10 / mod-11 check yet.

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

Questions about Itau

What is the Itau MCP server?

MCP server for Itaú Unibanco, Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS). Itau is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Itau MCP server?

Add Itau to your AI app's MCP config with the command npx -y @codespar/mcp-itau@0.2.0-alpha.3. In Claude Code, run claude mcp add --transport stdio codespar-itau -- npx -y @codespar/mcp-itau@0.2.0-alpha.3. To run Itau this way you need Node.js installed.

Does Itau need an API key?

Yes. Itau expects ITAU_CLIENT_ID, ITAU_CLIENT_SECRET, ITAU_CERT_PATH and ITAU_KEY_PATH to be set. Create the key for Itau in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Itau an official MCP server?

No. Itau is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Itau access to company data.

What license is Itau under?

Itau is released under the MIT license, according to its GitHub repository. The license covers the code of Itau; the service it connects to has its own terms.