Skip to content
MCP server

MCP Nupay

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

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

About MCP Nupay

MCP Nupay 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-nupay --env NUPAY_MERCHANT_KEY='<NUPAY_MERCHANT_KEY>' --env NUPAY_MERCHANT_TOKEN='<NUPAY_MERCHANT_TOKEN>' --env NUPAY_CLIENT_SECRET='<NUPAY_CLIENT_SECRET>' -- npx -y @codespar/mcp-nupay

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-nupay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nupay"
      ],
      "env": {
        "NUPAY_MERCHANT_KEY": "<NUPAY_MERCHANT_KEY>",
        "NUPAY_MERCHANT_TOKEN": "<NUPAY_MERCHANT_TOKEN>",
        "NUPAY_CLIENT_SECRET": "<NUPAY_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-nupay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nupay"
      ],
      "env": {
        "NUPAY_MERCHANT_KEY": "<NUPAY_MERCHANT_KEY>",
        "NUPAY_MERCHANT_TOKEN": "<NUPAY_MERCHANT_TOKEN>",
        "NUPAY_CLIENT_SECRET": "<NUPAY_CLIENT_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-nupay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nupay"
      ],
      "env": {
        "NUPAY_MERCHANT_KEY": "<NUPAY_MERCHANT_KEY>",
        "NUPAY_MERCHANT_TOKEN": "<NUPAY_MERCHANT_TOKEN>",
        "NUPAY_CLIENT_SECRET": "<NUPAY_CLIENT_SECRET>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp-nupay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nupay"
      ],
      "env": {
        "NUPAY_MERCHANT_KEY": "<NUPAY_MERCHANT_KEY>",
        "NUPAY_MERCHANT_TOKEN": "<NUPAY_MERCHANT_TOKEN>",
        "NUPAY_CLIENT_SECRET": "<NUPAY_CLIENT_SECRET>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp-nupay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nupay"
      ],
      "env": {
        "NUPAY_MERCHANT_KEY": "<NUPAY_MERCHANT_KEY>",
        "NUPAY_MERCHANT_TOKEN": "<NUPAY_MERCHANT_TOKEN>",
        "NUPAY_CLIENT_SECRET": "<NUPAY_CLIENT_SECRET>"
      }
    }
  }
}

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

Configuration

  • NUPAY_MERCHANT_KEYNuPay X-Merchant-Key issued to your merchantRequired
  • NUPAY_MERCHANT_TOKENNuPay X-Merchant-Token issued to your merchantRequired
  • NUPAY_CLIENT_IDOAuth2/CIBA client_id for pre-authorized (recurrence) flows. Optional unless using backchannel_start / backchannel_complete.
  • NUPAY_CLIENT_SECRETOAuth2/CIBA client_secret for pre-authorized flows. Optional unless using backchannel_* tools.
  • NUPAY_ENVsandbox | production. Defaults to sandbox. Drives both checkout API and auth base URLs.

Pricing

Open source

MCP Nupay FAQ

Is MCP Nupay free?

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

How do I add MCP Nupay to Claude Code?

Run this command in your terminal: claude mcp add mcp-nupay --env NUPAY_MERCHANT_KEY='<NUPAY_MERCHANT_KEY>' --env NUPAY_MERCHANT_TOKEN='<NUPAY_MERCHANT_TOKEN>' --env NUPAY_CLIENT_SECRET='<NUPAY_CLIENT_SECRET>' -- npx -y @codespar/mcp-nupay

Where this comes from

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

How AIPoweredBot checks servers