跳到正文
FunCoding

mcp-sicoob

官方 MCP Registry 已收录

MCP server for Sicoob — Pix (cob/cobv/DICT), Cobrança (boleto), SPB (OAuth2 + mTLS)

Star
278
分类
金融
版本
v0.1.0-alpha.4
许可证
MIT
最近提交
2026年11月13日

@codespar/mcp-sicoob

MCP server for Sicoob — Brazil's largest cooperative bank network.

Sicoob is consistently a top-4 PSP by Pix volume in Brazil. The Sistema de Cooperativas de Crédito do Brasil aggregates hundreds of regional cooperatives behind a single Developers Portal exposing Pix, Cobrança (boleto), and SPB APIs.

Status: alpha (0.1.0-alpha.1)

Sicoob's Developers Portal is gated by cooperative onboarding. The endpoint paths in this server are best-guesses based on (a) BACEN Pix v2 standard paths, (b) Sicoob's public documentation snippets, and (c) conventions shared across Itaú / Bradesco / BB. 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 cooperative member can validate.

Tools (13)

ToolPurpose
get_oauth_tokenMint or return a cached OAuth2 client_credentials bearer token for the Sicoob Developers Portal.
create_pix_cobCreate an immediate Pix charge (cob) with QR code.
get_pix_cobRetrieve an immediate Pix charge by its txid.
list_pix_cobList immediate Pix charges (cob) registered by the merchant within a date range.
create_pix_cobvCreate a Pix charge with due date (cobv) — boleto-like Pix payable on or after a due date with optional fin...
get_pix_cobvRetrieve a due-date Pix charge (cobv) by its txid.
lookup_dict_keyResolve a DICT key (CPF, CNPJ, email, phone, EVP) to the owner's account data before sending a Pix.
register_dict_keyRegister a DICT key (CPF, CNPJ, email, phone, or EVP) on a Sicoob account owned by the cooperative member.
delete_dict_keyDelete a DICT key owned by the cooperative member.
create_boletoIssue a boleto via Sicoob Cobrança.
get_boletoRetrieve a boleto by its Sicoob identifier (id or nosso_numero).
cancel_boletoCancel (baixa) an outstanding boleto before payment.
get_account_balanceQuery the merchant cooperative account balance via Sicoob SPB.

Install

npm install @codespar/[email protected]

Environment

SICOOB_CLIENT_ID="..."       # OAuth client_id from Sicoob's Developers Portal
SICOOB_CLIENT_SECRET="..."   # OAuth client_secret
SICOOB_CERT_PATH="/abs/path/to/client.crt"   # mTLS client certificate
SICOOB_KEY_PATH="/abs/path/to/client.key"    # mTLS private key
SICOOB_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 Sicoob 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.

The cert + key bundle is issued by Sicoob's Developers Portal after cooperative onboarding and is distinct from the OAuth credentials.

Run

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

# HTTP transport
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-sicoob

Caveats

  • Paths are unverified. See the TODO(verify) markers in src/index.ts. Onboarded cooperatives should validate against their portal-issued OpenAPI spec and open a PR.
  • Sandbox host is a guess. Sicoob issues a sandbox subdomain per cooperative; 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

同类 MCP Server

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k近 7 天新增 216 个 star

精选

CCXT

连接 100+ 交易所和预测市场,获取行情数据,管理订单和账户。

CCccxt/ccxt45k近 7 天新增 68 个 star

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k近 7 天新增 138 个 star

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k近 7 天新增 25 个 star

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k近 7 天新增 66 个 star

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k近 7 天新增 13 个 star