Razorpay MCP Server Integration

AI Payments Automation MCP Server

Contact us to host your MCP Server in FlowHunt

FlowHunt provides an additional security layer between your internal systems and AI tools, giving you granular control over which tools are accessible from your MCP servers. MCP servers hosted in our infrastructure can be seamlessly integrated with FlowHunt's chatbot as well as popular AI platforms like ChatGPT, Claude, and various AI editors.

What does “Razorpay” MCP Server do?

The Razorpay MCP Server is an implementation of the Model Context Protocol (MCP) that provides seamless integration with Razorpay APIs. It enables AI assistants and development tools to interact programmatically with Razorpay’s payment processing infrastructure. By exposing payment-related functionalities through standardized MCP tools, it allows developers to automate workflows such as capturing payments, retrieving payment details, and managing transactions. This integration enhances AI-powered applications by allowing them to securely perform actions like database queries, file management, or API interactions directly with Razorpay, improving operational efficiency and enabling more sophisticated automation for payment processing and financial operations.

List of Prompts

No information about prompt templates was found in the available documentation or code listings.

Logo

Ready to grow your business?

Start your free trial today and see results within days.

List of Resources

No explicit list of MCP resources is provided in the available documentation or code listings.

List of Tools

  • capture_payment
    Changes the payment status from authorized to captured via the Razorpay API.

  • fetch_payment
    Fetches payment details using a payment ID from Razorpay.

  • fetch_payment_card_details
    Retrieves card details used for a specific payment through the Razorpay API.

  • fetch_all_payments
    Fetches all payments with filtering and pagination options using Razorpay’s API.

  • update_payment
    (Listed, but description not available in the documentation.)

Use Cases of this MCP Server

  • Automated Payment Capture
    AI assistants can automatically capture authorized payments through Razorpay, streamlining transaction workflows.
  • Payment Data Retrieval
    Developers can fetch detailed payment information, including card details, to facilitate reporting, reconciliation, or support tasks.
  • Bulk Payment Review
    Enables retrieval of all payment records with filtering and pagination, useful for analytics, audits, and monitoring.
  • Payment Status Management
    Automates the process of updating payment statuses, reducing manual intervention and errors.
  • Integration with AI-powered Agents
    AI tools can programmatically interact with Razorpay’s payment APIs, enabling advanced financial automation and chatbot payment handling.

How to set it up

Windsurf

  1. Ensure prerequisites like Node.js are installed.
  2. Open the Windsurf configuration file.
  3. Add the Razorpay MCP Server to the mcpServers section as shown below.
  4. Save changes and restart Windsurf.
  5. Verify the Razorpay MCP Server is listed and operational.
{
  "mcpServers": {
    "razorpay": {
      "command": "npx",
      "args": ["@razorpay/mcp-server@latest"]
    }
  }
}

Claude

  1. Confirm that you have access to Claude’s MCP integration settings.
  2. Open Claude’s configuration panel.
  3. Insert the Razorpay MCP Server entry in the mcpServers block.
  4. Save your configuration and restart Claude.
  5. Check if the Razorpay MCP Server is connected.
{
  "mcpServers": {
    "razorpay": {
      "command": "npx",
      "args": ["@razorpay/mcp-server@latest"]
    }
  }
}

Cursor

  1. Install prerequisites (Node.js, etc.).
  2. Edit the Cursor configuration file.
  3. Add Razorpay MCP Server in the mcpServers section.
  4. Save and restart Cursor.
  5. Confirm Razorpay is available in the Cursor tool list.
{
  "mcpServers": {
    "razorpay": {
      "command": "npx",
      "args": ["@razorpay/mcp-server@latest"]
    }
  }
}

Cline

  1. Ensure Cline is installed and configured.
  2. Open the Cline configuration file.
  3. Include the Razorpay MCP Server definition.
  4. Save and restart Cline.
  5. Verify connectivity and access to Razorpay MCP tools.
{
  "mcpServers": {
    "razorpay": {
      "command": "npx",
      "args": ["@razorpay/mcp-server@latest"]
    }
  }
}

Securing API Keys

  • Store your Razorpay API key in an environment variable for security.
  • Example configuration with environment variable:
{
  "mcpServers": {
    "razorpay": {
      "command": "npx",
      "args": ["@razorpay/mcp-server@latest"],
      "env": {
        "RAZORPAY_API_KEY": "${RAZORPAY_API_KEY}"
      },
      "inputs": {
        "api_key": "${RAZORPAY_API_KEY}"
      }
    }
  }
}

How to use this MCP inside flows

Using MCP in FlowHunt

To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

FlowHunt MCP flow

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:

{
  "razorpay": {
    "transport": "streamable_http",
    "url": "https://yourmcpserver.example/pathtothemcp/url"
  }
}

Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “razorpay” to the actual name of your MCP server and replace the URL with your own MCP server URL.


Overview

SectionAvailabilityDetails/Notes
OverviewBasic overview and description present.
List of PromptsNo information provided on prompt templates.
List of ResourcesNo explicit resource listing found.
List of ToolsTools listed in README.
Securing API KeysExample with environment variable provided.
Sampling Support (less important in evaluation)No mention of sampling support.

Our opinion

The Razorpay MCP Server provides clear documentation of its tools and setup process but lacks details on prompt templates, resources, roots, and sampling support. It is well-suited for payment automation but could be improved with additional MCP feature support.

MCP Score

Has a LICENSE✅ (MIT)
Has at least one tool
Number of Forks23
Number of Stars192

Rating: 6/10 — The server is production-grade for payments, with clear tool and setup documentation, but lacks several advanced MCP features and resource/prompt description, slightly limiting its versatility for broader MCP applications.

Frequently asked questions

Automate Your Payment Workflows with Razorpay MCP

Integrate Razorpay into your FlowHunt flows, unlocking AI-powered payment automation and secure transaction management. Streamline your financial operations with a few clicks.

Learn more

Razorpay
Razorpay

Razorpay

Integrate FlowHunt with Razorpay MCP Server to automate payment operations, manage orders, handle refunds, and streamline settlements using intelligent AI-drive...

6 min read
AI Razorpay +5
Cashfree MCP Server
Cashfree MCP Server

Cashfree MCP Server

The Cashfree MCP Server enables seamless AI-driven integration with Cashfree APIs, allowing developers to automate payment processing, manage payouts, and verif...

4 min read
AI Payment Automation +3
Xero MCP Server
Xero MCP Server

Xero MCP Server

The Xero MCP Server enables seamless integration between AI assistants and the Xero Accounting Software. It provides secure, programmatic access to Xero’s APIs ...

4 min read
AI Accounting +4