Skip to content
VS Code

mcp safrapay for VS Code

io.github.codespar/mcp-safrapay

MCP server for Safrapay — Banco Safra acquirer: credit, Pix, boleto + split, 3DS, chargebacks

client:VS Code transport:stdio runtime:npm

Install mcp safrapay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "safrapay-client-id",
      "description": "SAFRAPAY_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "safrapay-client-secret",
      "description": "SAFRAPAY_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "safrapay-merchant-id",
      "description": "SAFRAPAY_MERCHANT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "safrapay-env",
      "description": "SAFRAPAY_ENV",
      "password": true
    }
  ],
  "servers": {
    "mcp-safrapay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-safrapay"
      ],
      "env": {
        "SAFRAPAY_CLIENT_ID": "${input:safrapay-client-id}",
        "SAFRAPAY_CLIENT_SECRET": "${input:safrapay-client-secret}",
        "SAFRAPAY_MERCHANT_ID": "${input:safrapay-merchant-id}",
        "SAFRAPAY_ENV": "${input:safrapay-env}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp safrapay in other clients