{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.codespar/mcp-pagbrasil",
  "slug": "io.github.codespar.mcp-pagbrasil",
  "title": "mcp-pagbrasil",
  "summary": "PagBrasil — cross-border acquiring into Brazil: Pix, Boleto Flash, refunds",
  "version": "0.1.0",
  "serverKey": "mcp-pagbrasil",
  "pageUrl": "http://23.23.102.237/tool/io.github.codespar.mcp-pagbrasil",
  "installMdUrl": "http://23.23.102.237/tool/io.github.codespar.mcp-pagbrasil/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T02:05:17.076005491Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagbrasil@0.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-pagbrasil -e 'PAGBRASIL_PBTOKEN=<PAGBRASIL_PBTOKEN>' -e 'PAGBRASIL_SECRET=<PAGBRASIL_SECRET>' -- npx -y @codespar/mcp-pagbrasil@0.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-pagbrasil\": {\n      \"args\": [\n        \"-y\",\n        \"@codespar/mcp-pagbrasil@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PAGBRASIL_PBTOKEN\": \"<PAGBRASIL_PBTOKEN>\",\n        \"PAGBRASIL_SECRET\": \"<PAGBRASIL_SECRET>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-pagbrasil\": {\n      \"args\": [\n        \"-y\",\n        \"@codespar/mcp-pagbrasil@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PAGBRASIL_PBTOKEN\": \"<PAGBRASIL_PBTOKEN>\",\n        \"PAGBRASIL_SECRET\": \"<PAGBRASIL_SECRET>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"PAGBRASIL_PBTOKEN\",\n      \"id\": \"pagbrasil-pbtoken\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"PAGBRASIL_SECRET\",\n      \"id\": \"pagbrasil-secret\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-pagbrasil\": {\n      \"args\": [\n        \"-y\",\n        \"@codespar/mcp-pagbrasil@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PAGBRASIL_PBTOKEN\": \"${input:pagbrasil-pbtoken}\",\n        \"PAGBRASIL_SECRET\": \"${input:pagbrasil-secret}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-pagbrasil]\ncommand = \"npx\"\nargs = [\"-y\", \"@codespar/mcp-pagbrasil@0.1.0\"]\nenv = { \"PAGBRASIL_PBTOKEN\" = \"<PAGBRASIL_PBTOKEN>\", \"PAGBRASIL_SECRET\" = \"<PAGBRASIL_SECRET>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "PAGBRASIL_PBTOKEN",
      "required": true,
      "secret": true,
      "description": "Merchant token (pbtoken) from the PagBrasil Dashboard",
      "help": "Merchant token (pbtoken) from the PagBrasil Dashboard",
      "placeholder": "<PAGBRASIL_PBTOKEN>"
    },
    {
      "name": "PAGBRASIL_SECRET",
      "required": true,
      "secret": true,
      "description": "Secret phrase from the PagBrasil Dashboard",
      "help": "Secret phrase from the PagBrasil Dashboard",
      "placeholder": "<PAGBRASIL_SECRET>"
    },
    {
      "name": "PAGBRASIL_BASE_URL",
      "required": false,
      "secret": false,
      "description": "API base URL. Defaults to https://sandbox.pagbrasil.com/api; production hosts are issued per-merchant.",
      "help": "API base URL. Defaults to https://sandbox.pagbrasil.com/api; production hosts are issued per-merchant.",
      "placeholder": "<PAGBRASIL_BASE_URL>"
    }
  ],
  "expectedTools": [
    "create_order",
    "get_order",
    "refund_order"
  ],
  "agentSteps": [
    "Ask the user for: PAGBRASIL_PBTOKEN, PAGBRASIL_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: create_order, get_order, refund_order.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T02:05:17.076005491Z"
}
