Skip to main content
MCP server CX Codex

mcp-cielo — Claude Code MCP server: what it does, how to install

Wires Cielo payments into your coding agent: card sales, boleto, Pix, recurring charges and payment links, as 22 callable tools. Handy when billing logic lives in the repo you are editing.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-cielo -e CIELO_API_KEY=<CIELO_API_KEY> -- npx -y @codespar/mcp-cielo
Open on GitHub

What mcp-cielo does

The server talks to the Cielo acquiring API on the agent's behalf. You can open a card sale, capture one that was only pre-authorized, and void it in full or in part. Boleto and Pix are covered too, the latter with a QR code. Recurring credit card plans are managed from the same place: change the amount, move the next charge date, pause the plan, bring it back.

Stored card tokens let you charge a customer again without asking for the card number, and a zero-dollar authorization checks a card without moving money. Authentication uses MerchantId and MerchantKey headers, so you need both credentials from the Cielo developer portal. Testing runs against the Cielo sandbox once CIELO_SANDBOX=true is set; the host switches to apisandbox.cieloecommerce.cielo.com.br.

One thing to watch: the tool table lists Pix, debit, wallets and anti-fraud, while the roadmap in the same repository still marks several of those as planned for version 0.2. Check which tools actually load before you build a flow around them. Debit sales additionally require 3DS authentication.

What it helps with

  • charge a credit or debit card through Cielo
  • issue a boleto for an order
  • generate a Pix payment with a QR code
  • set up a recurring charge and adjust its amount
  • validate a card with a zero-dollar authorization

Example prompts for the agent

  • Pull the details for sale PaymentId 123456789
  • Create a recurring payment for 49.90 and pause it before the next charge
  • Generate a payment link for order 8842

How to install mcp-cielo

Platform CLI

claude mcp add mcp-cielo -e CIELO_API_KEY=<CIELO_API_KEY> -- npx -y @codespar/mcp-cielo

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-cielo

How do I install mcp-cielo in Claude Code?

Run claude mcp add mcp-cielo -e CIELO_API_KEY=<CIELO_API_KEY> -- npx -y @codespar/mcp-cielo. Fill in your Cielo MerchantId and MerchantKey through the environment variables.

What does mcp-cielo do?

It exposes the Cielo payment gateway to the agent: card sales, boleto, Pix, recurring payments, card tokenization, payment links and anti-fraud lookups.

Can I test without real money?

Yes. With CIELO_SANDBOX=true the server points at the Cielo sandbox at apisandbox.cieloecommerce.cielo.com.br.

Similar MCP servers

Everything for Finance and business →

From the same set124

mcp-cobre Connects Cobre to an AI coding client for balances, counterparties, and outbound money movements across Colombia and Mexico. CX Codex +1 ★ 274repo stars mcp-clip An MCP server for taking payments through Clip (PayClip) in Mexico. Agents get hosted payment links, card-token charges, refunds and payment lookups, priced in MXN. CX Codex +1 ★ 274repo stars mcp-clearsale Connects your coding agent to ClearSale for fraud screening and Brazilian buyer verification. Handy for online stores selling in Brazil. CX Codex +1 ★ 274repo stars mcp-circle Give an agent Circle tools for USDC payments, wallets, payouts and transfers. A Circle API key is required. CX Codex +1 ★ 274repo stars mcp-chargebee Manages recurring subscriptions, customer records, and invoices in Chargebee through your AI agent. Useful for automating SaaS billing tasks directly from the workspace. CX Codex +1 ★ 274repo stars mcp-certta This MCP server exposes Certta identity checks, biometrics, document OCR, fraud scoring, and signature tools to an agent. Its API host currently does not resolve, so the tools cannot reach a service. CX Codex +1 ★ 274repo stars mcp-celcoin An MCP server that hands your agent Celcoin's payment API: Pix charges, boletos, TED/DOC transfers, top-ups. Handy when a Brazilian payment has to happen from the chat. CX Codex +1 ★ 274repo stars mcp-caixa Connects AI agents to Caixa Econômica Federal for Pix transfers, Cobrança boletos, and statement queries using mTLS and OAuth2. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor