Skip to content
MCP server

MCP Pagbrasil

PagBrasil — cross-border acquiring into Brazil: Pix, Boleto Flash, refunds

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
5 days ago

About MCP Pagbrasil

MCP Pagbrasil is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-pagbrasil --env PAGBRASIL_PBTOKEN='<PAGBRASIL_PBTOKEN>' --env PAGBRASIL_SECRET='<PAGBRASIL_SECRET>' -- npx -y @codespar/mcp-pagbrasil

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-pagbrasil": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagbrasil"
      ],
      "env": {
        "PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
        "PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-pagbrasil": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagbrasil"
      ],
      "env": {
        "PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
        "PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-pagbrasil": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagbrasil"
      ],
      "env": {
        "PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
        "PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-pagbrasil": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagbrasil"
      ],
      "env": {
        "PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
        "PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-pagbrasil": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagbrasil"
      ],
      "env": {
        "PAGBRASIL_PBTOKEN": "<PAGBRASIL_PBTOKEN>",
        "PAGBRASIL_SECRET": "<PAGBRASIL_SECRET>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PAGBRASIL_PBTOKENMerchant token (pbtoken) from the PagBrasil DashboardRequired
  • PAGBRASIL_SECRETSecret phrase from the PagBrasil DashboardRequired
  • PAGBRASIL_BASE_URLAPI base URL. Defaults to https://sandbox.pagbrasil.com/api; production hosts are issued per-merchant.

Pricing

Open source

MCP Pagbrasil FAQ

Is MCP Pagbrasil free?

Yes. MCP Pagbrasil is open source, so you can use and self-host it for free.

How do I add MCP Pagbrasil to Claude Code?

Run this command in your terminal: claude mcp add mcp-pagbrasil --env PAGBRASIL_PBTOKEN='<PAGBRASIL_PBTOKEN>' --env PAGBRASIL_SECRET='<PAGBRASIL_SECRET>' -- npx -y @codespar/mcp-pagbrasil

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers