Razorpay

Razorpay

Razorpay's official MCP server

208
Stars
25
Forks
4
Releases

Overview

Razorpay MCP Server is a Model Context Protocol server that enables seamless integration with Razorpay APIs to power advanced payment processing for developers and AI-powered tools. It offers two deployment modes: Remote MCP Server (hosted by Razorpay) for instant access with zero setup, and Local MCP Server for on-premises use. The Remote server provides benefits such as zero setup, automatic updates, high availability, reduced latency, enhanced security via token-based authentication with automatic token rotation, and maintenance-free operation. The Local server can be run via a public Docker image or by building from Docker or from source, giving full tool access (including tools restricted on the remote server). The server exposes a comprehensive suite of tools covering payments, payment links, orders, refunds, QR codes, settlements, payouts, and tokens, enabling workflows across the Razorpay ecosystem. Configuration relies on environment variables (RAZORPAY_KEY_ID, RAZORPAY_KEY_SECRET) and optional LOG_FILE, TOOLSETS, and READ_ONLY. CLI flags support --key, --secret, --log-file, --toolsets, and --read-only. Authentication for remote access uses merchant tokens generated from the API credentials.

Details

Owner
razorpay
Language
Go
License
MIT License
Updated
2025-12-07

Features

Remote MCP Server (Hosted by Razorpay)

Zero setup, automatic updates, high availability, reduced latency, token-based security with automatic token rotation, and maintenance-free operation.

Local MCP Server deployment

Run on your own infrastructure with full tool access (including tools restricted on the remote server) via Docker or from source.

Extensive toolset across Razorpay ecosystem

Access a comprehensive suite of tools covering payments, payment links, orders, refunds, QR codes, settlements, payouts, and tokens.

Merchant token-based authentication

Remote access is secured by merchant tokens generated from your Razorpay API credentials.

Configurable toolsets and read-only mode

Control enabled toolsets with TOOLSETS and run the server in read-only mode using READ_ONLY.

Flexible local deployment options

Use public Docker image, build from Docker, or build from source for local hosting.

Configuration and CLI flags

Configure via environment variables (RAZORPAY_KEY_ID, RAZORPAY_KEY_SECRET, LOG_FILE) and use CLI flags (--key, --secret, --log-file, --toolsets, --read-only).

Debugging and licensing

Debug with standard Go tools and operate under the MIT open source license.

Audience

DevelopersIntegrate Razorpay APIs via MCP to automate payments and build AI-enabled tools.
AI BuildersCreate AI-powered apps/tools that interact with Razorpay's payment ecosystem using this MCP server.
Automation EngineersAutomate day-to-day payment workflows using Razorpay MCP Server.

Tags

RazorpayMCP serverPaymentsPayment processingPayment linksOrdersRefundsQR codesSettlementsPayoutsTokensMerchant tokenRemote serverLocal serverDockerGoClaude DesktopVS CodeOpen sourceMIT license