Codespar C6

Finance and commerceDeveloper tools

DEPRECATED: no live endpoint (baas.c6bank.com.br does not resolve).

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

About Codespar C6

Codespar C6 is a community MCP server from codespar, filed in our directory under finance and commerce and developer tools. DEPRECATED: no live endpoint (baas.c6bank.com.br does not resolve).

Codespar C6 runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-c6@0.1.0-alpha.4 and talks to it over standard input and output. It needs C6_CLIENT_ID, C6_CLIENT_SECRET, C6_CERT_PATH and C6_KEY_PATH set before Codespar C6 starts.

Codespar C6 is listed in the official MCP registry as io.github.codespar/mcp-c6, version 0.1.0-alpha.4.

At a glance

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

How to set up Codespar C6

  1. Install Node.js on the machine that runs your AI app, because Codespar C6 starts with npx and downloads its package on first run.
  2. Create C6_CLIENT_ID, C6_CLIENT_SECRET, C6_CERT_PATH and C6_KEY_PATH for Codespar C6 in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Codespar C6 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 Codespar C6 tools to confirm the connection.
  5. Run one read-only task with Codespar C6 first, and keep your app asking before each tool call until the results look right.

Codespar C6 compared with similar servers

  • Coinbase Commerce by codespar has fewer GitHub stars than Codespar C6 (278 against 278); both are community servers, and both run locally.
  • Cobre by codespar has fewer GitHub stars than Codespar C6 (278 against 278); both are community servers, and both run locally.
  • Colppy by codespar has fewer GitHub stars than Codespar C6 (278 against 278); both are community servers, and both run locally.

Before you connect Codespar C6

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

Marketing use cases for Codespar C6

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

Small business

  • A small business can ask Codespar C6 which products and customers drive margin, then plan promotions around them.
  • Owners can use Codespar C6 to check refunds, failed payments and churn reasons without opening three dashboards.
  • A small business with a developer can use Codespar C6 to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Codespar C6 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 Codespar C6 to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Codespar C6 to check spend against budget each week and move money to what's working.
  • Growth engineers can use Codespar C6 to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Start Codespar C6 on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Codespar C6 read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Codespar C6 to answer revenue questions by channel and region with figures finance signs off on.
  • Enterprise engineering teams can roll out Codespar C6 with repo scopes and audit logs, so agents work only where they are allowed.
  • Codespar C6 is a community server, so have security review the code and pin a version before Codespar C6 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

Codespar C6 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-c6

Deprecated: no live endpoint. Measured on 2026-09-27 against two public DNS resolvers (8.8.8.8 and 1.1.1.1): baas.c6bank.com.br (production) and baas-sandbox.c6bank.com.br (sandbox) do not resolve in DNS. C6's developer portal now documents baas-api.c6bank.info (production) and baas-api-sandbox.c6bank.info (sandbox), both behind mTLS; this server's paths and auth were not written against them and have not been checked. No tool in this server reaches a service. The package is deprecated on npm and stays in this repository for reference only. If you have a working endpoint, point the server at it with C6_BASE_URL. To bring the package back, open an issue in mcp-dev-latam with the provider's documented base URL.

MCP server for C6 Bank, a top Brazilian digital bank, JPMorgan-backed.

C6 ranks among the largest Brazilian digital banks by retail account base and has expanded aggressively into SMB and corporate banking. Merchants integrate directly for Pix, boleto, and account-data flows.

Status: alpha (0.1.0-alpha.1)

C6's Developer Portal is contract-gated, full OpenAPI specs for Pix, Cobrança, and account APIs are only visible to onboarded merchants. The endpoint paths in this server are best-guesses based on (a) the BACEN Pix v2 standard, (b) C6's public marketing pages, and (c) conventions shared across Itaú / Santander / Bradesco. 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 (14)

Tool Purpose
get_oauth_token Mint or return a cached OAuth2 client_credentials bearer token for the C6 Developer Portal.
create_pix_cob Create a Pix immediate charge (cob) with QR code.
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.
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...
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.
register_pix_key Register a DICT key (CPF, CNPJ, email, phone, or EVP) on a C6 account owned by the merchant.
delete_pix_key Delete a DICT key owned by the merchant.
create_boleto Issue a boleto via C6 Cobrança.
get_boleto Retrieve a boleto by its C6 identifier (id or nosso_numero).
cancel_boleto Cancel (baixa) an outstanding boleto before payment.
get_account_balance Retrieve the current balance snapshot for a merchant account.
get_statement Retrieve account statement transactions for a given period.

Install

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

Environment

C6_CLIENT_ID="..."        # OAuth client_id from C6's Developer Portal
C6_CLIENT_SECRET="..."    # OAuth client_secret
C6_CERT_PATH="/abs/path/to/client.crt"   # mTLS client certificate
C6_KEY_PATH="/abs/path/to/client.key"    # mTLS private key
C6_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 C6 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 C6 Developer Portal after your merchant contract is signed.

Run

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

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. C6 issues a sandbox subdomain per merchant; override by editing BASE_URL if your provisioned sandbox URL differs.

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 Codespar C6

What is the Codespar C6 MCP server?

DEPRECATED: no live endpoint (baas.c6bank.com.br does not resolve). Codespar C6 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 Codespar C6 MCP server?

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

Does Codespar C6 need an API key?

Yes. Codespar C6 expects C6_CLIENT_ID, C6_CLIENT_SECRET, C6_CERT_PATH and C6_KEY_PATH to be set. Create the key for Codespar C6 in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Codespar C6 an official MCP server?

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

What license is Codespar C6 under?

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