MCP.Market

Pagar Me MCP server

by codespar·io.github.codespar/mcp-pagar-me·v0.2.2·271 stars

MCP server for Pagar.me — orders, charges, recipients, transfers, plans, subscriptions, webhooks

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Growing

271 stars

Reviews

Write one

Nobody 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 posts

Read from the package source without running it. The installed server may list more.

  • cancel_subscriptionwrite action

    Cancel a recurring subscription

  • capture_chargewrite action

    Capture a pre-authorized charge (auth-then-capture flow). Optional amount for partial capture.

  • create_anticipationwrite action

    Request anticipation of receivables for a recipient (antecipação)

  • create_card_tokenwrite action

    Tokenize 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 action

    Create a charge (Pix, boleto, or credit card)

  • create_orderwrite action

    Create an order in Pagar.me with items and payment

  • create_planwrite action

    Create a subscription plan

  • create_recipientwrite action

    Create a recipient for split payments

  • create_subscriptionwrite action

    Create a recurring subscription for a customer

  • create_transferwrite action

    Create a transfer to a recipient

  • create_withdrawalwrite action

    Create a withdrawal (saque) transferring recipient balance to their registered bank account

  • get_anticipation

    Get anticipation details by ID

  • get_anticipation_limits

    Get anticipation limits available for a recipient

  • get_balance

    Get current account balance

  • get_chargewrite action

    Get charge details by ID

  • get_orderwrite action

    Get order details by ID

  • list_orders

    List orders with optional filters

  • list_recipients

    List recipients with optional filters

  • partial_refundwrite action

    Refund a portion of a charge (explicit partial refund; returns amount in cents).

  • refundwrite action

    Refund a charge (full or partial)

  • register_webhook

    Register a webhook endpoint to receive event notifications

  • update_planwrite action

    Update an existing subscription plan

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • 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
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

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
Add to Cursor

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.

  • Esimfly
    eSIMfly Business API: search eSIM plans, check usage, diagnose eSIMs, optionally order (confirmed)
    A
  • Polymarket Toolkit
    Read-only Polymarket data tools for AI agents: profiles, PnL, market scans. No keys, no orders.
    B
  • Sv Number
    Phone numbers for AI agents: order a private number, read the SMS verification code, hand it back.
    B
  • WebCake Storefront
    Build pages and manage products, orders, and content on the WebCake/StoreCake storefront builder.
    A
  • Shopware
    Query and safely manage a Shopware 6 shop: products, orders, customers, stock, audits, reports.
    B

More from codespar →