🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@codespar/mcp-nubank

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-nubank

MCP server for Nubank — Brazilian neobank via Open Finance, accounts, PIX, transfers

latest
npmnpm
Version
0.2.0-alpha.3
Version published
Maintainers
2
Created
Source

MCP Nubank

Alpha release — published under the alpha npm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during 0.x.x-alpha. Install with npm install <pkg>@alpha.

MCP server for Nubank — Brazil's largest digital bank, using the Open Finance Brasil standard.

Quick Start

# Set your credentials
export NUBANK_CLIENT_ID="your-client-id"
export NUBANK_CLIENT_SECRET="your-client-secret"
export NUBANK_CERT_PATH="/path/to/certificate.pem"

# Run via stdio
npx tsx packages/payments/nubank/src/index.ts

# Run via HTTP
npx tsx packages/payments/nubank/src/index.ts --http

Environment Variables

VariableRequiredDescription
NUBANK_CLIENT_IDYesOAuth2 client ID
NUBANK_CLIENT_SECRETYesOAuth2 client secret
NUBANK_CERT_PATHYesPath to mTLS certificate file
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Tools (22)

ToolPurpose
get_accountsList all accounts (checking, savings)
get_balanceGet account balance
get_transactionsList transactions with filters
get_credit_card_billGet credit card bill details
get_investmentsList investments and yields
initiate_pixInitiate a PIX transfer
get_pix_keysList registered PIX keys
get_statementGet account statement for a period
get_profileGet authenticated user profile information
list_cardsList debit and credit cards
get_pix_transferGet status and details of a specific PIX transfer
schedule_pixSchedule a future-dated PIX transfer
cancel_scheduled_pixCancel a previously scheduled PIX transfer
create_pix_keyRegister a new PIX key for the authenticated account
delete_pix_keyRemove a registered PIX key
get_card_detailsGet details for a single debit or credit card
block_cardBlock a card (reports lost/stolen or temporarily disables it)
unblock_cardUnblock a previously blocked card (only valid for temporary blocks)
get_credit_card_transactionsList transactions for a given credit card bill
pay_credit_card_billPay a credit card bill from a linked account
get_boletoRetrieve boleto details by barcode or digitable line
pay_boletoPay a boleto from a linked account

Auth

Uses OAuth2 client credentials flow with mTLS certificate. Register your application through Nubank's Open Finance portal to obtain credentials.

API Reference

  • Open Finance Brasil
  • Nubank Developer Docs

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.

Authentication

Set these environment variables before launching the server:

  • NUBANK_CLIENT_ID (required, secret) — API key/token for nubank

Issue credentials at the provider's developer portal: https://openfinancebrasil.org.br.

License

MIT

Keywords

nubank

FAQs

Package last updated on 22 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts