Official Razorpay server for working with the Razorpay payments API.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add razorpay --env AUTH_HEADER='<AUTH_HEADER>' --env RAZORPAY_KEY_ID='<RAZORPAY_KEY_ID>' --env RAZORPAY_KEY_SECRET='<RAZORPAY_KEY_SECRET>' -- npx mcp-remote https://mcp.razorpay.com/sse --header 'Authorization:${AUTH_HEADER}'~/.codex/config.toml
[mcp_servers.razorpay]
command = "npx"
args = ["mcp-remote", "https://mcp.razorpay.com/sse", "--header", "Authorization:${AUTH_HEADER}"]
env = { AUTH_HEADER = "<AUTH_HEADER>", RAZORPAY_KEY_ID = "<RAZORPAY_KEY_ID>", RAZORPAY_KEY_SECRET = "<RAZORPAY_KEY_SECRET>" }
# codex mcp add razorpay --env AUTH_HEADER='<AUTH_HEADER>' --env RAZORPAY_KEY_ID='<RAZORPAY_KEY_ID>' --env RAZORPAY_KEY_SECRET='<RAZORPAY_KEY_SECRET>' -- npx mcp-remote https://mcp.razorpay.com/sse --header 'Authorization:${AUTH_HEADER}'~/.cursor/mcp.json
{
"mcpServers": {
"razorpay": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.razorpay.com/sse",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "<AUTH_HEADER>",
"RAZORPAY_KEY_ID": "<RAZORPAY_KEY_ID>",
"RAZORPAY_KEY_SECRET": "<RAZORPAY_KEY_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"razorpay": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.razorpay.com/sse",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "<AUTH_HEADER>",
"RAZORPAY_KEY_ID": "<RAZORPAY_KEY_ID>",
"RAZORPAY_KEY_SECRET": "<RAZORPAY_KEY_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"razorpay": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.razorpay.com/sse",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "<AUTH_HEADER>",
"RAZORPAY_KEY_ID": "<RAZORPAY_KEY_ID>",
"RAZORPAY_KEY_SECRET": "<RAZORPAY_KEY_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"razorpay": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.razorpay.com/sse",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "<AUTH_HEADER>",
"RAZORPAY_KEY_ID": "<RAZORPAY_KEY_ID>",
"RAZORPAY_KEY_SECRET": "<RAZORPAY_KEY_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"razorpay": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.razorpay.com/sse",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "<AUTH_HEADER>",
"RAZORPAY_KEY_ID": "<RAZORPAY_KEY_ID>",
"RAZORPAY_KEY_SECRET": "<RAZORPAY_KEY_SECRET>"
}
}
}
}Environment variables
AUTH_HEADERRAZORPAY_KEY_IDRAZORPAY_KEY_SECRET
Replace the placeholders with your own credentials and keep them out of version control.