Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Razorpay Mcp

    Unofficial Razorpay MCP server

    2 stars
    TypeScript
    Updated Aug 24, 2025
    mcp
    mcp-server
    payment-gateway
    razorpay
    razorpay-nodejs

    Table of Contents

    • Quick Start
    • Cursor Configuration
    • For Windows Users
    • For Web Applications (Using SSE)
    • Docker Usage
    • Build the Docker Image
    • Run the Container
    • Available Razorpay Tools
    • Resources
    • License

    Table of Contents

    • Quick Start
    • Cursor Configuration
    • For Windows Users
    • For Web Applications (Using SSE)
    • Docker Usage
    • Build the Docker Image
    • Run the Container
    • Available Razorpay Tools
    • Resources
    • License

    Documentation

    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:

    bash
    # 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:

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

    For Windows Users

    json
    {
      "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:

    bash
    # 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

    2. Connect from your web app:

    javascript
    // 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

    bash
    # 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):

    bash
    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):

    bash
    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

    • Razorpay API Documentation
    • Model Context Protocol

    License

    Apache-2.0

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScript·
      42
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11
    • ME

      Metmuseum Mcp

      TypeScript·
      14

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScript·
      42
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11
    • ME

      Metmuseum Mcp

      TypeScript·
      14

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k