Skip to content
VS Code

mcp nupay for VS Code

io.github.codespar/mcp-nupay

MCP server for NuPay — Nubank merchant checkout: Pix + wallet one-click for 100M+ BR users

client:VS Code transport:stdio runtime:npm

Install mcp nupay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nupay-merchant-key",
      "description": "NUPAY_MERCHANT_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nupay-merchant-token",
      "description": "NUPAY_MERCHANT_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nupay-client-id",
      "description": "NUPAY_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nupay-client-secret",
      "description": "NUPAY_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nupay-env",
      "description": "NUPAY_ENV",
      "password": true
    }
  ],
  "servers": {
    "mcp-nupay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nupay"
      ],
      "env": {
        "NUPAY_MERCHANT_KEY": "${input:nupay-merchant-key}",
        "NUPAY_MERCHANT_TOKEN": "${input:nupay-merchant-token}",
        "NUPAY_CLIENT_ID": "${input:nupay-client-id}",
        "NUPAY_CLIENT_SECRET": "${input:nupay-client-secret}",
        "NUPAY_ENV": "${input:nupay-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 nupay in other clients