razorpay
Unofficial Razorpay MCP server
claude mcp add --transport stdio lightheads-razorpay-mcp razorpay-mcp-stdio --key-id rzp_test_yourkeyid --key-secret yoursecretkey \ --env RAZORPAY_KEY_ID="rzp_test_yourkeyid" \ --env RAZORPAY_KEY_SECRET="yoursecretkey"
How to use
This MCP server provides a standardized interface for interacting with the Razorpay payment gateway API from AI assistants. It exposes a set of tools that can fetch payments, orders, settlements, refunds, disputes, invoices, contacts, transactions, VPAs, and customers, with pagination support. The server can be run in stdio mode for direct integration with clients like Cursor, or via SSE for web applications, and it can also be deployed with Docker. Use the provided commands and arguments to securely supply your Razorpay API credentials and then query the available tools to retrieve gateway data through the MCP interface.
How to install
{"steps":["Prerequisites: Node.js (recommended v14+), npm, and access to install global npm packages.","Install the Razorpay MCP package globally (example used in the README):","bash","npm install -g razorpay-mcp@0.1.4","","Run the STDIO transport (for direct usage with Cursor or similar clients):","bash","razorpay-mcp-stdio --key-id rzp_test_yourkeyid --key-secret yoursecretkey","","Alternatively, run the SSE transport (for web apps) that serves events over HTTP:","bash","razorpay-mcp-sse --key-id rzp_test_yourkeyid --key-secret yoursecretkey --port 3001","","If you prefer Docker, build and run the container as described in the README (docker run commands are provided for stdio and SSE)."]}
Additional notes
Tips and common considerations: Keep your Razorpay API credentials secure and do not commit them to source control. When using the SSE endpoint, you can connect a web app via an EventSource and issue tool calls by posting JSON messages to /messages with the appropriate sessionId. The MCP supports a wide range of Razorpay data retrieval tools, all with optional pagination parameters: count (default 10, max 100), skip, from, and to. If you encounter CUDA-related or environment-related issues, ensure Node/npm paths are correctly configured and that the global binary razorpay-mcp-stdio is accessible in your PATH. For Windows users, the README provides a Windows-specific command wrapper that invokes the stdio binary via cmd /c.
Related MCP Servers
context7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
obsidian -tools
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
MiniMax -JS
Official MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
mcp-bundler
Is the MCP configuration too complicated? You can easily share your own simplified setup!
akyn-sdk
Turn any data source into an MCP server in 5 minutes. Build AI-agents-ready knowledge bases.
promptboard
The Shared Whiteboard for Your AI Agents via MCP. Paste screenshots, mark them up, and share with AI.