Pagar Me MCP server
MCP server for Pagar.me — orders, charges, recipients, transfers, plans, subscriptions, webhooks
271 stars
Reviews
Write oneNobody has reviewed Pagar Me yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Pagar Me tools (22, 16 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cancel_subscriptionwrite actionCancel a recurring subscription
capture_chargewrite actionCapture a pre-authorized charge (auth-then-capture flow). Optional amount for partial capture.
create_anticipationwrite actionRequest anticipation of receivables for a recipient (antecipação)
create_card_tokenwrite actionTokenize a credit card (PCI-safe). Requires a PUBLIC key (pk_xxx) passed as appId. Use via live public key — secret key is NOT used for tokens.
create_chargewrite actionCreate a charge (Pix, boleto, or credit card)
create_orderwrite actionCreate an order in Pagar.me with items and payment
create_planwrite actionCreate a subscription plan
create_recipientwrite actionCreate a recipient for split payments
create_subscriptionwrite actionCreate a recurring subscription for a customer
create_transferwrite actionCreate a transfer to a recipient
create_withdrawalwrite actionCreate a withdrawal (saque) transferring recipient balance to their registered bank account
get_anticipationGet anticipation details by ID
get_anticipation_limitsGet anticipation limits available for a recipient
get_balanceGet current account balance
get_chargewrite actionGet charge details by ID
get_orderwrite actionGet order details by ID
list_ordersList orders with optional filters
list_recipientsList recipients with optional filters
partial_refundwrite actionRefund a portion of a charge (explicit partial refund; returns amount in cents).
refundwrite actionRefund a charge (full or partial)
register_webhookRegister a webhook endpoint to receive event notifications
update_planwrite actionUpdate an existing subscription plan
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Pagar Me compares
Against every graded E-commerce MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 75% of 2,174 E-commerce servers
- Tools
- 22
- the typical E-commerce server has 6
- Tools that change things
- 73%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 271
- more than 95% of 1,047 E-commerce servers
What its tools let an agent do: 5 read · 10 create · 6 change · 1 delete
Install Pagar Me in Claude Code, Cursor or VS Code
Runs npx -y @codespar/mcp-pagar-me on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-pagar-me -- npx -y @codespar/mcp-pagar-me
What the publisher says
From the Pagar Me repository's README, as published. We do not edit it. Read it on GitHub
MCP Dev LATAM 🌎 Every commerce API your AI agent needs to run a business in Latin America. Brazil 🇧🇷 · Mexico 🇲🇽 · Argentina 🇦🇷 · Colombia 🇨🇴 · Chile 🇨🇱 · Peru 🇵🇪 · plus 4 agentic payment protocols. MCP servers for LATAM commerce · live in the official MCP Registry · MIT License Machine-readable catalog: codespar.dev/api/servers Catalog · Quick Start · Agentic Protocols · All Servers · Contribute
The Problem
AI agents can write code, analyze data, and chat. But they can't operate a business — collect payments, issue invoices, ship products, or notify customers. Especially not in Latin America, where every service has its own API, auth pattern, and quirks (mTLS for BACEN Pix v2, JWT-RSA for STP-SPEI, AFIP web services, contract-gated developer portals, and on).
Meanwhile, four agentic payment protocols are shipping in parallel — checkout protocols (Stripe ACP, Google UCP), authorization layers (AP2), and micropayment rails (x402) — and none of them compose cleanly with each other or with the regional rails businesses actually run on.
MCP Dev LATAM bridges both gaps. Traditional LATAM services + the new agentic payment protocols, all accessible through a single MCP interface.
The Solution
Each MCP server in this repo wraps a real provider — payments, fiscal, logistics, messaging, banking, ERP, identity, fraud, crypto, and the agentic protocols — so your agent can operate a complete business workflow.
🛒 Customer places order
→ 💳 Agent charges via Pix (Asaas / Mercado Pago / Zoop)
→ 📄 Agent issues NFe (Nuvem Fiscal / Focus NFe / NFe.io)
→ 📦 Agent generates shipping label (Melhor Envio / Skydropx)
→ 📱 Agent sends tracking via WhatsApp (Z-API / WhatsApp Cloud)
→ 📊 Agent records in ERP (Omie / Bling / Tiny)
→ 🏦 Agent reconciles balance (Stark Bank / Itaú / BTG)Six systems. Zero human intervention. One agent.
Agentic Payment Protocols
Four servers for the emerging agentic payment stack:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Pagar Me: common questions
- Is Pagar Me MCP server safe?
- Mostly: it is graded B (82/100). Read the Pagar Me safety report
- How do I install Pagar Me?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Pagar Me need an API key?
- Yes. The registry entry asks for
PAGARME_API_KEY. - Is Pagar Me maintained?
- The last commit was 67 days ago (2026-08-29). The latest release is v0.2.2.
- What can I use instead of Pagar Me?
- Servers from other publishers that do the same job: Esimfly MCP server, Polymarket Toolkit MCP server and Sv Number MCP server.
- How does Pagar Me compare with other E-commerce MCP servers?
- safety score 82/100 (higher than 75% of 2,174 E-commerce servers); tools 22 (the typical E-commerce server has 6); tools that change things 73% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Pagar Me
Same job from other publishers: the closest match first, then the best rated.
- EsimflyeSIMfly Business API: search eSIM plans, check usage, diagnose eSIMs, optionally order (confirmed)not reviewedGrowingA
- Polymarket ToolkitRead-only Polymarket data tools for AI agents: profiles, PnL, market scans. No keys, no orders.not reviewedEstablishedB
- Sv NumberPhone numbers for AI agents: order a private number, read the SMS verification code, hand it back.not reviewedEstablishedB
- WebCake StorefrontBuild pages and manage products, orders, and content on the WebCake/StoreCake storefront builder.not reviewedGrowingA
- ShopwareQuery and safely manage a Shopware 6 shop: products, orders, customers, stock, audits, reports.not reviewedGrowingB