Skip to main content
C

Celcoin

@codespar/mcp-celcoin Β· v0.2.4

πŸ‡§πŸ‡· BrazilPaymentsAuth Β· API Keylive18 tools4 env vars

Pix, boleto, TED, bill payments, and mobile top-ups. Your agent processes utility payments and moves funds across Brazilian banks.

Get started Β· freeView docs

MIT Β· runs locally or through the CodeSpar runtime

Limitations

  • The package manifest does not declare 3 of the 4 variables the code reads.
Package
@codespar/mcp-celcoin
Version
0.2.4
npm dist-tag
latest
Category
Payments
Auth
API Key
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, or through the hosted runtime.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables4 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 18 tools. Try create_pix_payment first.
terminal
# Claude Code claude mcp add celcoin -e CELCOIN_BASE_URL=… -e CELCOIN_CLIENT_ID=… -e CELCOIN_CLIENT_SECRET=… -e CELCOIN_SANDBOX=… -- npx -y @codespar/mcp-celcoin@0.2.4 # then: /mcp to confirm the server is connected
Environment variables4 variables
CELCOIN_BASE_URLRead by the code; the package manifest does not declare it.
CELCOIN_CLIENT_IDRead by the code; the package manifest does not declare it.
CELCOIN_CLIENT_SECRETAPI key for celcoinrequiredsecret
CELCOIN_SANDBOXRead by the code; the package manifest does not declare it.

Names read from the package code (@codespar/mcp-celcoin@0.2.4). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials. On the CodeSpar runtime the credential you connect is stored encrypted (AES-256-GCM, key derived per organization), and the runtime adds it to the provider call itself; the agent never receives it.

First call democreate_pix_payment

"Create a Pix payment via Celcoin"

tools/callcreate_pix_paymentresult returned

Tools

What your agent can call.

18 tools, as the package's tools/list returns them.

create_pix_payment

Create a Pix payment via Celcoin

get_pix_payment

Get Pix payment details by transaction ID

create_pix_cob

Create a Pix immediate charge (cob) β€” generates QR code / copia-e-cola for payer

get_pix_cob

Get a Pix immediate charge by transactionId or txid

create_pix_cobv

Create a Pix due charge (cobv) β€” boleto-like Pix with due date

lookup_pix_dict

Lookup a Pix DICT key β€” resolves a Pix key to account holder + bank info

create_pix_devolution

Create a Pix devoluΓ§Γ£o (refund) β€” refund a received Pix transaction

cancel_boleto

Cancel an issued boleto by transactionId

read_barcode

Authorize (consult) a boleto / concessionΓ‘ria barcode before paying β€” returns transactionId, amount, totalUpdated, allowChangeValue, dueDate. The transactionId opens a reservation window; pass it to pay_bill as transactionIdAuthorize.

pay_bill

Confirm payment of a bill (boleto bancΓ‘rio or concessionΓ‘ria) previously authorized with read_barcode. Requires transactionIdAuthorize from the authorize step.

get_statement

Get account statement (extrato) for a date range

list_topup_providers

List telecom top-up providers (operadoras) available for recargas

Names and descriptions come from the package's tools/list (@codespar/mcp-celcoin@0.2.4). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

Through the CodeSpar runtime, codespar_discover finds this server's tools, and a tools/call runs with the credential connected in your project, a test key included.

hostedhttps://connect.codespar.dev/mcp15 meta-tools

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Celcoin MCP server?

Run npx -y @codespar/mcp-celcoin@0.2.4 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? Add the CodeSpar endpoint with a test key and connect Celcoin in your project; codespar_discover finds its tools.

What can my agent do with Celcoin?

Celcoin exposes 18 tools for payments. Your agent calls them directly; the full list is above.

How does Celcoin authenticate, and how are credentials stored?

Celcoin uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables. On the CodeSpar runtime the credential you connect is stored encrypted for your organization, the runtime renews the OAuth2 access token, and it adds the token to each provider call, so the agent never handles it.

How does Celcoin handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.2.4, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Celcoin open source? How do I report a bug?

Yes. Celcoin is MIT-licensed and published on npm as @codespar/mcp-celcoin, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

On the CodeSpar runtime, the credential you connect stays encrypted for your organization and the runtime renews the OAuth2 access token. You just call the tool.

Start in seconds demo
Create an account and copy a test key.
Add the hosted endpoint to your client with the config above.
Connect Celcoin in your project and ask your agent for the first call.
Celcoin β€” MCP server Β· 18 tools | CodeSpar