Cashfree MCP server for cashfree docs and APIs
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Cashfree MCP server allows AI tools and agents to integrate with Cashfree APIs (Payment Gateway, Payouts, and SecureID) using the Model Context Protocol (MCP).
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:
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.
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.
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:
Add the following configuration block to your claude_desktop_config.json
Add the following configuration block to your VS Code settings
Set the following environment variables for each service: Payment Gateway:
PAYMENTS_APP_ID: Your Payment Gateway client IDPAYMENTS_APP_SECRET: Your Payment Gateway client secretPayouts:
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)ENV: Set to production for production environment, sandbox for sandbox (default: sandbox)
TOOLS: Comma-separated list of modules to enable. Available options:
pg: Payment Gateway APIspayouts: Payouts APIssecureid: SecureID APIsELICITATION_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.
Cashfree MCP has the following tools available, grouped by the product category
| Tool Name | Description |
|---|---|
| search | Search across the Cashfree Payments Developer Documentation. |
| get-input-source-help | Get comprehensive instructions for handling input source variable errors. |
| create-payment-link | Create a new payment link. |
| fetch-payment-link-details | View all details and status of a payment link. |
| cancel-payment-link | Cancel an active payment link. No further payments can be done against cancelled links |
| get-orders-for-a-payment-link | View all order details for a payment link. |
| create-order | Create orders with Cashfree to get a payment_sessions_id for transactions |
| get-order | Fetch order details using order_id |
| get-order-extended | Get extended order data like address, cart, offers, customer details etc |
| get-eligible-payment-methods | Get eligible payment methods for a given order amount and ID |
| get-payments-for-an-order | View all payment details for an order. |
| get-payment-by-id | View payment details of an order for a Payment ID. |
| create-refund | Initiate refunds. |
| get-all-refunds-for-an-order | Fetch all refunds processed against an order. |
| get-refund | Fetch a specific refund processed on your Cashfree Account. |
| get-all-settlements | Get all settlement details by specifying the settlement ID, settlement UTR, or date range. |
| get-split-and-settlement-details-by-order-id-v2-0 | Get split and settlement details, including settled/unsettled transactions for vendors in an order |
| get-settlements-by-order-id | View all the settlements of a particular order. |
| get-disputes-by-order-id | Get all dispute details by Order ID |
| get-disputes-by-payment-id | Get all dispute details by Payment ID |
| get-disputes-by-dispute-id | Get dispute details by Dispute ID |
| accept-dispute-by-dispute-id | Accept a dispute by its Dispute ID |
| submit-evidence-to-contest-the-dispute-by-dispute-id | Submit evidence to contest a dispute |
| simulate-payment | Simulate payment for testing. Requires prior order creation |
| fetch-simulation | Fetch simulated payment details |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cashfree-mcp)<a href="https://allmcps.com/mcp/cashfree-mcp"><img src="https://allmcps.com/api/badge/cashfree-mcp?style=directory" alt="Cashfree MCP on AllMCPs" /></a>