Pagseguro MCP Server

PagSeguro uses a Bearer token for authentication. Generate your token from the PagBank developer portal. Its 24 documented tools cover charge, order, boleto.

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 Pagseguro

before you install - you'll need

Set PAGSEGURO_TOKEN, PAGSEGURO_SANDBOX before connecting.

Claude Code

claude mcp add codespar-mcp-dev-latam-packages-payments -- npx -y @codespar/mcp-pagseguro

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "codespar-mcp-dev-latam-packages-payments": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagseguro"
      ]
    }
  }
}

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-pagseguro - published under the repo owner's npm scope (@codespar)

registry namespace io.github.codespar is GitHub-verified and matches the repo owner

03 · What Pagseguro 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 PagSeguro (Pix, boleto, or credit card), get order details by ID, list orders with optional filters, and create a standalone charge.

Capability map

Tools grouped from the project's README - what Pagseguro lets an agent do.

read & search

9 tools - e.g. List orders with optional filters; Get Pix QR code payload and image for an order charge; Get account balance

list_orders · get_pix_qrcode · get_balance · list_subscriptions · get_notifications · get_dispute…

create & write

5 tools - e.g. Create a customer in PagSeguro; Create a recurring subscription plan in PagSeguro; Create a split payment configuration for marketplace transactions

create_customer · create_subscription · create_split · create_payout · create_webhook

Charge

4 tools - e.g. Create a standalone charge; Get charge details by ID; Capture a pre-authorized credit card charge

create_charge · get_charge · capture_charge · cancel_charge

Order

3 tools - e.g. Create an order in PagSeguro (Pix, boleto, or credit card); Get order details by ID; Pay an existing order (attach a charge/payment to an order in CREATED state)

create_order · get_order · pay_order

Boleto

2 tools - e.g. Create a boleto charge; Get boleto charge details by ID

create_boleto · get_boleto

Refund

1 tool - e.g. Refund a charge (full or partial)

refund

04 · Who maintains Pagseguro

mcp-pagseguro 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.

  1. mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 269
  2. mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 269
  3. mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 269
  4. mcp-evolution-api MCP server for Evolution API - WhatsApp messaging, instances, contacts ★ 269
  5. mcp-stripe-acp Stripe ACP - AI agent checkout, payment delegation, products, invoices ★ 269
  6. mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 269

05 · Facts

category
other - actively maintained as of 2026-08-25.
registry
io.github.codespar/mcp-pagseguro (active, first published 2026-04-12 · 3 versions)
packages
npm:@codespar/mcp-pagseguro

06 · Pagseguro FAQ

Is Pagseguro still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-12. We re-verify nightly.

What can Pagseguro do?

With this server connected, an agent can create an order in PagSeguro (Pix, boleto, or credit card), get order details by ID, list orders with optional filters, and create a standalone charge.

How do I install Pagseguro?

Run `npx -y @codespar/mcp-pagseguro`. The README documents 2 environment variables (PAGSEGURO_TOKEN, PAGSEGURO_SANDBOX) to set first. Set PAGSEGURO_TOKEN, PAGSEGURO_SANDBOX before connecting. You can also paste the ready-made client config above.

Does Pagseguro 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 Pagseguro

More MCP servers to compare · Picpay · Rapyd · Safrapay · Transbank · Ucp

More JavaScript MCP servers · Paypal · Pix Bcb · Rede · see all