🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@codespar/mcp-cielo

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-cielo

MCP server for Cielo — credit card, debit, boleto, recurrent payments

npmnpm
Version
0.2.0
Version published
Weekly downloads
48
11.63%
Maintainers
1
Weekly downloads
 
Created
Source

@codespar/mcp-cielo

MCP server for Cielo — card acquiring, boleto, and recurrent payments

npm License: MIT

Quick Start

Claude Desktop

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

{
  "mcpServers": {
    "cielo": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-cielo"],
      "env": {
        "CIELO_MERCHANT_ID": "your-merchant-id",
        "CIELO_MERCHANT_KEY": "your-merchant-key",
        "CIELO_SANDBOX": "true"
      }
    }
  }
}

Claude Code

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

Cursor / VS Code

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

{
  "servers": {
    "cielo": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-cielo"],
      "env": {
        "CIELO_MERCHANT_ID": "your-merchant-id",
        "CIELO_MERCHANT_KEY": "your-merchant-key",
        "CIELO_SANDBOX": "true"
      }
    }
  }
}

Tools

ToolDescription
create_saleCreate a credit/debit card sale in Cielo
get_saleGet sale details by PaymentId
capture_saleCapture a pre-authorized sale
cancel_saleCancel/void a sale (full or partial)
create_recurrentCreate a recurrent (recurring) credit card payment
get_recurrentGet recurrent payment details
tokenize_cardTokenize a credit card for future use
create_boletoCreate a boleto payment in Cielo

Authentication

Cielo uses MerchantId and MerchantKey headers for authentication.

Sandbox / Testing

Cielo provides a sandbox at apisandbox.cieloecommerce.cielo.com.br. Set CIELO_SANDBOX=true to use it.

Get your credentials

  • Go to Cielo Developer Portal
  • Create a developer account
  • Get your MerchantId and MerchantKey
  • Set the environment variables

Environment Variables

VariableRequiredDescription
CIELO_MERCHANT_IDYesMerchant ID from Cielo
CIELO_MERCHANT_KEYYesMerchant Key from Cielo
CIELO_SANDBOXNoSet to "true" for sandbox mode

Roadmap

v0.2 (planned)

  • create_pix — Create a Pix payment
  • get_pix — Get Pix payment details
  • create_debit — Create a debit card payment
  • create_ewallet — Create an e-wallet payment (Apple Pay, Google Pay)
  • get_antifraud — Get anti-fraud analysis for a transaction

v0.3 (planned)

  • batch_captures — Capture multiple pre-authorized transactions
  • velocity_rules — Configure velocity/anti-fraud rules

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

Keywords

mcp

FAQs

Package last updated on 24 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts