Braspag MCP Server
CodeSpar ships two Cielo Group servers with different business contracts: Braspag orchestrates across acquirers. You keep your Cielo (or Rede, or Stone) acquiring contract and layer Braspag on top for: smart routing, failover, vaulting cards once and reusing across acquirers (Cartão Protegido), driving recurrence, and splitting marketplace capture across sub-merchants. Its 22 documented tools cover sale, recurrent, card, capture.
People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.
One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →
VERIFIED ACTIVE
LAST COMMIT 2026-08-12 · VERIFIED 2026-08-25
MIT · JavaScript servers · how we verify → /methodology
01 · Install Braspag
before you install - you'll need
Set BRASPAG_MERCHANT_ID, BRASPAG_MERCHANT_KEY before connecting. BRASPAG_ENV is optional or environment-specific per the README.
Claude Code
claude mcp add codespar-mcp-dev-latam-packages-payments -- npx -y @codespar/mcp-braspag Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"codespar-mcp-dev-latam-packages-payments": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-braspag"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package @codespar/mcp-braspag - published under the repo owner's npm scope (@codespar)
registry namespace io.github.codespar is GitHub-verified and matches the repo owner
03 · What Braspag can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can create a sale on the Braspag Transaction API (POST /sales), capture a pre-authorized sale (PUT /sales/{paymentId}/capture), create a recurrent payment schedule (POST /recurrentPayments), and update the charged amount on a recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/Amount).
Capability map
Tools grouped from the project's README - what Braspag lets an agent do.
Sale
9 tools - e.g. Create a sale on the Braspag Transaction API (POST /sales).; Capture a pre-authorized sale (PUT /sales/{paymentId}/capture).; Void / cancel a sale (PUT /sales/{paymentId}/void).
create_sale · capture_sale · void_sale · get_sale · get_sale_by_order_id · create_split_sale…
Recurrent
7 tools - e.g. Create a recurrent payment schedule (POST /recurrentPayments).; Deactivate a recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/Deactivate).; Update the charged amount on a recurrent payment…
create_recurrent · disable_recurrent · update_recurrent_amount · get_recurrent · reactivate_recurrent · update_recurrent_next_payment…
Card
3 tools - e.g. Tokenize a card into the Braspag vault / Cartão Protegido (POST /card).; Retrieve the stored card data associated with a Cartão Protegido token (GET /card/{token}).; Delete a Cartão Protegido vault token…
tokenize_card · get_card_token · delete_card_token
create & write
2 tools - e.g. Zero-dollar authorization / card validation (POST /zeroauth).; Submit a standalone Antifraud analysis (POST /fraudanalysis) through Braspag's antifraud orchestration (Cyb...
create_zero_auth · create_antifraud_analysis
Split
1 tool - e.g. Capture a previously authorized split sale with overridden per-sub-merchant amounts (PUT /sales/{paymentId}...
create_split_capture
04 · Who maintains Braspag
mcp-braspag is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 269 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.
- mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 269
- mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 269
- mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 269
- mcp-evolution-api MCP server for Evolution API - WhatsApp messaging, instances, contacts ★ 269
- mcp-stripe-acp Stripe ACP - AI agent checkout, payment delegation, products, invoices ★ 269
- mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 269
05 · Facts
- repository
- github.com/codespar/mcp-dev-latam
- category
- other - actively maintained as of 2026-08-25.
- registry
- io.github.codespar/mcp-braspag (active, first published 2026-06-20 · 2 versions)
- packages
- npm:@codespar/mcp-braspag
06 · Braspag FAQ
Is Braspag still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.
What can Braspag do?
With this server connected, an agent can create a sale on the Braspag Transaction API (POST /sales), capture a pre-authorized sale (PUT /sales/{paymentId}/capture), create a recurrent payment schedule (POST /recurrentPayments), and update the charged amount on a recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/Amount).
How do I install Braspag?
Run `npx -y @codespar/mcp-braspag`. The README documents 3 environment variables (BRASPAG_MERCHANT_ID, BRASPAG_MERCHANT_KEY, BRASPAG_ENV) to set first. Set BRASPAG_MERCHANT_ID, BRASPAG_MERCHANT_KEY before connecting. BRASPAG_ENV is optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Braspag run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Braspag
Alternatives to Braspag
Maintained other servers if Braspag isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,204 · 2026-08-24
- Server Commands An MCP server to run arbitrary commands ★ 38,704 · 2026-08-05
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 4,780 · 2026-08-25
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,460 · 2026-08-25
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,598 · 2026-08-21
- Ship Swift 40+ production-ready SwiftUI recipes for building full-stack iOS apps via MCP. ★ 2,968 · 2026-08-09