mcp-server-razorpay
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RAZORPAY_KEY_ID | Yes | Your Razorpay API key ID. | |
| RAZORPAY_KEY_SECRET | Yes | Your Razorpay API key secret. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_orderB | Create a new Razorpay order. Amount must be in paise (e.g. 50000 = ₹500). |
| fetch_orderB | Fetch details of a specific Razorpay order by order ID. |
| list_ordersC | List Razorpay orders with optional filters. |
| fetch_paymentB | Fetch details of a specific Razorpay payment by payment ID. |
| capture_paymentA | Capture an authorized Razorpay payment. Amount must match the original order amount in paise. |
| list_paymentsC | List Razorpay payments with optional filters. |
| create_refundB | Create a full or partial refund for a Razorpay payment. Omit amount for full refund. |
| fetch_refundC | Fetch a specific refund by refund ID and payment ID. |
| list_refunds_for_paymentB | List all refunds created for a specific Razorpay payment. |
| create_customerC | Create a new customer in Razorpay. |
| fetch_customerB | Fetch a Razorpay customer by their customer ID. |
| create_subscriptionC | Create a recurring subscription for a customer in Razorpay. |
| fetch_subscriptionB | Fetch a Razorpay subscription by subscription ID. |
| cancel_subscriptionB | Cancel a Razorpay subscription immediately or at end of billing cycle. |
| create_payment_linkC | Create a shareable Razorpay payment link for a customer. Amount in paise. |
| fetch_payment_linkC | Fetch details of a Razorpay payment link by its ID. |
| deactivate_payment_linkA | Deactivate (expire) a Razorpay payment link so it can no longer be used. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Each tool pairs a distinct verb with a distinct Razorpay resource (order, payment, refund, customer, subscription, payment link), so no two tools overlap in purpose. Edge cases like fetch_refund versus list_refunds_for_payment are clearly separated by identifier requirements and singular/plural semantics in the descriptions.
All 17 tools follow a strict snake_case verb_noun pattern (fetch_order, create_refund, cancel_subscription, deactivate_payment_link). The one outlier, list_refunds_for_payment, still conforms to the same verb_noun convention with a clarifying resource qualifier.
17 tools spanning six resources is reasonable for a payments API, with roughly three operations per resource. It is slightly on the heavy side of the ideal band, but no tool appears redundant or filler.
Core flows (create/fetch/list orders, capture payments, refund, subscriptions, payment links) are covered, but read coverage is uneven: customers, subscriptions, and payment links have no list or update operations, and there is no fetch/list of all refunds or any customer deletion. Agents can work around these via IDs they already hold, but discovery-style workflows will hit dead ends.