Pagar.me logo

Pagar.me

Connect AI clients to Pagar.me for payment operations across orders, charges, customers, subscriptions, transfers, and receivables.

Install Pagar.me

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://api.mcp.ai/p_pagarme

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http pagar-me https://api.mcp.ai/p_pagarme

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

The Pagar.me MCP server connects AI clients to Stone's Pagar.me payment gateway through the official API V5. It provides read and write access for current `sk_` accounts, while legacy `ak_` accounts support read access to APIs V1–V4. Reach for it when an agent needs to inspect or operate orders, charges, customers, subscriptions, split payments, transfers, receivables, or invoices.

Use cases

  • List recent paid charges
  • Inspect active subscriptions and upcoming invoices
  • Create or update Pagar.me orders
  • Review recipient balances and upcoming receivables
  • Retry or capture eligible charges

Key features

  • 80 MCP tools
  • Pagar.me API V5 access
  • Read and write operations
  • Legacy V1–V4 read access
  • Batch order and charge operations
  • MCP over HTTP endpoint

Tools86

What Pagar.me lets your agent do. Expand a tool for its parameters.

Verified live~15.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/22 checks healthy over the last 83d

What it can do

From the 86 tools this server returned when we ran it.

Can delete or modify data · 8Handles credentials · 3Read-only tools · 78

Observed 2026-10-16 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3mo agoMost recent push to the default branch.
Tools exposed86Callable tools this server registers over MCP.

How Pagar.me works

What the Pagar.me MCP server does

The Pagar.me MCP server exposes Pagar.me payment operations to MCP-compatible AI clients. It connects to api.pagar.me and covers the main resources described in the API integration: orders, charges, customers, cards, plans, subscriptions, recipients for split or marketplace payments, transfers, receivables, and invoices.

Typical queries include listing recently paid charges, finding active subscriptions and upcoming invoices, or checking a recipient's balance and expected receivables.

How it works

The Pagar.me MCP server uses an account secret generated in the Pagar.me dashboard under Settings and Keys. Accounts using an sk_ secret use API V5 and can perform reads and writes. Legacy accounts identified by an ak_ secret receive read access to Pagar.me APIs V1 through V4, including transactions, subscriptions, receivables, and balance information.

Tools are organized by resource and operation. For example, order tools can list, retrieve, batch-retrieve, create, update, close, or reopen orders. Charge tools can list and summarize charges, retrieve individual or multiple charges, and perform supported operations such as capture, retry, confirmation, due-date changes, payment-method changes, and card updates. Some write tools accept batches of IDs.

Setup and configuration

The hosted MCP endpoint is:

text
https://api.mcp.ai/p_pagarme

Claude users can add it through Claude's custom connector settings. Installation links are also provided for Cursor and VS Code Copilot Chat.

Authentication uses a secret key created in the Pagar.me dashboard rather than a username and password. The project also documents magic-link login without a password.

Tools and capabilities

The documented tool groups include:

  • Account listing, including connected account IDs, labels, and API version.
  • Paginated order searches with filters such as status, customer, code, and creation dates.
  • Order creation, updates, closure, reopening, and batch retrieval.
  • Charge listing, summaries, detail retrieval, and batch retrieval.
  • Charge capture, retry, confirmation, due-date updates, payment-method changes, and card updates.
  • Access to customers, cards, plans, subscriptions, recipients, transfers, receivables, invoices, and legacy account data as covered by the remaining tools.

Write operations documented for orders and charges are restricted to sk_ accounts. Charge operations shown in the README are described as non-destructive, but payment actions can still change external account state and should be reviewed before execution.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pagar.me

Pagar.me is an MCP server that connects AI clients to Stone's Pagar.me payment gateway through the official API. Its main tools manage and inspect orders, charges, customers, cards, plans, subscriptions, recipients, transfers, receivables, and invoices, with read and write access for supported API V5 accounts.

Add the hosted MCP endpoint `https://api.mcp.ai/p_pagarme` to your client. The README provides installation links for Claude, Cursor, and VS Code, plus manual Claude connector instructions. Authentication uses a Pagar.me secret key created in the dashboard.

Yes, Pagar.me works with Cursor through the provided MCP installation link or its HTTP server URL. The endpoint is `https://api.mcp.ai/p_pagarme`.

Yes, supported `sk_` accounts can create, update, close, and reopen Pagar.me V5 orders. The order tools also support listing, retrieving individual orders, and retrieving multiple orders by ID.

Yes, legacy `ak_` accounts receive read access to Pagar.me APIs V1 through V4. The README specifically lists transactions, subscriptions, receivables, and balance among the legacy data available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPagar.me AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pagar-me?style=directory)](https://allmcps.com/mcp/pagar-me)
HTML Embed
<a href="https://allmcps.com/mcp/pagar-me"><img src="https://allmcps.com/api/badge/pagar-me?style=directory" alt="Pagar.me on AllMCPs" /></a>