# io.github.codespar/mcp-c6 (npm · @codespar/mcp-c6)

MCP server for C6 Bank — Pix (cob/cobv), DICT keys, Boleto, balance, statement (OAuth2 + mTLS)

- Trust score: 69/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `@codespar/mcp-c6`: 69/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-c6/codespar-mcp-c6.md), [page](https://verifymcp.io/servers/codespar-mcp-c6/codespar-mcp-c6)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-c6`
- Version: `0.1.0-alpha.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 42 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 73/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1395 tokens (~99/item across 14 items; 14 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-c6 -- npx -y @codespar/mcp-c6
```

### Codex

```bash
codex mcp add codespar-mcp-c6 -- npx -y @codespar/mcp-c6
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-c6": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-c6"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-c6 --command npx --arg -y --arg @codespar/mcp-c6
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-c6:
    command: "npx"
    args: ["-y", "@codespar/mcp-c6"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-c6": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-c6"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 69, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 68, +34)

- [security regression] Provenance: fail → unverified
- [security regression] Install scripts: pass → unverified
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Capabilities: pass → unverified
- [functional regression] License: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Maintenance: pass → unverified
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Dependency health: unverified → partial
- [functional] Licence: MIT

### 2026-08-01 (score 34, −4)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 38, +12)

- [security regression] Provenance: unverified → fail
- [security regression] Malware scan: pass → unverified
- [security improvement] Install scripts: unverified → pass
- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional] Licence: MIT

### 2026-07-29 (score 26, −20)

- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (14)

### `get_oauth_token` (~44 tokens)

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` (~167 tokens)

Create a Pix immediate charge (cob) with QR code. Returns the txid, copy-paste EMV payload, and location URL per BACEN Pix v2.

Input parameters:

- `additional_info` (array): Optional infoAdicionais — array of { nome, valor }
- `amount` (string, required): Amount in BRL major units, e.g. '99.90'
- `description` (string): Payer-visible description (solicitacaoPagador)
- `expires_in` (number): QR lifetime in seconds (default 3600)
- `payer` (object): Payer identification (optional for cob, required for cobv)
- `txid` (string): Optional merchant-side txid (26-35 alphanumeric chars). Omit to let C6 assign.

### `get_pix_cob` (~37 tokens)

Retrieve a Pix immediate charge (cob) by its txid.

Input parameters:

- `txid` (string, required): BACEN Pix txid

### `list_pix_cob` (~170 tokens)

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

Input parameters:

- `cnpj` (string): Optional payer CNPJ filter (digits only)
- `cpf` (string): Optional payer CPF filter (digits only)
- `from` (string, required): Start date-time ISO-8601 (inicio)
- `page` (number): Page number (paginacao.paginaAtual)
- `page_size` (number): Items per page (paginacao.itensPorPagina)
- `status` (string): Optional status filter: ATIVA | CONCLUIDA | REMOVIDA_PELO_USUARIO_RECEBEDOR | REMOVIDA_PELO_PSP
- `to` (string, required): End date-time ISO-8601 (fim)

### `create_pix_cobv` (~228 tokens)

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.

Input parameters:

- `amount` (string, required): Original amount in BRL major units, e.g. '250.00'
- `description` (string): Payer-visible description
- `discount` (object): Desconto up to due date: { percentage?, amount? }
- `due_date` (string, required): Due date ISO-8601 (YYYY-MM-DD)
- `fine` (object): Multa after due date: { percentage?, amount? }
- `interest` (object): Juros (daily) after due date: { percentage?, amount? }
- `payer` (object, required): Payer identification (required for cobv)
- `txid` (string): Optional merchant-side txid. Omit to let C6 assign.
- `validity_after_due_days` (number): Days after due date the Pix remains payable (default 30)

### `get_pix_cobv` (~40 tokens)

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

Input parameters:

- `txid` (string, required): BACEN Pix txid

### `resolve_dict_key` (~92 tokens)

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.

Input parameters:

- `key` (string, required): DICT key — CPF, CNPJ, email, phone (+55...), or EVP UUID
- `payer_document` (string): Merchant / end-payer CPF/CNPJ for BCB audit logging

### `register_pix_key` (~114 tokens)

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).

Input parameters:

- `account` (object, required): Account to bind the key to
- `key` (string): The key value. Omit for EVP (C6 generates the UUID).
- `key_type` (string, required): DICT key type: CPF | CNPJ | EMAIL | PHONE | EVP

### `delete_pix_key` (~54 tokens)

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

Input parameters:

- `key` (string, required): DICT key value to delete

### `create_boleto` (~166 tokens)

Issue a boleto via C6 Cobrança. Returns nosso_numero, linha_digitável, barcode, and PDF URL.

Input parameters:

- `amount` (string, required): Amount in BRL major units, e.g. '150.00'
- `due_date` (string, required): Due date ISO-8601 (YYYY-MM-DD)
- `fine` (object): Multa (fine after due date): { percentage?, amount?, days_after_due? }
- `instructions` (array): Free-text instructions printed on the boleto
- `interest` (object): Juros (daily interest after due date): { percentage?, amount? }
- `our_number` (string): Nosso_numero. Omit to have C6 assign one.
- `payer` (object, required): Payer (sacado) data

### `get_boleto` (~38 tokens)

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

Input parameters:

- `id` (string, required): Boleto id or nosso_numero

### `cancel_boleto` (~47 tokens)

Cancel (baixa) an outstanding boleto before payment.

Input parameters:

- `id` (string, required): Boleto id or nosso_numero
- `reason` (string): Cancellation reason code or free text

### `get_account_balance` (~34 tokens)

Retrieve the current balance snapshot for a merchant account.

Input parameters:

- `account` (string, required): Agência-conta identifier of the merchant account

### `get_statement` (~97 tokens)

Retrieve account statement transactions for a given period. Paginated.

Input parameters:

- `account` (string, required): Agência-conta identifier of the merchant account
- `from` (string, required): Start date ISO-8601 (YYYY-MM-DD)
- `page` (number): Page number (1-indexed)
- `page_size` (number): Items per page (default 50)
- `to` (string, required): End date ISO-8601 (YYYY-MM-DD)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-c6/codespar-mcp-c6#diagnostics

## Score history

- 2026-08-04: 69
- 2026-08-03: 68
- 2026-08-02: 68
- 2026-08-01: 34
- 2026-07-30: 38
- 2026-07-29: 26
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-c6
- Socket report: https://socket.dev/npm/package/@codespar/mcp-c6
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-c6/codespar-mcp-c6/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-c6/codespar-mcp-c6/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-c6/codespar-mcp-c6
