Razorpay MCP Server

Razorpay MCP Server

razorpay-mcp-light-heads•bylight-heads

A Model Context Protocol server that lets AI assistants access Razorpay payment gateway account data through a standardized interface.

License: Apache-2.0•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Exposes Razorpay data-fetching tools such as getAllPayments, getAllOrders, getAllSettlements, getAllRefunds, getAllDisputes, getAllInvoices, getAllContacts, getAllTransactions, getAllVPAs and getAllCustomers with pagination parameters.
  • •Provides a getAccountBalance tool that fetches the account balance by accountId.
  • •Supports pagination parameters count, skip, from and to, with count defaulting to 10 and capped at 100.
  • •Can be run over stdio transport for direct use with Cursor, or over SSE for web applications.

BEST FOR

  • •AI assistants like Cursor, Claude, and Copilot that need direct access to Razorpay account data.
  • •Web applications that need to query Razorpay data through an SSE-based MCP server.
  • •Querying Razorpay payments, orders, settlements, refunds, disputes and invoices for account analysis.

ABOUT RAZORPAY-MCP-LIGHT-HEADS

Razorpay MCP Server is cataloged as an MCP server attributed to light-heads. A Model Context Protocol server that lets AI assistants access Razorpay payment gateway account data through a standardized interface. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache-2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Razorpay MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What Razorpay resources can the server fetch?

It provides tools to fetch payments, orders, settlements, refunds, disputes, invoices, contacts, transactions, virtual payment addresses, customers, and account balance.

What transports does the server support?

It supports a stdio transport for direct use with Cursor and an SSE server for web applications.

Upstream README

View this exact version on GitHub

README.md · e64b431f39c0 · Fetched 2026-11-13 10:52:23 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MseeP.ai Security Assessment Badge

Razorpay MCP Server

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:

# Install globally first
npm install -g razorpay-mcp@0.1.4

# Then use the binary directly
razorpay-mcp-stdio --key-id rzp_test_yourkeyid --key-secret yoursecretkey

Cursor Configuration

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

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

For Windows Users

{
  "mcpServers": {
    "razorpay": {
      "command": "cmd",
      "args": [
        "/c",
        "razorpay-mcp-stdio",
        "--key-id",
        "rzp_test_yourkeyid",
        "--key-secret",
        "yoursecretkey"
      ]
    }
  }
}

For Web Applications (Using SSE)

  1. Start the SSE server:
# Install globally first
npm install -g razorpay-mcp@0.1.4

# Then use the binary directly
razorpay-mcp-sse --key-id rzp_test_yourkeyid --key-secret yoursecretkey --port 3001
  1. Connect from your web app:
// Create SSE connection
const eventSource = new EventSource('http://localhost:3001/sse');

// Handle connection event
eventSource.onmessage = (event) => {
  const data = JSON.parse(event.data);
  
  // If this is a hello message, store the sessionId
  if (data.type === 'hello') {
    const sessionId = data.sessionId;
    console.log(`Connected with session ID: ${sessionId}`);
    
    // Now you can make API calls
    callRazorpayAPI(sessionId, 'getAllPayments', {count: 10});
  }
};

// Send API requests
async function callRazorpayAPI(sessionId, toolName, params) {
  const response = await fetch(`http://localhost:3001/messages?sessionId=${sessionId}`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      type: 'toolCall',
      id: Date.now().toString(),
      name: toolName,
      params
    })
  });
  return response.json();
}

Docker Usage

You can also run this MCP server using Docker:

Build the Docker Image

# Clone the repository
git clone https://github.com/yourusername/razorpay-mcp.git
cd razorpay-mcp

# Build the Docker image
docker build -t razorpay-mcp .

Run the Container

For the stdio transport (for direct use with Cursor):

docker run --rm -it razorpay-mcp node dist/transports/stdio.cjs \
  --key-id rzp_test_yourkeyid --key-secret yoursecretkey

For the SSE server (for web applications):

docker run --rm -p 3001:3001 razorpay-mcp node dist/transports/sse.cjs \
  --key-id rzp_test_yourkeyid --key-secret yoursecretkey --port 3001

Available Razorpay Tools

Tool NameDescriptionParameters
getAllPaymentsFetch payments with paginationcount, skip, from, to
getAllOrdersFetch orders with paginationcount, skip, from, to
getAllSettlementsFetch settlements with paginationcount, skip, from, to
getAllRefundsFetch refunds with paginationcount, skip, from, to
getAllDisputesFetch disputes with paginationcount, skip, from, to
getAllInvoicesFetch invoices with paginationcount, skip, from, to
getAllContactsFetch contacts with paginationcount, skip, from, to
getAllTransactionsFetch transactions with paginationcount, skip, from, to
getAllVPAsFetch Virtual Payment Addressescount, skip, from, to
getAllCustomersFetch customers with paginationcount, skip, from, to
getAccountBalanceFetch account balanceaccountId

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

Resources

License

Apache-2.0

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Razorpay MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/razorpay-mcp-light-heads)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics