Skip to main content
Available in🇮🇳 India
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 TipsCursor requires Node.js and npm for the mcp-remote bridge. Refer to the Remote MCP Server setup to install Node.js and generate your Base64-encoded merchant token.

Cursor Configuration

  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:
Cursor Configuration
  1. Replace <Base64(key:secret)> with your Base64-encoded token.
  2. Cursor starts the server and lists the available Razorpay tools, which confirms a successful connection.
Handy TipsThe .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.

Video Walkthrough

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 agentic-payments@razorpay.com.