Handle payments, orders, refunds and subscription workflows through Razorpay. Manage financial transactions and payment operations for businesses and applications.
Cursor is an AI-first code editor. It loads MCP servers from its settings and lets its agent call their tools as part of a task.
This guide connects Razorpay to Cursor through MewCP, so Cursor can use Razorpay's 17 tools, like health_check, create_order and fetch_order, without your Razorpay credentials ever reaching the app.
Your Razorpay API key is stored encrypted and injected only at call time. Your agent never holds it, so it can never leak it, log it or paste it into a prompt.
More apps
Beyond Payday helps AI agents analyze household finances using real financial records, including monthly cash flow, net worth, income, bills, assets, debts, savings goals, and retirement projections. Create and update financial records, track goal progress, and compare net-worth history.
Laso Finance enables AI agents to manage financial operations through managed wallets, prepaid cards, gift cards, bank payments, withdrawals, balance checks, and x402 payments to external APIs, with automated USDC settlement and configurable spending guardrails.
Enable AI agents to pay for verifiable digital services using x402 and receive cryptographically signed Outcome Receipts as proof of completed work. Agent Embassy supports URL claim verification, paid recovery registration, and GPU compute market data for agent-driven commerce and transaction verification.
The Stripe MCP Server lets AI agents manage customers, products, prices, subscriptions, invoices, payment links, refunds, and disputes, retrieve payment data, and search Stripe’s API documentation.
Other clients
Razorpay works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Razorpay tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
A browser window opens the first time the client connects. Sign in and approve access. No API key needed.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps.
Check server readiness and basic connectivity.
Create a new Razorpay order. Amount must be in the smallest currency unit (e.g. paise for INR). Returns the order object including the order ID required to initiate a payment on the frontend.
Fetch the details of a specific Razorpay order by its order ID.
Fetch a paginated list of all Razorpay orders. Supports optional Unix timestamp range filters and pagination via count/skip.
Fetch all payments made against a specific Razorpay order ID.
Update the notes field on an existing Razorpay order.
Fetch the details of a specific Razorpay payment by its payment ID.
Fetch a paginated list of all Razorpay payments. Supports optional Unix timestamp range filters and pagination via count/skip.
Capture an authorized Razorpay payment. Only payments in 'authorized' state can be captured. Amount must match the authorized amount exactly.
Update the notes field on an existing Razorpay payment.
Create a full or partial refund for a captured Razorpay payment. Omit amount for a full refund. Speed can be 'normal' or 'optimum'.
Fetch the details of a specific Razorpay refund by its refund ID.
Fetch a paginated list of all Razorpay refunds. Supports optional Unix timestamp range filters and pagination via count/skip.
Fetch all refunds associated with a specific Razorpay payment ID.
Update the notes field on an existing Razorpay refund.
Fetch a paginated list of all Razorpay settlements. Supports optional Unix timestamp range filters and pagination via count/skip.
Fetch the details of a specific Razorpay settlement by its settlement ID.