Razorpay MCP Server — Hosted Payments Integration
MCP Server shield Key RequiredPayments, orders, subscriptions, payouts via Razorpay's official MCP
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"razorpay-billing": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-razorpay",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the create_payment_link tool to create a razorpay payment link with a specified amount, currency, and customer details to share with buyers”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
Razorpay Billing MCP
Official proxy MCP — Payments, orders, subscriptions, payouts via Razorpay's official MCP
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-razorpay
Overview
Razorpay Billing is a proxy MCP server that forwards requests directly to the official Razorpay MCP endpoint at https://mcp.razorpay.com/mcp. All tools are maintained by Razorpay — new tools are available immediately without any Aerostack update.
Type: Proxy (hosted by Razorpay)
Auth: Bearer token via RAZORPAY_KEY_ID
Available Tools
- create_payment_link — Create a Razorpay payment link with a specified amount, currency, and customer details to share with buyers
- get_payment — Retrieve details of a specific Razorpay payment by its payment ID including status and method
- list_payments — List Razorpay payments with optional filters for date range, count, and pagination
- create_order — Create a Razorpay order that is required before initiating a payment through the Razorpay checkout
- fetch_order — Fetch details of an existing Razorpay order by ID, including its status and associated payments
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
RAZORPAY_KEY_ID |
Yes | Razorpay Key ID | dashboard.razorpay.com → Settings → API Keys → Generate Test/Live Key |
RAZORPAY_KEY_SECRET |
Yes | Razorpay Key Secret | dashboard.razorpay.com → Settings → API Keys → same as Key ID generation |
Setup
Add to Aerostack Workspace
- Go to app.aerostack.dev/workspaces → Create Workspace
- Inside your workspace → Add Server → search "Razorpay Billing"
- Enter your
RAZORPAY_KEY_IDwhen prompted — stored encrypted, injected automatically
Once added, every AI agent in your workspace can use Razorpay tools automatically.
Usage
Example Prompts
"List all my Razorpay items and summarize the most recent ones"
"Find anything related to [keyword] in Razorpay"
"Create a new entry with the following details: ..."
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-razorpay \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-RAZORPAY-KEY-ID: your-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_payment_link","arguments":{}}}'
License
MIT
terminal Tools (5)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
create_payment_link #1 Create a Razorpay payment link with a specified amount, currency, and customer details to share with buyers
get_payment #2 Retrieve details of a specific Razorpay payment by its payment ID including status and method
list_payments #3 List Razorpay payments with optional filters for date range, count, and pagination
create_order #4 Create a Razorpay order that is required before initiating a payment through the Razorpay checkout
fetch_order #5 Fetch details of an existing Razorpay order by ID, including its status and associated payments
Details
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in Payments
Browse Payments MCPs →Frequently asked questions
What is the Razorpay MCP server and what can it do? +
The Razorpay MCP server is hosted on Aerostack and exposes these tools to your AI agent: `create_payment_link`, `get_payment`, `list_payments`, `create_order`, `fetch_order`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Razorpay MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Razorpay MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Razorpay MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Razorpay MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-razorpay": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-razorpay"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Razorpay MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-razorpay", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-razorpay"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Razorpay MCP require authentication? +
Yes. Razorpay uses Bearer token authentication. Set your token as a workspace secret in the Aerostack dashboard.