Razorpay Billing
MCP Server 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.
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
Details
Publisher
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.