RR 

razorpay/razorpay-mcp-server 是从 https://github.com/razorpay/razorpay-mcp-server. 导入的 MCP 服务器候选
概览
razorpay/razorpay-mcp-server 是从 https://github.com/razorpay/razorpay-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
Razorpay MCP 服务器是一款模型上下文协议(MCP)服务器,能够无缝集成 Razorpay API,为开发者和 AI 工具提供先进的支付处理能力。
快速启动
选择你喜欢的设置方式:
- 远程MCP服务器 - 由Razorpay托管,无需设置
- 本地MCP服务器 - 运行在自己的基础设施上
可用工具
目前,Razorpay MCP 服务器提供以下工具:
| 工具 | 描述 | API | 远程服务器支持 |
|---|---|---|---|
capture_payment |
将支付状态从授权更改为已捕获。 | 付款 | ✅ |
fetch_payment |
获取带有ID的付款详情 | 付款 | ✅ |
fetch_payment_card_details |
用于支付的取卡信息 | 付款 | ✅ |
fetch_all_payments |
通过筛选和分页获取所有付款 | 付款 | ✅ |
update_payment |
更新支付的备注字段 | 付款 | ✅ |
initiate_payment |
使用保存的支付方式发起付款,并附有订单和客户信息 | 付款 | ✅ |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Razorpay MCP Server (Official)
The Razorpay MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Razorpay APIs, enabling advanced payment processing capabilities for developers and AI tools.
Quick Start
Choose your preferred setup method:
- Remote MCP Server - Hosted by Razorpay, no setup required
- Local MCP Server - Run on your own infrastructure
Available Tools
Currently, the Razorpay MCP Server provides the following tools:
| Tool | Description | API | Remote Server Support |
|---|---|---|---|
capture_payment |
Change the payment status from authorized to captured. | Payment | ✅ |
fetch_payment |
Fetch payment details with ID | Payment | ✅ |
fetch_payment_card_details |
Fetch card details used for a payment | Payment | ✅ |
fetch_all_payments |
Fetch all payments with filtering and pagination | Payment | ✅ |
update_payment |
Update the notes field of a payment | Payment | ✅ |
initiate_payment |
Initiate a payment using saved payment method with order and customer details | Payment | ✅ |
resend_otp |
Resend OTP if the previous one was not received or expired | Payment | ✅ |
submit_otp |
Verify and submit OTP to complete payment authentication | Payment | ✅ |
create_payment_link |
Creates a new payment link (standard) | Payment Link | ✅ |
create_payment_link_upi |
Creates a new UPI payment link | Payment Link | ✅ |
fetch_all_payment_links |
Fetch all the payment links | Payment Link | ✅ |
安装
npx mcp-remote https://mcp.razorpay.com/mcp --header Authorization:${AUTH_HEADER}配置
{
"mcpServers": {
"rzp-mcp-server": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.razorpay.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Basic <Base64(key:secret)>"
}
}
}
}