B2B treasury and payouts across Colombia and Mexico. Outbound money movement over instant rails (Bre-B) with balance and beneficiary management.
Cobre gives your agent 8 tools it calls directly โ pick the ones it needs, in Claude, Cursor, or any MCP client.
list_balances โ List the balances of every account visible to this credential (GET /v1/balances).get_balance โ Get one balance by id (GET /v1/balances/{id}).create_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.// 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", { /* ... */ });$ npm install @codespar/mcp-cobreAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"cobre": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-cobre"
],
"env": {
"COBRE_USER_ID": "<your_cobre_user_id>",
"COBRE_SECRET": "<your_cobre_secret>"
}
}
}
}After restart, your agent can call any of the 8 tools below โ try list_balances first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
COBRE_USER_IDCobre API credential user id
COBRE_SECRETCobre API credential secret
COBRE_BASE_URLOverride the API host. Defaults to https://api.cobre.co.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
list_balancesget_balancecreate_counterpartylist_counterpartiesget_counterpartycreate_money_movementget_money_movementlist_money_movementsMCP is a protocol โ any framework that speaks it can mount this server.