Prerequisites
Before installing the Razorpay Remote MCP Server, ensure you have:- AI Assistant: Claude Desktop, Cursor, Visual Studio Code, or similar AI-assisted application.
- Razorpay Account: Active Razorpay account with API access.
- Authentication: Generate Razorpay API keys from the Dashboard. Alternatively, you can use OAuth.
Step 1: Install Node.js
The Remote MCP Server requires Node.js andnpm. Choose the installation method for your operating system:
For Mac
- Go to nodejs.org.
- Download the LTS (Long Term Support) version.
- Run the installer (.pkg file).
- Follow the installation prompts.
For Windows
- Go to nodejs.org.
- Download the LTS version for Windows.
- Run the installer (.msi file).
- Follow the installation wizard.
- Make sure to check Add to PATH during installation.
Step 2: Verify Installation
After installing Node.js, open your terminal/command prompt and verify the installation:Step 3: Authenticate Razorpay Account
Generate API keys and create a merchant token.Generate API Keys
Follow these steps to generate the API keys:Log in to your [Razorpay Dashboard](https://dashboard.razorpay.com/).
Navigate to **Account & Settings** → **API Keys**.
Generate your API keys (Key ID and Key Secret).
Copy both the Key ID and Key Secret.
Encode Merchant Token
Encode your merchant token by running the following command in your terminal:Step 4: Configure Your AI-assisted Application
Choose your AI-assisted application and follow the corresponding configuration steps.Claude Desktop Configuration
- Open Claude Desktop.
- Navigate to Settings → Developer → Edit Config.
- Paste the following configuration and save the file:
Cursor Configuration
- Open Cursor.
- Navigate to Settings → Cursor Settings.
- Go to MCP tools and click Add Custom MCP (or edit existing MCP.json file).
- Paste the following configuration:
Visual Studio Code Configuration
- Open Visual Studio Code
- Open Command Palette and type Preferences: Open User Settings (JSON)
- Select it from the dropdown to open the settings file
- Paste the following configuration:
Step 5: Restart Application
Restart your AI assistant application after adding the configuration. You should see Razorpay MCP tools become available. Test the connection by asking: Show me available Razorpay tools. If successful, you should see a list of available Razorpay MCP tools.Next Steps
Once your Remote MCP Server is set up:**Explore Use Cases**: Review [practical examples](/mcp-server/use-...
**Learn Available Tools**: Check the [Tools Reference](/mcp-server/...
**Advanced Configuration**: See [Configuration Guide](/mcp-server/c...
**Start Building**: Begin using natural language commands to intera...