Pagbrasil MCP Server

Every request carries the merchant token (pbtoken) and the secret phrase as body fields - there is no auth header. This server injects both from PAGBRASIL_PBTOKEN and PAGBRASIL_SECRET. Its 3 documented tools cluster into create & write, read & search, refund.

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 Pagbrasil

before you install - you'll need

Set PAGBRASIL_PBTOKEN, PAGBRASIL_SECRET before connecting.

Claude Code

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

Claude Desktop / Cursor / VS Code - add to config

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

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

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

03 · What Pagbrasil 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 post /order/add, post /order/get, and post /order/refund.

The 3 tools it gives your agent

Extracted from the project's README - what mcp-pagbrasil lets an agent do.

create_order
- POST /order/add
get_order
- POST /order/get
refund_order
- POST /order/refund

Limitations (from the README)

- amount_brl is in major units as a string: '125.00' = R$ 125,00. - order_number must be unique per customer_taxid. Same number + same taxid = idempotent no-op; same number + different taxid = rejected (Duplicated order). - customer_taxid must be a valid CPF or CNPJ - agents should ask the user, never invent one.

04 · Who maintains Pagbrasil

mcp-pagbrasil 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-pagbrasil (active, first published 2026-07-04)
packages
npm:@codespar/mcp-pagbrasil

06 · Pagbrasil FAQ

Is Pagbrasil still maintained?

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

What can Pagbrasil do?

With this server connected, an agent can post /order/add, post /order/get, and post /order/refund.

How do I install Pagbrasil?

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

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

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

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