无现金 MCP 服务器
Cashfree MCP 服务器允许 AI 工具和代理使用模型上下文协议 (MCP)与Cashfree API(支付网关、支付和安全 ID)集成。
设置
克隆存储库
安装依赖项
(需要 Node.js 14.x 或更高版本)
配置
您需要一个拥有 API 凭证的 Cashfree 帐户(我们支持沙盒密钥和生产密钥)。您可以在您喜欢的客户端中使用 Cashfree MCP,以下是一些示例配置:
克劳德
将以下配置块添加到您的claude_desktop_config.json
VS 代码
将以下配置块添加到您的 VS Code 设置中
API 凭证
为每个服务设置以下环境变量:支付网关:
PAYMENTS_APP_ID
:您的支付网关客户端 IDPAYMENTS_APP_SECRET
:您的支付网关客户端密钥
支出:
PAYOUTS_APP_ID
:您的付款客户端 IDPAYOUTS_APP_SECRET
:您的 Payouts 客户端密钥TWO_FA_PUBLIC_KEY_PEM_PATH
:2FA 公钥的路径(仅在启用 2FA 时才需要)
安全ID:
SECUREID_APP_ID
:您的 SecureID 客户端 IDSECUREID_APP_SECRET
:您的 SecureID 客户端密钥TWO_FA_PUBLIC_KEY_PEM_PATH
:2FA 公钥的路径(仅在启用 2FA 时才需要)
环境
ENV
:设置为production
表示生产环境,设置为sandbox
表示沙盒环境(默认值: sandbox
)
工具配置
TOOLS
:要启用的模块列表(以逗号分隔)。可用选项:
pg
: 支付网关 APIpayouts
:付款 APIsecureid
:SecureID API
工具
Cashfree MCP 提供以下工具,按产品类别分组
支付网关(PG)
工具名称 | 描述 |
---|---|
搜索 | 搜索 Cashfree Payments 开发者文档。 |
创建付款链接 | 创建新的付款链接。 |
获取付款链接详情 | 查看付款链接的所有详细信息和状态。 |
取消付款链接 | 取消有效的付款链接。取消的链接将无法再进行付款 |
获取订单付款链接 | 查看所有订单详情的付款链接。 |
创建订单 | 使用 Cashfree 创建订单以获取交易的 payment_sessions_id |
获取订单 | 使用 order_id 获取订单详情 |
获取订单扩展 | 获取扩展订单数据,如地址、购物车、优惠、客户详细信息等 |
获取符合条件的付款方式 | 获取给定订单金额和 ID 的合格付款方式 |
获取订单付款 | 查看订单的所有付款详情。 |
通过 ID 获取付款 | 查看付款 ID 的订单付款详情。 |
创建退款 | 开始退款。 |
获得订单全部退款 | 获取针对订单处理的所有退款。 |
获得退款 | 获取您 Cashfree 账户上已处理的特定退款。 |
获得全部和解 | 通过指定结算 ID、结算 UTR 或日期范围获取所有结算详情。 |
按订单 ID 获取拆分结算详情-v2-0 | 获取拆分和结算详情,包括订单中供应商的已结算/未结算交易 |
按订单 ID 获取结算 | 查看特定订单的所有结算。 |
按订单 ID 获取争议 | 通过订单ID获取所有争议详情 |
通过付款 ID 获取争议 | 通过付款 ID 获取所有争议详情 |
通过争议ID获取争议 | 通过争议ID获取争议详情 |
按争议 ID 接受争议 | 通过争议 ID 接受争议 |
按争议ID提交证据以对抗争议 | 提交证据以对抗争议 |
模拟支付 | 模拟付款进行测试。需要提前创建订单 |
获取模拟 | 获取模拟付款详情 |
支出
工具名称 | 描述 |
---|---|
标准传输-v2 | 在 Cashfree Payments 发起金额转账。 |
获取传输状态-v2 | 获取已启动传输的状态。 |
批量传输-v2 | 在 Cashfree Payments 发起批量转账请求。 |
获取批量传输状态-v2 | 获取已启动批量传输的状态。 |
授权 | 通过 Cashfree 系统进行身份验证并获取授权承载令牌。 |
创建现金汇票 | 创建 Cashgram。 |
停用现金汇款 | 停用 Cashgram。 |
获取现金状态 | 获取已创建的 Cashgram 的状态。 |
安全ID
工具名称 | 描述 |
---|---|
验证名称匹配 | 验证具有变体的名称。 |
生成 KYC 链接 | 生成 KYC 信息的验证表。 |
获取 KYC 链接状态 | 获取 KYC 验证表的状态。 |
生成静态 KYC 链接 | 生成静态 KYC 链接。 |
停用静态 kyc 链接 | 停用静态 KYC 链接。 |
执照
本项目遵循 MIT 开源许可证。请参阅许可证了解完整条款。
文档
有关详细的 API 文档,请访问Cashfree API 文档。
支持
如需支持,请联系care@cashfree.com或在GitHub 存储库中提出问题。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使 AI 工具和代理能够使用模型上下文协议与 Cashfree 的支付服务(支付网关、支付和安全 ID)集成,从而允许通过自然语言进行交易和账户管理。
Related MCP Servers
- AsecurityFlicenseAqualityImplements the Model Context Protocol to allow AI models to access and interact with blockchain data, including reading contract states, retrieving events, and accessing transaction information across various networks.Last updated -104530TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables AI agents to interact with the Flow blockchain through RPC calls, supporting account balances, script execution, transactions, domain resolution, and contract interactions.Last updated -82JavaScript
- -securityAlicense-qualityA Model Context Protocol server that provides comprehensive integration with PayPal's APIs, enabling seamless interaction with payment processing, invoicing, subscription management, and business operations through a standardized interface.Last updated -TypeScriptApache 2.0
- -securityFlicense-qualityA Model Context Protocol server that enables Claude AI to interact with Paybyrd's payment processing API, allowing for creating payment links, processing refunds, and retrieving order information.Last updated -5TypeScript