Connect Razorpay MCP Server to Cursor

Connect the Razorpay MCP Server to Cursor through the mcp-remote bridge by editing the mcp.json configuration file.


Cursor connects to the Razorpay Remote MCP Server through the mcp-remote bridge. You can add it from Cursor Settings, or by editing the MCP configuration file directly.

Handy Tips

Cursor requires Node.js and npm for the mcp-remote bridge. Refer to the

to install Node.js and generate your Base64-encoded merchant token.

  1. Open Cursor and navigate to SettingsCursor Settings.

  2. Go to MCP Tools and click Add Custom MCP. This opens your mcp.json file.

  3. Paste the following configuration and save the file:

    {
    "mcpServers": {
    "rzp-mcp-server": {
    "command": "npx",
    "args": [
    "mcp-remote",
    "https://mcp.razorpay.com/mcp",
    "--header",
    "Authorization:${AUTH_HEADER}"
    ],
    "env": {
    "AUTH_HEADER": "Basic <Base64(key:secret)>"
    }
    }
    }
    }
  4. Replace <Base64(key:secret)> with your Base64-encoded token.

  5. Cursor starts the server and lists the available Razorpay tools, which confirms a successful connection.

Handy Tips

The .cursor/mcp.json file in a repository root applies to that project only, while ~/.cursor/mcp.json applies globally. If both files define the server, the project configuration takes precedence.

Watch this video to see how to set up the Razorpay MCP Server in the Cursor agent.

Watch this video to see how to configure the Razorpay MCP Server in the Cursor CLI.

Need Help?

If you need any assistance with the integration, reach out to us at

.


Is this integration guide useful?


razorpay mcp cursor
cursor mcp
mcp-remote
cursor settings