Skip to main content
CO

Cobre

v0.1.0OAuth2

Tesorería y payouts B2B en Colombia y México. Movimiento de salida por rieles instantáneos (Bre-B) con gestión de saldo y beneficiarios.

8 herramientas3 env vars🇨🇴 Colombiaestable en npm

Qué puede hacer tu agente

Cobre le da a tu agente 8 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier 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.
Ejemplo de llamada
// 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

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con 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>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 8 herramientas de abajo — probá list_balances primero.

Variables de entorno · 3

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

COBRE_USER_ID
obligatorio

Cobre API credential user id

COBRE_SECRET
obligatoriosecret

Cobre API credential secret

COBRE_BASE_URL
opcional

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

Herramientas disponibles · 8

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

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 compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

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

Preguntas frecuentes

Corré `npx -y @codespar/mcp-cobre` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Cobre — MCP server · 8 tools | CodeSpar