R

Razorpay MCP

Installable
razorpay
GitHub

About

The Razorpay MCP Server provides seamless integration with Razorpay APIs, enabling advanced payment processing capabilities for developers and AI tools.

Available Tools

The server provides comprehensive tools for payment processing:

Payment Operations: Capture, fetch, update payments; fetch card details; initiate payments; handle OTP verification

Payment Links: Create standard and UPI payment links; fetch, send, and update links

Orders: Create, fetch, update orders; fetch order payments

Refunds: Create, fetch, and update refunds; fetch multiple refunds for payments

QR Codes: Create, fetch QR codes; fetch by customer/payment ID; close QR codes

Settlements: Fetch settlements and reconciliation reports; create and manage instant settlements

Payouts: Fetch payout details by account number or payout ID

Tokens: Get and revoke saved payment methods

Integration Helpers: Detect project stack and generate Razorpay Standard Checkout integration code

Use Cases

  • Workflow Automation: Automate day-to-day payment workflows using Razorpay MCP Server
  • Agentic Applications: Build AI-powered tools that interact with Razorpay's payment ecosystem

Authentication

For the remote server, use merchant token-based authentication:

  1. Go to Razorpay Dashboard → Settings → API Keys
  2. Locate your API Key and API Secret
  3. Generate your merchant token:
    echo <RAZORPAY_API_KEY>:<RAZORPAY_API_SECRET> | base64
    
  4. Use the base64-encoded output as your AUTH_HEADER value

For the local server, use API Key and Secret directly.

Configuration Options

  • TOOLSETS (optional): Comma-separated list of toolsets to enable (default: "all")
  • READ_ONLY (optional): Run server in read-only mode (default: false)
  • LOG_FILE (optional): Path to log file for server logs

Remote vs Local Server

Remote Server Benefits (Recommended):

  • Zero setup required
  • Always updated with latest features
  • High availability (99.9% uptime)
  • Enhanced security with automatic token rotation

Local Server: Use if you need access to all tools (some are restricted in remote server) or prefer running on your own infrastructure.

This server runs through your single 1Server connection. No extra config required.

0Installs
219Stars

Categories

PaymentAPIfinance

Tags

Official