Pagar Me MCP Server
me uses Basic Auth with the secret key (sk_xxx) as username and empty password. Its 22 documented tools cover charge, anticipation, order, refund.
People connecting automation tools 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 Pagar Me
before you install - you'll need
PAGARME_API_KEY
Environment variables documented in the project's README - it lists which are required and which have defaults.
Claude Code
claude mcp add codespar-mcp-dev-latam-packages-payments -- npx -y @codespar/mcp-pagar-me Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"codespar-mcp-dev-latam-packages-payments": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pagar-me"
]
}
}
} 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-pagar-me - published under the repo owner's npm scope (@codespar)
registry namespace io.github.codespar is GitHub-verified and matches the repo owner
03 · What Pagar Me 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 an order in Pagar.me with items and payment, get order details by ID, list orders with optional filters, and create a charge (Pix, boleto, or credit card).
Capability map
Tools grouped from the project's README - what Pagar Me lets an agent do.
create & write
4 tools - e.g. Create a recipient for split payments; Create a transfer to a recipient; Tokenize a credit card (PCI-safe).
create_recipient · create_transfer · create_card_token · create_withdrawal
read & search
3 tools - e.g. List orders with optional filters; Get current account balance; List recipients with optional filters
list_orders · get_balance · list_recipients
Charge
3 tools - e.g. Create a charge (Pix, boleto, or credit card); Get charge details by ID; Capture a pre-authorized charge (auth-then-capture flow).
create_charge · get_charge · capture_charge
Anticipation
3 tools - e.g. Request anticipation of receivables for a recipient (antecipação); Get anticipation details by ID; Get anticipation limits available for a recipient
create_anticipation · get_anticipation · get_anticipation_limits
Order
2 tools - e.g. Create an order in Pagar.me with items and payment; Get order details by ID
create_order · get_order
Plan
2 tools - e.g. Create a subscription plan; Update an existing subscription plan
create_plan · update_plan
Subscription
2 tools - e.g. Create a recurring subscription for a customer; Cancel a recurring subscription
create_subscription · cancel_subscription
Refund
1 tool - e.g. Refund a charge (full or partial)
refund
04 · Who maintains Pagar Me
mcp-pagar-me 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
- automation - actively maintained as of 2026-08-25.
- registry
- io.github.codespar/mcp-pagar-me (active, first published 2026-04-12 · 3 versions)
- packages
- npm:@codespar/mcp-pagar-me
06 · Pagar Me FAQ
Is Pagar Me still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.
What can Pagar Me do?
With this server connected, an agent can create an order in Pagar.me with items and payment, get order details by ID, list orders with optional filters, and create a charge (Pix, boleto, or credit card).
How do I install Pagar Me?
Run `npx -y @codespar/mcp-pagar-me`. The README documents one environment variable (PAGARME_API_KEY) to set first. You can also paste the ready-made client config above.
Does Pagar Me 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 Pagar Me
Alternatives to Pagar Me
Maintained automation servers if Pagar Me isn't the fit.
- Claude Flow AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev. ★ 69,309 · 2026-08-24
- GitHub Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language. ★ 32,478 · 2026-08-25
- Windows MCP An MCP Server for computer-use in Windows OS ★ 6,808 · 2026-08-22
- Ha MCP Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. ★ 4,503 · 2026-08-24
- Stripe Agent Toolkit MCP server integrating with Stripe - tools for customers, products, payments, and more. ★ 1,760 · 2026-08-22
- Tooluniverse 2,500+ scientific tools for AI scientists: life science, research, literature, and more. ★ 1,655 · 2026-08-20
More automation MCP servers · Cool Workflow · Oss Autopilot · 2D Assets MCP · Workflows MCP Server
More JavaScript MCP servers · Pagbrasil · Pagseguro · Paypal · Picpay · Pix Bcb · see all