# Razorpay MCP MCP Server

> **Razorpay MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Razorpay MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/razorpay-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Razorpay enables merchants to inspect payments, orders, refunds, settlements, payouts, payment links, and QR code transactions directly from their dashboard data. Retrieve transaction details, review settlement reconciliation records, and track payment activity to simplify financial operations.

---

## Details

- Server ID: `razorpay-mcp`
- Version: 1.0.0
- Tools: 26
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Razorpay MCP has to be in the toolset
first. In order:

1. Add Razorpay MCP to your toolset at https://mewcp.com/mcp/razorpay-mcp
2. Connect your Razorpay MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If Razorpay MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `razorpay-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (26)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `detect_stack` _(read)_ — Detect the technology stack of a project based on file information. Returns language, framework, frontend framework, and package manager. IMPORTANT: Always…
- `fetch_all_instant_settlements` _(read)_ — Fetch all instant settlements with optional filtering, pagination, and payout details
- `fetch_all_orders` _(read)_ — Fetch all orders with optional filtering and pagination
- `fetch_all_payment_links` _(read)_ — Fetch all payment links with optional filtering by payment ID or reference ID.You can specify the upi_link parameter to filter by link type.
- `fetch_all_payments` _(read)_ — Fetch all payments with optional filtering and pagination
- `fetch_all_payouts` _(read)_ — Fetch all payouts for a bank account number
- `fetch_all_qr_codes` _(read)_ — Fetch all QR codes with optional filtering and pagination
- `fetch_all_refunds` _(read)_ — Use this tool to retrieve details of all refunds. By default, only the last 10 refunds are returned.
- `fetch_all_settlements` _(read)_ — Fetch all settlements with optional filtering and pagination
- `fetch_instant_settlement_with_id` _(read)_ — Fetch details of a specific instant settlement using its ID
- `fetch_multiple_refunds_for_payment` _(read)_ — Use this tool to retrieve multiple refunds for a payment. By default, only the last 10 refunds are returned.
- `fetch_order` _(read)_ — Fetch an order's details using its ID
- `fetch_order_payments` _(read)_ — Fetch all payments made for a specific order in Razorpay
- `fetch_payment` _(read)_ — Use this tool to retrieve the details of a specific payment using its id. Amount returned is in paisa
- `fetch_payment_card_details` _(read)_ — Use this tool to retrieve the details of the card used to make a payment. Only works for payments made using a card.
- `fetch_payment_link` _(read)_ — Fetch payment link details using it's ID. Response contains the basic details like amount, status etc. The link could be of any type(standard or UPI)
- `fetch_payments_for_qr_code` _(read)_ — Fetch all payments made on a QR code
- `fetch_payout_with_id` _(read)_ — Fetch a payout's details using its ID
- `fetch_qr_code` _(read)_ — Fetch a QR code's details using it's ID
- `fetch_qr_codes_by_customer_id` _(read)_ — Fetch all QR codes for a specific customer
- `fetch_qr_codes_by_payment_id` _(read)_ — Fetch all QR codes for a specific payment
- `fetch_refund` _(read)_ — Use this tool to retrieve the details of a specific refund using its id.
- `fetch_settlement_recon_details` _(read)_ — Fetch settlement reconciliation report for a specific time period
- `fetch_settlement_with_id` _(read)_ — Fetch details of a specific settlement using its ID
- `fetch_specific_refund_for_payment` _(read)_ — Use this tool to retrieve details of a specific refund made for a payment.
- `integrate_razorpay_checkout` _(read)_ — Complete Razorpay Standard Checkout integration. Returns ALL code needed - backend routes, frontend integration, and payment verification. IMPORTANT: Before…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/razorpay-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/razorpay-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/razorpay-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/razorpay-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/razorpay-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/razorpay-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/razorpay-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/razorpay-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/razorpay-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/razorpay-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/razorpay-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/razorpay-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/razorpay-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/razorpay-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/razorpay-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/razorpay-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/razorpay-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/razorpay-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/razorpay-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/razorpay-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/razorpay-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/razorpay-mcp/connect/junie
- Amp: https://mewcp.com/mcp/razorpay-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/razorpay-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/razorpay-mcp/connect/goose
- Python: https://mewcp.com/mcp/razorpay-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/razorpay-mcp/connect/typescript