{
  "markdown": "[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/cashfree-cashfree-mcp-badge.png)](https://mseep.ai/app/cashfree-cashfree-mcp)\n\n# Cashfree MCP Server\n\nCashfree MCP server allows AI tools and agents to integrate with [Cashfree](https://www.cashfree.com/) APIs (Payment Gateway, Payouts, and SecureID) using the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction).\n\n## Setup\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/cashfree/cashfree-mcp.git\ncd cashfree-mcp\n```\n\n### Install Dependencies\n\nBefore 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:\n\n```bash\nnode -v\n# Should output v14.x or higher\n```\n\n#### Step 1: Install project dependencies\n\n```bash\nnpm install\n```\n\nThis will install all required packages listed in `package.json`.\n\n> 💡 If you're using `Node.js >=18`, you might face peer dependency issues with packages like `undici`. In that case, upgrade Node.js to `>=20.18.1` or adjust the package version if needed.\n\n#### Step 2: Build the project\n\n```bash\nnpm run build\n```\n\nThis compiles the source files to the `dist/` directory, which is required to run the MCP server.\n\n> 🛠️ If you see errors related to missing files in `/dist`, ensure you've run the build step successfully.\n\n\n## Configuration\n\nYou 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:\n\n### Claude\n\nAdd the following configuration block to your `claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"cashfree\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/cashfree-mcp/dist/index.js\"],\n      \"env\": {\n        \"PAYMENTS_APP_ID\": \"YOUR_PG_CLIENT_ID\",\n        \"PAYMENTS_APP_SECRET\": \"YOUR_PG_CLIENT_SECRET\",\n        \"PAYOUTS_APP_ID\": \"YOUR_PAYOUTS_CLIENT_ID\",\n        \"PAYOUTS_APP_SECRET\": \"YOUR_PAYOUTS_CLIENT_SECRET\",\n        \"TWO_FA_PUBLIC_KEY_PEM_PATH\": \"/path/to/public_key.pem\",\n        \"SECUREID_APP_ID\": \"YOUR_SECUREID_CLIENT_ID\",\n        \"SECUREID_APP_SECRET\": \"YOUR_SECUREID_CLIENT_SECRET\",\n        \"TOOLS\": \"pg,payouts,secureid\",\n        \"ENV\": \"sandbox\",\n        \"ELICITATION_ENABLED\": \"true\"\n      }\n    }\n  }\n}\n```\n\n### VS Code\n\nAdd the following configuration block to your VS Code settings\n\n```json\n{\n  \"mcp\": {\n    \"inputs\": [],\n    \"servers\": {\n      \"cashfree\": {\n        \"command\": \"node\",\n        \"args\": [\"/path/to/cashfree-mcp/dist/index.js\"],\n        \"env\": {\n          \"PAYMENTS_APP_ID\": \"YOUR_PG_CLIENT_ID\",\n          \"PAYMENTS_APP_SECRET\": \"YOUR_PG_CLIENT_SECRET\",\n          \"PAYOUTS_APP_ID\": \"YOUR_PAYOUTS_CLIENT_ID\",\n          \"PAYOUTS_APP_SECRET\": \"YOUR_PAYOUTS_CLIENT_SECRET\",\n          \"TWO_FA_PUBLIC_KEY_PEM_PATH\": \"/path/to/public_key.pem\",\n          \"SECUREID_APP_ID\": \"YOUR_SECUREID_CLIENT_ID\",\n          \"SECUREID_APP_SECRET\": \"YOUR_SECUREID_CLIENT_SECRET\",\n          \"TOOLS\": \"pg,payouts,secureid\",\n          \"ENV\": \"sandbox\",\n          \"ELICITATION_ENABLED\": \"true\"\n        }\n      }\n    }\n  }\n}\n```\n\n### API Credentials\n\nSet the following environment variables for each service:\n**Payment Gateway:**\n\n- `PAYMENTS_APP_ID`: Your Payment Gateway client ID\n- `PAYMENTS_APP_SECRET`: Your Payment Gateway client secret\n\n**Payouts:**\n\n- `PAYOUTS_APP_ID`: Your Payouts client ID\n- `PAYOUTS_APP_SECRET`: Your Payouts client secret\n- `TWO_FA_PUBLIC_KEY_PEM_PATH`: Path to your 2FA public key (required only if 2FA is enabled)\n\n**SecureID:**\n\n- `SECUREID_APP_ID`: Your SecureID client ID\n- `SECUREID_APP_SECRET`: Your SecureID client secret\n- `TWO_FA_PUBLIC_KEY_PEM_PATH`: Path to your 2FA public key (required only if 2FA is enabled)\n\n### Environment\n\n`ENV`: Set to `production` for production environment, `sandbox` for sandbox (default: `sandbox`)\n\n### Tools Configuration\n\n`TOOLS`: Comma-separated list of modules to enable. Available options:\n\n- `pg`: Payment Gateway APIs\n- `payouts`: Payouts APIs\n- `secureid`: SecureID APIs\n\n### Elicitation Configuration\n\n`ELICITATION_ENABLED`: Set to `true` to enable interactive parameter elicitation, `false` to disable (default: `false`)\n\nWhen 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.\n\n## Tools\n\nCashfree MCP has the following tools available, grouped by the product category\n\n### Payment Gateway (PG)\n\n| Tool Name                                                | Description                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |\n| **search**                                               | Search across the Cashfree Payments Developer Documentation.                                       |\n| **get-input-source-help**                               | Get comprehensive instructions for handling input source variable errors.                          |\n| **create-payment-link**                                  | Create a new payment link.                                                                         |\n| **fetch-payment-link-details**                           | View all details and status of a payment link.                                                     |\n| **cancel-payment-link**                                  | Cancel an active payment link. No further payments can be done against cancelled links             |\n| **get-orders-for-a-payment-link**                        | View all order details for a payment link.                                                         |\n| **create-order**                                         | Create orders with Cashfree to get a payment_sessions_id for transactions                          |\n| **get-order**                                            | Fetch order details using order_id                                                                 |\n| **get-order-extended**                                   | Get extended order data like address, cart, offers, customer details etc                           |\n| **get-eligible-payment-methods**                         | Get eligible payment methods for a given order amount and ID                                       |\n| **get-payments-for-an-order**                            | View all payment details for an order.                                                             |\n| **get-payment-by-id**                                    | View payment details of an order for a Payment ID.                                                 |\n| **create-refund**                                        | Initiate refunds.                                                                                  |\n| **get-all-refunds-for-an-order**                         | Fetch all refunds processed against an order.                                                      |\n| **get-refund**                                           | Fetch a specific refund processed on your Cashfree Account.                                        |\n| **get-all-settlements**                                  | Get all settlement details by specifying the settlement ID, settlement UTR, or date range.         |\n| **get-split-and-settlement-details-by-order-id-v2-0**    | Get split and settlement details, including settled/unsettled transactions for vendors in an order |\n| **get-settlements-by-order-id**                          | View all the settlements of a particular order.                                                    |\n| **get-disputes-by-order-id**                             | Get all dispute details by Order ID                                                                |\n| **get-disputes-by-payment-id**                           | Get all dispute details by Payment ID                                                              |\n| **get-disputes-by-dispute-id**                           | Get dispute details by Dispute ID                                                                  |\n| **accept-dispute-by-dispute-id**                         | Accept a dispute by its Dispute ID                                                                 |\n| **submit-evidence-to-contest-the-dispute-by-dispute-id** | Submit evidence to contest a dispute                                                               |\n| **simulate-payment**                                     | Simulate payment for testing. Requires prior order creation                                        |\n| **fetch-simulation**                                     | Fetch simulated payment details                                                                    |\n\n### Payouts\n\n| Tool Name                        | Description                                                                      |\n| -------------------------------- | -------------------------------------------------------------------------------- |\n| **standard-transfer-v2**         | Initiate an amount transfer at Cashfree Payments.                                |\n| **get-transfer-status-v2**       | Get the status of an initiated transfer.                                         |\n| **batch-transfer-v2**            | Initiate a batch transfer request at Cashfree Payments.                          |\n| **get-batch-transfer-status-v2** | Get the status of an initiated batch transfer.                                   |\n| **authorize**                    | Authenticate with the Cashfree system and obtain the authorization bearer token. |\n| **create-cashgram**              | Create a Cashgram.                                                               |\n| **deactivate-cashgram**          | Deactivate a Cashgram.                                                           |\n| **get-cashgram-status**          | Get the status of a created Cashgram.                                            |\n\n### SecureID\n\n| Tool Name                      | Description                                       |\n| ------------------------------ | ------------------------------------------------- |\n| **verify-name-match**          | Verify names with variations.                     |\n| **generate-kyc-link**          | Generate a verification form for KYC information. |\n| **get-kyc-link-status**        | Get the status of a KYC verification form.        |\n| **generate-static-kyc-link**   | Generate a static KYC link.                       |\n| **deactivate-static-kyc-link** | Deactivate a static KYC link.                     |\n\n## License\n\nThis project is licensed under the terms of the MIT open source license. Please refer to LICENSE for the full terms.\n\n## Documentation\n\nFor detailed API documentation, visit the [Cashfree API Documentation](https://docs.cashfree.com/reference/).\n\n## Support\n\nFor support, contact [care@cashfree.com](mailto:care@cashfree.com) or raise an issue in the [GitHub repository](https://github.com/cashfree/cashfree-mcp).\n",
  "bytes": 11204,
  "sha": "a8c00a0715c9eb6039b1b6d0c86c25cb2fabca650b71de5994cb40a927a9c16d",
  "repo_slug": "cashfree/cashfree-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_cashfree_cashfree_mcp_efa71e20/readme"
}