Cobre

Finance and commerce

MCP server for Cobre, CO/MX B2B treasury: balances, counterparties, money movements.

Your AI app calls the Cobre MCP server, which does the finance and commerce work and sends the result back to the chat.

About Cobre

Cobre is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Cobre, CO/MX B2B treasury: balances, counterparties, money movements.

Cobre runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-cobre@0.1.0 and talks to it over standard input and output. It needs COBRE_USER_ID and COBRE_SECRET set before Cobre starts.

Cobre is listed in the official MCP registry as io.github.codespar/mcp-cobre, version 0.1.0.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-cobre
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-cobre

How to set up Cobre

  1. Install Node.js on the machine that runs your AI app, because Cobre starts with npx and downloads its package on first run.
  2. Create COBRE_USER_ID and COBRE_SECRET for Cobre in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Cobre to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Cobre tools to confirm the connection.
  5. Run one read-only task with Cobre first, and keep your app asking before each tool call until the results look right.

Cobre compared with similar servers

  • Codespar C6 by codespar has fewer GitHub stars than Cobre (278 against 278); both are community servers, and both run locally.
  • Clip by codespar has fewer GitHub stars than Cobre (278 against 278); both are community servers, and both run locally.
  • Coinbase Commerce by codespar has fewer GitHub stars than Cobre (278 against 278); both are community servers, and both run locally.

Before you connect Cobre

  • Give Cobre its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Cobre tool call until you trust what it does with them.
  • Treat text that Cobre fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Cobre on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Cobre

How marketing and sales teams put Cobre to work, by company size. Pick the size closest to yours and start Cobre on one use case.

Small business

  • A small business can ask Cobre which products and customers drive margin, then plan promotions around them.
  • Owners can use Cobre to check refunds, failed payments and churn reasons without opening three dashboards.
  • Cobre runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Cobre to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Cobre to check spend against budget each week and move money to what's working.
  • Start Cobre on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Cobre read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Cobre to answer revenue questions by channel and region with figures finance signs off on.
  • Cobre is a community server, so have security review the code and pin a version before Cobre touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Cobre README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-cobre

MCP server for Cobre, Colombian/Mexican B2B treasury and payouts platform: balance visibility, counterparty registration, and outbound money movements over Colombia's instant rails and Mexico's SPEI.

Auth is OAuth2 client credentials (POST /v1/auth); the server caches the access token and refreshes before expiry.

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cobre": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-cobre"],
      "env": {
        "COBRE_USER_ID": "your-user-id",
        "COBRE_SECRET": "your-secret"
      }
    }
  }
}
Claude Code
claude mcp add cobre --env COBRE_USER_ID=uid --env COBRE_SECRET=sk -- npx -y @codespar/mcp-cobre

Tools (8)

Tool Description
list_balances Balances across every visible account
get_balance One balance by id
create_counterparty Register a payout beneficiary (CO bank account or MX CLABE)
list_counterparties List registered counterparties
get_counterparty One counterparty by id
create_money_movement Create an outbound payout (instant rails / SPEI)
get_money_movement Movement status by id
list_money_movements List movements

Environment

Variable Required Description
COBRE_USER_ID yes API credential user id
COBRE_SECRET yes API credential secret
COBRE_BASE_URL no Override the API host (default https://api.cobre.co)

Docs

Enterprise

Need governance, budget limits, and audit trails for agent-driven payments on Cobre? CodeSpar Enterprise adds a policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Cobre

What is the Cobre MCP server?

MCP server for Cobre, CO/MX B2B treasury: balances, counterparties, money movements. Cobre is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Cobre MCP server?

Add Cobre to your AI app's MCP config with the command npx -y @codespar/mcp-cobre@0.1.0. In Claude Code, run claude mcp add --transport stdio codespar-cobre -- npx -y @codespar/mcp-cobre@0.1.0. To run Cobre this way you need Node.js installed.

Does Cobre need an API key?

Yes. Cobre expects COBRE_USER_ID and COBRE_SECRET to be set. Create the key for Cobre in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Cobre an official MCP server?

No. Cobre is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Cobre access to company data.

What license is Cobre under?

Cobre is released under the MIT license, according to its GitHub repository. The license covers the code of Cobre; the service it connects to has its own terms.