MCP Pagbrasil runs on your own machine — the client starts it, so there is no endpoint to ping. 47 installs a week from npm. Last commit 27 Sep 2026.
PagBrasil — cross-border acquiring into Brazil: Pix, Boleto Flash, refunds
Today is the operative word: we check MCP Pagbrasil every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add mcp-pagbrasil -e 'PAGBRASIL_PBTOKEN=<PAGBRASIL_PBTOKEN>' -e 'PAGBRASIL_SECRET=<PAGBRASIL_SECRET>' -- npx -y @codespar/mcp-pagbrasil
{
"mcpServers": {
"mcp-pagbrasil": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pagbrasil"
],
"env": {
"PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
"PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
}
}
}
}
[mcp_servers.mcp-pagbrasil]
command = "npx"
args = ["-y", "@codespar/mcp-pagbrasil"]
env = { PAGBRASIL_PBTOKEN = "<PAGBRASIL_PBTOKEN>", PAGBRASIL_SECRET = "<PAGBRASIL_SECRET>" }
{
"mcpServers": {
"mcp-pagbrasil": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pagbrasil"
],
"env": {
"PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
"PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
}
}
}
}
{
"servers": {
"mcp-pagbrasil": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pagbrasil"
],
"env": {
"PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
"PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
}
}
}
}
Put your own values in place of
<PAGBRASIL_PBTOKEN> (Merchant token (pbtoken) from the PagBrasil Dashboard), <PAGBRASIL_SECRET> (Secret phrase from the PagBrasil Dashboard).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
PAGBRASIL_BASE_URL (API base URL. Defaults to https://sandbox.pagbrasil.com/api; production hosts are issued per-merchant).
MCP server for dLocal — LatAm cross-border payments, payouts, refunds across 15+ countries
Brazilian card acquiring API — merchants, cards-on-file, 3DS, PIX, banking, pricing.
MCP server for PagSeguro/PagBank — orders, Pix, boleto, credit card, charges
MCP server for Safrapay — Banco Safra acquirer: credit, Pix, boleto + split, 3DS, chargebacks
MCP server for BTG Pactual — Pix, Boleto, Account, Investments (CDB/LCI/LCA/funds), OAuth2 + mTLS
MCP server for Getnet — Santander-owned BR acquirer: credit, debit, Pix, boleto, marketplace split
MCP server for Santander Brasil — Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS)
MCP server for Clip (PayClip) — Mexico's leading acquirer: payment links, card charges, refunds
Answers built from our own checks of this server.