Skip to main content
SI

Sicoob

v0.1.0-alpha.2OAuth2alpha

Rede de banco cooperativo do BR — top 4 em volume de Pix. Pix imediato + cobv, DICT, boleto, saldo de conta. OAuth2 + mTLS. Alpha — developers.sicoob.com.br fechado por contrato.

13 ferramentas5 env vars🇧🇷 Brasilalpha — validação pendente

O que seu agente faz

O Sicoob dá ao seu agente 13 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.

  • get_oauth_tokenMint or return a cached OAuth2 client_credentials bearer token for the Sicoob Developers Portal. Exposed so agents can inspect token freshness; normal tool calls obtain tokens implicitly.
  • create_pix_cobCreate an immediate Pix charge (cob) with QR code. Returns the txid, copy-paste EMV payload, and location URL.
  • get_pix_cobRetrieve an immediate Pix charge by its txid.
Exemplo de chamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("get_oauth_token", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-sicoob@alpha

Quickstart

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "sicoob": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-sicoob@alpha"
      ],
      "env": {
        "SICOOB_CLIENT_ID": "<your_sicoob_client_id>",
        "SICOOB_CLIENT_SECRET": "<your_sicoob_client_secret>",
        "SICOOB_CERT_PATH": "<your_sicoob_cert_path>",
        "SICOOB_KEY_PATH": "<your_sicoob_key_path>"
      }
    }
  }
}

Depois de reiniciar, seu agente pode chamar qualquer uma das 13 ferramentas abaixo — teste get_oauth_token primeiro.

Variáveis de ambiente · 5

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

SICOOB_CLIENT_ID
obrigatório

Sicoob OAuth client_id issued via the Developers Portal after cooperative onboarding.

SICOOB_CLIENT_SECRET
obrigatóriosecret

Sicoob OAuth client_secret.

SICOOB_CERT_PATH
obrigatório

Absolute path to the mTLS client certificate (.crt or .pem). BACEN mandates mTLS for Pix v2.

SICOOB_KEY_PATH
obrigatóriosecret

Absolute path to the mTLS private key (.key or .pem).

SICOOB_ENV
opcional

Environment: 'sandbox' or 'production'. Defaults to 'sandbox'.

Ferramentas disponíveis · 13

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

READget_oauth_token
Mint or return a cached OAuth2 client_credentials bearer token for the Sicoob Developers Portal. Exposed so agents can inspect token freshness; normal tool calls obtain tokens implicitly.
WRITEcreate_pix_cob
Create an immediate Pix charge (cob) with QR code. Returns the txid, copy-paste EMV payload, and location URL.
READget_pix_cob
Retrieve an immediate Pix charge by its txid.
READlist_pix_cob
List immediate Pix charges (cob) registered by the merchant within a date range. Paginated per BACEN Pix v2.
WRITEcreate_pix_cobv
Create a Pix charge with due date (cobv) — boleto-like Pix payable on or after a due date with optional fine/interest/discount. Returns txid, copy-paste EMV payload, and location URL.
READget_pix_cobv
Retrieve a due-date Pix charge (cobv) by its txid.
READlookup_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.
WRITEregister_dict_key
Register a DICT key (CPF, CNPJ, email, phone, or EVP) on a Sicoob account owned by the cooperative member. Subject to BCB validation flows (e.g. email/SMS confirmation for email/phone keys).

Frameworks compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Qualquer cliente MCPProtocolo

Perguntas frequentes

Rode `npx -y @codespar/mcp-sicoob` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Sicoob — MCP server · 13 tools | CodeSpar