Skip to main content
CB

C6 Bank

@codespar/mcp-c6 Β· v0.1.0-alpha.4

πŸ‡§πŸ‡· BrazilBankingAuth Β· OAuth2beta14 tools6 env varsprereleasedeprecated on npm

BR digital bank (JPMorgan-backed). BaaS for Pix, DICT, boleto, accounts. OAuth2 + mTLS. Alpha β€” developers.c6bank.com.br contract-gated, paths follow BACEN Pix v2 + C6 BaaS conventions.

Deprecated on npm: No live endpoint: baas.c6bank.com.br does not resolve. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/banking/c6

MIT Β· deprecated on npm

Limitations

  • v0.1.0-alpha.4 is a prerelease; npm has no stable release of this package.
  • The package manifest does not declare 1 of the 6 variables the code reads.
Package
@codespar/mcp-c6
Version
0.1.0-alpha.4 Β· prerelease
npm dist-tag
latest
Category
Banking
Auth
OAuth2
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio

Quickstart

Before you use it.

This package is deprecated on npm, so this page offers no install command or client config. No live endpoint: baas.c6bank.com.br does not resolve. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/banking/c6

Environment variables6 variables
C6_BASE_URLRead by the code; the package manifest does not declare it.
C6_CERT_PATHAbsolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2.required
C6_CLIENT_IDC6 OAuth client_id issued via the Developer Portal after contract onboarding.required
C6_CLIENT_SECRETC6 OAuth client_secret.requiredsecret
C6_ENVEnvironment: 'sandbox' or 'production'. Defaults to 'sandbox'.optional
C6_KEY_PATHAbsolute path to the mTLS private key (.key or .pem).requiredsecret

Names read from the package code (@codespar/mcp-c6@0.1.0-alpha.4). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

Tools

What your agent can call.

14 tools, as the package's tools/list returns them.

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.

list_pix_cob

List Pix immediate charges (cob) registered by the merchant within a date range. Paginated per BACEN Pix v2.

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 due date with optional fine/interest. Returns txid, copy-paste EMV payload, and location URL.

get_pix_cobv

Retrieve a Pix due-date charge (cobv) by its txid.

resolve_dict_key

Resolve a DICT key (CPF, CNPJ, email, phone, EVP) to the owner's account data before sending a Pix. Subject to BCB rate limits per consenting payer.

register_pix_key

Register a DICT key (CPF, CNPJ, email, phone, or EVP) on a C6 account owned by the merchant. Subject to BCB validation flows (e.g. email/SMS confirmation for email/phone keys).

delete_pix_key

Delete a DICT key owned by the merchant. Irreversible β€” the key becomes available for re-registration by any PSP after the BCB lockout window.

create_boleto

Issue a boleto via C6 CobranΓ§a. Returns nosso_numero, linha_digitΓ‘vel, barcode, and PDF URL.

get_boleto

Retrieve a boleto by its C6 identifier (id or nosso_numero).

cancel_boleto

Cancel (baixa) an outstanding boleto before payment.

Names and descriptions come from the package's tools/list (@codespar/mcp-c6@0.1.0-alpha.4). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

The CodeSpar runtime does not route this server. Mount it in your client over stdio.

Protocol

Any MCP client

stdio

Questions

Before you install.

How do I install the C6 Bank MCP server?

The npm package @codespar/mcp-c6 is deprecated, so this page shows no install command for it. The registry says: No live endpoint: baas.c6bank.com.br does not resolve. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/banking/c6

What can my agent do with C6 Bank?

C6 Bank exposes 14 tools for banking. Your agent calls them directly; the full list is above.

How does C6 Bank authenticate, and how are credentials stored?

C6 Bank uses OAuth2. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does C6 Bank handle upstream API changes?

Every server is versioned independently on npm. This one is deprecated (see the notice above), so the page does not suggest pinning a version.

Is C6 Bank open source? How do I report a bug?

Yes. C6 Bank is MIT-licensed and published on npm as @codespar/mcp-c6, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

This package is deprecated on npm; read the notice above before using it.

C6 Bank β€” MCP server Β· 14 tools | CodeSpar