Razorpay MCP Server

by LightHeads

2 333 downloads Not rated yet

About

A Model Context Protocol (MCP) server that connects the Razorpay payment gateway API to AI assistants such as Cursor, Claude, and Copilot. It enables these assistants to directly access Razorpay account data through a standardized interface.

Explore

- Supports both stdio and SSE transport modes.
- Provides 11 Razorpay data retrieval tools.
- Pagination support with count, skip, from, to parameters.
- Works with Cursor, Claude, Copilot, and other MCP clients.
- Docker image available for containerized deployment.
- Simple authentication using key‑id and key‑secret.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Razorpay MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The most reliable way to use this package:


npm install -g [email protected]

After installing globally, add this configuration to your .cursor/mcp.json file:

json
{
"mcpServers": {
"razorpay": {
"command": "razorpay-mcp-stdio",
"args": [
"--key-id",
"rzp_test_yourkeyid",
"--key-secret",
"yoursecretkey"
]
}
}
}
```

You can also run this MCP server using Docker:

count

Number of items to fetch (default: 10, max: 100)

skip

Number of items to skip

from

Start timestamp

to

End timestamp

getAllPayments

Fetch payments with pagination

getAllOrders

Fetch orders with pagination

getAllSettlements

Fetch settlements with pagination

getAllRefunds

Fetch refunds with pagination

getAllDisputes

Fetch disputes with pagination

getAllInvoices

Fetch invoices with pagination

getAllContacts

Fetch contacts with pagination

getAllTransactions

Fetch transactions with pagination

getAllVPAs

Fetch Virtual Payment Addresses

getAllCustomers

Fetch customers with pagination

getAccountBalance

Fetch account balance

| Tool Name | Description | Parameters |
|-----------|-------------|------------|
| getAllPayments | Fetch payments with pagination | count, skip, from, to |
| getAllOrders | Fetch orders with pagination | count, skip, from, to |
| getAllSettlements | Fetch settlements with pagination | count, skip, from, to |
| getAllRefunds | Fetch refunds with pagination | count, skip, from, to |
| getAllDisputes | Fetch disputes with pagination | count, skip, from, to |
| getAllInvoices | Fetch invoices with pagination | count, skip, from, to |
| getAllContacts | Fetch contacts with pagination | count, skip, from, to |
| getAllTransactions | Fetch transactions with pagination | count, skip, from, to |
| getAllVPAs | Fetch Virtual Payment Addresses | count, skip, from, to |
| getAllCustomers | Fetch customers with pagination | count, skip, from, to |
| getAccountBalance | Fetch account balance | accountId |

All pagination parameters are optional:
- count: Number of items to fetch (default: 10, max: 100)
- skip: Number of items to skip
- from: Start timestamp
- to: End timestamp

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "razorpay mcp server": {
            "razorpay-mcp": {
                "command": "docker",
                "args": [
                    "build",
                    "-t",
                    "razorpay-mcp",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "razorpay-mcp": {
        "command": "docker",
        "args": [
            "build",
            "-t",
            "razorpay-mcp",
            "."
        ]
    }
}

> Connect your Razorpay payment gateway to AI assistants using the Model Context Protocol

A Model Context Protocol (MCP) server for interacting with the Razorpay payment gateway API. This package enables AI assistants like Cursor, Claude, and Copilot to directly access your Razorpay account data through a standardized interface.

Quick Start

The most reliable way to use this package:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.