跳到正文
FunCoding

mcp-celcoin

官方 MCP Registry 已收录

MCP server for Celcoin — Pix, boleto, transfers, bill payments, top-ups

Star
278
分类
金融
版本
v0.2.4
许可证
MIT
最近提交
2026年11月13日

@codespar/mcp-celcoin

MCP server for Celcoin — BaaS infrastructure for Pix, boleto, transfers, and top-ups

npm License: MIT

Quick Start

Claude Desktop

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

{
  "mcpServers": {
    "celcoin": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-celcoin"],
      "env": {
        "CELCOIN_CLIENT_ID": "your-client-id",
        "CELCOIN_CLIENT_SECRET": "your-client-secret",
        "CELCOIN_SANDBOX": "true"
      }
    }
  }
}

Claude Code

claude mcp add celcoin -- npx @codespar/mcp-celcoin

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "celcoin": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-celcoin"],
      "env": {
        "CELCOIN_CLIENT_ID": "your-client-id",
        "CELCOIN_CLIENT_SECRET": "your-client-secret",
        "CELCOIN_SANDBOX": "true"
      }
    }
  }
}

Tools (18)

ToolPurpose
create_pix_paymentCreate a Pix payment via Celcoin
get_pix_paymentGet Pix payment details by transaction ID
create_pix_cobCreate a Pix immediate charge (cob) — generates QR code / copia-e-cola for payer
get_pix_cobGet a Pix immediate charge by transactionId or txid
create_pix_cobvCreate a Pix due charge (cobv) — boleto-like Pix with due date
lookup_pix_dictLookup a Pix DICT key — resolves a Pix key to account holder + bank info
create_pix_devolutionCreate a Pix devolução (refund) — refund a received Pix transaction
cancel_boletoCancel a boleto issued via the bill-issuance product by id
read_barcodeAuthorize (consult) a boleto / concessionária barcode before paying — returns transactionId, amount, totalUpdated, dueDate
pay_billConfirm payment of a previously authorized bill — pass the read_barcode transactionId as transactionIdAuthorize
get_statementGet account statement (extrato) for a date range
list_topup_providersList telecom top-up providers (operadoras) available for recargas
create_boletoIssue a boleto via the bill-issuance product
get_boletoGet an issued boleto's details by id
create_transferCreate a bank transfer (TED/DOC) via Celcoin
get_balanceGet account balance at Celcoin
list_banksList available banks in Brazil (ISPB codes)
create_topupCreate a mobile/service top-up (recarga) via Celcoin

Authentication

Celcoin uses OAuth2 client credentials. The server automatically manages token refresh.

Sandbox / Testing

Celcoin provides a sandbox at sandbox.openfinance.celcoin.dev. Set CELCOIN_SANDBOX=true to use it.

Without CELCOIN_SANDBOX, the server calls Celcoin production at api.openfinance.celcoin.com.br (up to 0.2.3 the default was api-sec.celcoin.com.br, a host that does not exist). Celcoin accepts production calls only over mTLS, with a certificate Celcoin issues, and only from IPs you registered with them in advance (Celcoin docs). From any other IP the token call answers 401 "O seu IP ou certificado digital nao foi reconhecido". This server does not present a client certificate, so in production point CELCOIN_BASE_URL at a proxy that holds the certificate and terminates the mTLS; called directly, production answers that 401.

Get your credentials

  1. Go to Celcoin Documentation
  2. Create a developer account
  3. Register an application to get OAuth2 credentials
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
CELCOIN_CLIENT_IDYesOAuth2 client ID
CELCOIN_CLIENT_SECRETYesOAuth2 client secret
CELCOIN_SANDBOXNoSet to "true" for sandbox mode
CELCOIN_BASE_URLNoOverride the API host. Defaults: https://api.openfinance.celcoin.com.br (production), https://sandbox.openfinance.celcoin.dev (sandbox)

Roadmap

v0.2 (planned)

  • get_pix_key — Get Pix key details (DICT lookup)
  • create_bill_payment — Create a bill/utility payment
  • get_bill_payment — Get bill payment details
  • create_scheduled_transfer — Create a scheduled transfer
  • list_providers — List available service providers

v0.3 (planned)

  • batch_topups — Process multiple mobile top-ups
  • detailed_reports — Generate detailed transaction reports

Want to contribute? Open a PR or request a tool.

Enterprise

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

License

MIT

同类 MCP Server

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k近 7 天新增 253 个 star

精选

CCXT

连接 100+ 交易所和预测市场,获取行情数据,管理订单和账户。

CCccxt/ccxt45k近 7 天新增 78 个 star

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k近 7 天新增 169 个 star

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k近 7 天新增 28 个 star

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k近 7 天新增 75 个 star

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k近 7 天新增 15 个 star