
Cashfree Mcp
io.github.cashfree由 GitHub 账号 cashfree 发布v1.0.0更新于 Oct 25, 2026
Cashfree MCP server for cashfree docs and APIs
概览
Cashfree MCP 服务器,让 AI 助手在本地进程中检索 Cashfree 文档,并调用支付网关、代付和 SecureID 接口。
- 可以做什么
- 检索 Cashfree 开发者文档,并获取支付网关输入参数错误的处理说明。创建、查看和取消支付链接,并列出链接下的订单。创建和查询订单、可用支付方式、支付记录、退款、结算与争议,并可接受或申诉争议。模拟并查询测试支付。发起单笔和批量代付、查询转账状态、获取授权令牌,以及创建、停用或查询 Cashgram 状态。通过 SecureID 校验姓名匹配,并生成、查询或停用 KYC 链接。
- 适用场景
- 适合在桌面 MCP 客户端中让助手处理 Cashfree 的支付、代付或身份核验事务,例如查阅文档、查看订单与结算,或准备退款和转账。建议先用沙箱凭据验证流程,再切换到生产环境。
- 运行要求
- 以 npm 包形式在本地运行,需要 Node.js(README 要求 v14 及以上,并提示较新 Node 需 20.18.1 或更高)。需要 Cashfree 账户及 API 凭据:PAYMENTS_APP_ID 与 PAYMENTS_APP_SECRET、PAYOUTS_APP_ID 与 PAYOUTS_APP_SECRET、SECUREID_APP_ID 与 SECUREID_APP_SECRET。需设置 ENV 为 sandbox 或 production,并用 TOOLS 指定启用的模块(pg、payouts、secureid)。仅在启用 2FA 时需要 TWO_FA_PUBLIC_KEY_PEM_PATH。
安装
在 SourceWeft 中
- 打开 控制台中的 Cashfree Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[MseeP.ai Security Assessment Badge]
Cashfree MCP Server
Cashfree MCP server allows AI tools and agents to integrate with Cashfree APIs (Payment Gateway, Payouts, and SecureID) using the Model Context Protocol (MCP).
Setup
Clone the Repository
Install Dependencies
Before installing, ensure you have Node.js v14.x or higher installed. If you're using nvm or brew, make sure the correct version is active:
Step 1: Install project dependencies
This will install all required packages listed in package.json.
💡 If you're using
Node.js >=18, you might face peer dependency issues with packages likeundici. In that case, upgrade Node.js to>=20.18.1or adjust the package version if needed.
Step 2: Build the project
This compiles the source files to the dist/ directory, which is required to run the MCP server.
🛠️ If you see errors related to missing files in
/dist, ensure you've run the build step successfully.
Configuration
You will need a Cashfree account with API credentials (we support both sandbox and production keys). You can use Cashfree MCP in your favorite client, some sample configurations are shown below:
Claude
Add the following configuration block to your claude_desktop_config.json
VS Code
Add the following configuration block to your VS Code settings
API Credentials
Set the following environment variables for each service: Payment Gateway:
PAYMENTS_APP_ID: Your Payment Gateway client IDPAYMENTS_APP_SECRET: Your Payment Gateway client secret
Payouts:
PAYOUTS_APP_ID: Your Payouts client IDPAYOUTS_APP_SECRET: Your Payouts client secretTWO_FA_PUBLIC_KEY_PEM_PATH: Path to your 2FA public key (required only if 2FA is enabled)
SecureID:
SECUREID_APP_ID: Your SecureID client IDSECUREID_APP_SECRET: Your SecureID client secretTWO_FA_PUBLIC_KEY_PEM_PATH: Path to your 2FA public key (required only if 2FA is enabled)
Environment
ENV: Set to production for production environment, sandbox for sandbox (default: sandbox)
Tools Configuration
TOOLS: Comma-separated list of modules to enable. Available options:
pg: Payment Gateway APIspayouts: Payouts APIssecureid: SecureID APIs
Elicitation Configuration
ELICITATION_ENABLED: Set to true to enable interactive parameter elicitation, false to disable (default: false)
When enabled, the MCP server will prompt users for missing required parameters instead of failing with validation errors. This provides a more interactive experience by asking users to provide values for required fields that weren't initially supplied.
Tools
Cashfree MCP has the following tools available, grouped by the product category
Payment Gateway (PG)
Payouts
SecureID
License
This project is licensed under the terms of the MIT open source license. Please refer to LICENSE for the full terms.
Documentation
For detailed API documentation, visit the Cashfree API Documentation.
Support
For support, contact [email protected] or raise an issue in the GitHub repository.
来源:README.md,提交 04a6278
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。