Mcp C6

io.github.codespar由 GitHub 帳號 codespar 發布v0.1.0-alpha.4更新於 Oct 24, 2026

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

概覽

AI 產生的概覽

一個已棄用的 C6 Bank 本機 MCP 伺服器,原本可讓助理建立 Pix 收款、boleto 並讀取帳戶資料,但無法連上任何線上服務。

可以做什麼
它提供 14 個面向 C6 Bank 商戶銀行業務的工具:取得 OAuth2 client_credentials 權杖,建立與查詢 Pix 即時收款(cob)及到期日收款(cobv),解析、註冊與刪除 DICT 金鑰,簽發、查詢與取消 boleto,以及讀取帳戶餘額與對帳單。README 指出此 npm 套件已棄用,且此伺服器中沒有任何工具能連上服務,因為正式與沙箱主機名稱無法透過 DNS 解析。介面路徑皆為推測,原始碼中以 TODO(verify) 標記。
適用情境
不適合正式或評估使用:登錄描述與 README 都標示已棄用且沒有可用端點,套件僅保留供參考。只適合想了解 C6 Bank Pix 與 boleto 的 MCP 整合如何設計的人,或手上已有可用端點可指向的人。
執行需求
以 npm 套件 @codespar/mcp-c6 透過 stdio 在本機執行,需要 Node.js。需要 C6_CLIENT_ID、C6_CLIENT_SECRET、C6_CERT_PATH 與 C6_KEY_PATH,可選 C6_ENV(sandbox 或 production)及 C6_BASE_URL。憑證與私鑰須在商戶合約簽署後從 C6 開發者入口取得。僅支援桌面端。
安裝前請注意
此伺服器要求 OAuth 用戶端密鑰(C6_CLIENT_SECRET)以及 mTLS 私鑰路徑(C6_KEY_PATH),兩者都是敏感憑證。其工具會建立、取消與刪除真實的銀行物件,例如 Pix 收款、DICT 金鑰與 boleto,並讀取餘額與對帳單,出錯可能造成資金異動或資料外洩。README 指出沒有工具能連上服務且套件已棄用,不應依賴。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp C6,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@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 TODO(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)

ToolPurpose
get_oauth_tokenMint or return a cached OAuth2 client_credentials bearer token for the C6 Developer Portal.
create_pix_cobCreate a Pix immediate charge (cob) with QR code.
get_pix_cobRetrieve a Pix immediate charge (cob) by its txid.
list_pix_cobList Pix immediate charges (cob) registered by the merchant within a date range.
create_pix_cobvCreate a Pix charge with due date (cobv) — used for boleto-like Pix where the payer can pay at or after a d...
get_pix_cobvRetrieve a Pix due-date charge (cobv) by its txid.
resolve_dict_keyResolve a DICT key (CPF, CNPJ, email, phone, EVP) to the owner's account data before sending a Pix.
register_pix_keyRegister a DICT key (CPF, CNPJ, email, phone, or EVP) on a C6 account owned by the merchant.
delete_pix_keyDelete a DICT key owned by the merchant.
create_boletoIssue a boleto via C6 Cobrança.
get_boletoRetrieve a boleto by its C6 identifier (id or nosso_numero).
cancel_boletoCancel (baixa) an outstanding boleto before payment.
get_account_balanceRetrieve the current balance snapshot for a merchant account.
get_statementRetrieve account statement transactions for a given period.

Install

bash
npm install @codespar/[email protected]

Environment

bash
C6_CLIENT_ID="..."        # OAuth client_id from C6's Developer PortalC6_CLIENT_SECRET="..."    # OAuth client_secretC6_CERT_PATH="/abs/path/to/client.crt"   # mTLS client certificateC6_KEY_PATH="/abs/path/to/client.key"    # mTLS private keyC6_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

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

Caveats

  • Paths are unverified. See the TODO(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

來源:packages/banking/c6/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.1.0-alpha.4最新Sep 27, 2026
  2. v0.1.0-alpha.3Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分