Skip to main content

Setup Options

Refer to the Prerequisites section and then choose a setup method to proceed. You can use Docker (recommended) or build from source.

Prerequisites

Before setting up the Razorpay Local MCP Server, ensure you have:
  • Docker: Container platform for running the MCP server.
  • Git: Version control system for cloning repositories (if building from source).
  • Golang (Go): Programming language runtime (if building from source).
  • Razorpay API Keys: Generate API keys from your Dashboard.
  • AI-assisted Application: Claude Desktop, VS Code, or similar AI-assisted application.
  1. Clone the repository:
    Clone Repo
  2. Build the Docker image:
    Build Docker Image
The resulting image razorpay-mcp-server:latest will be available in your local Docker registry.

Build From Source Instructions

  1. Clone the repository:
    Clone Repo
  2. Build the Go binary:
    Build Go Binary
The resulting binary razorpay-mcp-server will be created in your current directory.

Integration Steps

Step 1: Configure Application

Follow the integration steps given below: To use the Razorpay MCP Server with Claude Desktop:
  1. Install Claude Desktop.
  2. Go to SettingsDeveloperEdit Config.
  3. Add the following to your claude_desktop_config.json file:
Handy Tips
  • Replace your_razorpay_key_id and your_razorpay_key_secret with your actual Razorpay API credentials.
  • Configure MCP servers in Claude Desktop
    1. Open Visual Studio Code.
    2. Open Command Palette and type Preferences: Open User Settings (JSON).
    3. Select it from the dropdown to open the settings file.
    4. Paste the following configuration:
    Learn more about MCP servers in VS Code’s agent mode documentation.

Step 2: Restart Application

Restart your AI assistant application after configuration. You should see Razorpay MCP tools become available. Test the connection by asking: Show me available Razorpay tools. If successful, you should see the complete list of Razorpay MCP tools, including tools that are restricted in the Remote MCP Server.

Next Steps

Once your Local MCP Server is running:
1

**Explore Advanced Features**: Access all tools including refunds a...

Explore Advanced Features: Access all tools including refunds and settlements.
2

**Configure Advanced Options**: See [Configuration Guide](/mcp-serv...

Configure Advanced Options: See Configuration Guide for detailed settings.
3

**Review Use Cases**: Check [practical examples](/mcp-server/use-ca...

Review Use Cases: Check practical examples that leverage local-only tools.