概要
What is Razorpay MCP Server (Official)?
The Razorpay MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Razorpay APIs, enabling advanced payment processing capabilities for developers and AI tools. It supports both a remote hosted option (recommended, zero setup) and a local self-hosted option.
How to use Razorpay MCP Server (Official)?
Choose the remote server (recommended) by configuring your MCP client with npx mcp-remote https://mcp.razorpay.com/mcp --header "Authorization: Basic <token>". Replace <token> with a Razorpay merchant token or base64-encoded API key:secret. Configuration examples are provided for Cursor, Claude Desktop, and VS Code.
Key features of Razorpay MCP Server (Official)
- Capture, fetch, and update payments and card details.
- Create and manage payment links (standard/UPI).
- Manage orders, refunds, and settlements.
- Generate and close QR codes for payments.
- Fetch payouts, tokens, and instant settlements.
- Integration helpers: detect stack and generate checkout code.
Use cases of Razorpay MCP Server (Official)
- Automate daily payment operations like capture and refunds.
- Build AI assistants for payment inquiries and management.
- Generate and send payment links via SMS or email.
- Manage recurring payments with token and registration link tools.
- Fetch settlement reconciliation reports for accounting.
FAQ from Razorpay MCP Server (Official)
What is the difference between Remote and Local MCP Server?
The Remote server is hosted by Razorpay with zero setup, automatic updates, and high availability. The Local server runs on your own infrastructure.
What authentication is required?
For the Remote server, use Basic Auth with a merchant token or base64-encoded API key and secret. Examples show using Authorization: Basic <token>.
Do I need Node.js to use the server?
Yes, npx is required. Node.js (which includes npm and npx) must be installed. The README provides installation instructions for macOS and Windows.
What tools are available?
Over 40 tools covering payments, orders, refunds, QR codes, settlements, payouts, tokens, registration links, and integration helpers. Most tools are supported on the Remote server.
Can I use this server in Cursor or Claude Desktop?
Yes, configuration examples for Cursor, Claude Desktop, and VS Code are provided in the README.