by razorpay
Razorpay's Official MCP Server
# Add to your Claude Code skills
git clone https://github.com/razorpay/razorpay-mcp-serverThe 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.
Choose your preferred setup method:
Currently, the Razorpay MCP Server provides the following tools:
| Tool | Description | API | Remote Server Support |
|:-------------------------------------|:-------------------------------------------------------|:------------------------------------|:---------------------|
| capture_payment | Change the payment status from authorized to captured. | Payment | ✅ |
| fetch_payment | Fetch payment details with ID | Payment | ✅ |
| fetch_payment_card_details | Fetch card details used for a payment | Payment | ✅ |
| fetch_all_payments | Fetch all payments with filtering and pagination | Payment | ✅ |
| update_payment | Update the notes field of a payment | Payment | ✅ |
| | Initiate a payment using saved payment method with order and customer details | | ✅ |
| | Resend OTP if the previous one was not received or expired | | ✅ |
| | Verify and submit OTP to complete payment authentication | | ✅ |
| | Creates a new payment link (standard) | | ✅ |
| | Creates a new UPI payment link | | ✅ |
| | Fetch all the payment links | | ✅ |
| | Fetch details of a payment link | | ✅ |
| | Send a payment link via SMS or email. | | ✅ |
| | Updates a new standard payment link | | ✅ |
| | Creates an order | | ✅ |
| | Fetch order with ID | | ✅ |
| | Fetch all orders | | ✅ |
| | Update an order | | ✅ |
| | Fetch all payments for an order | | ✅ |
| | Creates a refund | | ❌ |
| | Fetch refund details with ID | | ✅ |
| | Fetch all refunds | | ✅ |
| | Update refund notes with ID | | ✅ |
| | Fetch multiple refunds for a payment | | ✅ |
| | Fetch a specific refund for a payment | | ✅ |
| | Creates a QR Code | | ✅ |
| | Fetch QR Code with ID | | ✅ |
| | Fetch all QR Codes | | ✅ |
| | Fetch QR Codes with Customer ID | | ✅ |
| | Fetch QR Codes with Payment ID | | ✅ |
| | Fetch Payments for a QR Code | | ✅ |
| | Closes a QR Code | | ❌ |
| | Fetch all settlements | | ✅ |
| | Fetch settlement details | | ✅ |
| | Fetch settlement reconciliation report | | ✅ |
| | Create an instant settlement | | ❌ |
| | Fetch all instant settlements | | ✅ |
| | Fetch instant settlement with ID | | ✅ |
| | Fetch all payout details with A/c number | | ✅ |
| | Fetch the payout details with payout ID | | ✅ |
| | Get all saved payment methods by customer ID or contact number | | ✅ |
| | Revoke a saved payment method (token) for a customer | | ✅ |
| | Create a registration link (auth link) for subscription registration | | ❌ |
| | Detect project language/framework for checkout integration | N/A (MCP Integration Helper) | ✅ |
| | Generate end-to-end Razorpay Standard Checkout integration code for supported frameworks | N/A (MCP Integration Helper) | ✅ |
No comments yet. Be the first to share your thoughts!
initiate_paymentresend_otpsubmit_otpcreate_payment_linkcreate_payment_link_upifetch_all_payment_linksfetch_payment_linksend_payment_linkupdate_payment_linkcreate_orderfetch_orderfetch_all_ordersupdate_orderfetch_order_paymentscreate_refundfetch_refundfetch_all_refundsupdate_refundfetch_multiple_refunds_for_paymentfetch_specific_refund_for_paymentcreate_qr_codefetch_qr_codefetch_all_qr_codesfetch_qr_codes_by_customer_idfetch_qr_codes_by_payment_idfetch_payments_for_qr_codeclose_qr_codefetch_all_settlementsfetch_settlement_with_idfetch_settlement_recon_detailscreate_instant_settlementfetch_all_instant_settlementsfetch_instant_settlement_with_idfetch_all_payoutsfetch_payout_by_idfetch_tokensrevoke_tokencreate_registration_linkdetect_stackintegrate_razorpay_checkoutThe Remote MCP Server is hosted by Razorpay and provides instant access to Razorpay APIs without any local setup. This is the recommended approach for most users.
npx is needed to use mcp server.
You need to have Node.js installed on your system, which includes both npm (Node Package Manager) and npx (Node Package Execute) by default:
# Install Node