Skip to main content
CO

Cobre

v0.1.0OAuth2

Tesouraria e payouts B2B na Colômbia e no México. Movimentação de saída por trilhos instantâneos (Bre-B) com gestão de saldo e beneficiários.

8 ferramentas3 env vars🇨🇴 Colômbiaestável no npm

O que seu agente faz

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

  • list_balancesList the balances of every account visible to this credential (GET /v1/balances).
  • get_balanceGet one balance by id (GET /v1/balances/{id}).
  • create_counterpartyRegister a counterparty (beneficiary) to pay out to (POST /v1/counterparties). Pass the counterparty object in Cobre's shape: geo, account details (bank code + account number for CO, CLABE for MX SPEI), and beneficiary identity.
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("list_balances", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-cobre

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": {
    "cobre": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-cobre"
      ],
      "env": {
        "COBRE_USER_ID": "<your_cobre_user_id>",
        "COBRE_SECRET": "<your_cobre_secret>"
      }
    }
  }
}

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

Variáveis de ambiente · 3

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

COBRE_USER_ID
obrigatório

Cobre API credential user id

COBRE_SECRET
obrigatóriosecret

Cobre API credential secret

COBRE_BASE_URL
opcional

Override the API host. Defaults to https://api.cobre.co.

Ferramentas disponíveis · 8

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

READlist_balances
List the balances of every account visible to this credential (GET /v1/balances).
READget_balance
Get one balance by id (GET /v1/balances/{id}).
WRITEcreate_counterparty
Register a counterparty (beneficiary) to pay out to (POST /v1/counterparties). Pass the counterparty object in Cobre's shape: geo, account details (bank code + account number for CO, CLABE for MX SPEI), and beneficiary identity.
READlist_counterparties
List registered counterparties (GET /v1/counterparties).
READget_counterparty
Get one counterparty by id (GET /v1/counterparties/{id}).
WRITEcreate_money_movement
Create an outbound money movement (POST /v1/money_movements): source account/balance, destination counterparty, amount and currency. Runs over Colombia's instant rails or Mexico's SPEI depending on the destination.
READget_money_movement
Get a money movement and its status by id (GET /v1/money_movements/{id}).
READlist_money_movements
List money movements (GET /v1/money_movements).

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-cobre` 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.
Cobre — MCP server · 8 tools | CodeSpar