- Query the full lifecycle of any transaction by ID.
- Check your unsettled balance and next settlement date in real time.
- Generate and download settlement reconciliation reports using a natural language prompt.
- Evaluate on-demand settlement eligibility and calculate exact withdrawal charges.
- Create payment links directly from your AI client.
- Combine with other MCP-compatible tools such as Gmail, WhatsApp, or GitHub to build end-to-end payment workflows.
Set up the MCP Server
Prerequisites
Before you begin, ensure you have the following:- An active Cashfree Payments merchant account with owner-level access.
- The Claude Desktop application or a ChatGPT account that supports connectors or apps.
- Network access to
https://mcp.cashfree.comfrom your AI client.

Claude Desktop
Add Cashfree as a custom connector inside Claude Desktop.
Claude Desktop
Add Cashfree as a custom connector inside Claude Desktop.
Open connectors in Claude Desktop
- Log in to the Claude Desktop application.
- In the left navigation, select Customise.
- Select Connectors.
- Select the + icon, then select Add custom connector.
Add the Cashfree connector
- Enter a name for the connector.
-
In the MCP Server URL field, enter the following URL:
- Select Add.
Authenticate with Cashfree
- Select Connect. You are redirected to the Cashfree Merchant Dashboard.
- Log in with the merchant account that should have access.
- Complete the authentication flow and return to Claude Desktop. When the connection is successful, Cashfree tools are available in your Claude session.
ChatGPT
Connect via ChatGPT's Developer mode apps.
ChatGPT
Connect via ChatGPT's Developer mode apps.
Enable Developer mode
- Log in to ChatGPT.
- Select your profile icon, then select Settings.
- Select Apps and scroll to Advanced settings.
- Enable Developer mode.
Create the Cashfree app
- Go back to Settings > Apps and select Create App.
- Enter a name for the app, for example, Cashfree Payments.
-
In the MCP Server URL field, enter the following URL:
- In the Authentication field, select OAuth.
- Select Advanced OAuth settings and confirm that all OAuth endpoints are auto-filled.
- Select the I understand and want to continue checkbox.
- Select Create App.

Cursor
Add the Cashfree MCP server via the mcp.json configuration file.
Cursor
Add the Cashfree MCP server via the mcp.json configuration file.
mcp.json configuration file and authenticate with your merchant account.Open MCP settings in Cursor
- Open Cursor and select the gear icon to open Settings.
- Select Tools & Integrations in the left sidebar.
- Under MCP Tools, select Add Custom MCP. This opens the
mcp.jsonconfiguration file.
Authenticate with Cashfree
- Return to Settings > Tools & Integrations.
- Find the Cashfree entry under MCP Tools and select Needs login.
- A browser window opens and redirects you to the Cashfree Merchant Dashboard.
- Log in with the merchant account that should have access. After authentication, Cashfree tools are available in your Cursor session.

Claude Code
Add the server with a single CLI command.
Claude Code
Add the server with a single CLI command.
Authenticate with Cashfree
- In your Claude Code session, run the
/mcpcommand. - Select cashfree from the list of servers, then select Login.
- A browser window opens and redirects you to the Cashfree Merchant Dashboard.
- Log in with the merchant account that should have access. After authentication, Cashfree tools are available in your Claude Code session.
/mcp, select the server, and select Clear authentication.Verify your setup
After completing the configuration, follow these steps to confirm the MCP Server is working correctly.- Restart your MCP client to apply the configuration.
- Confirm that the Cashfree tools load without errors in your AI client.
- Run a test prompt such as: “Show me the full lifecycle of a recent transaction.” A successful response confirms that the connection is active.
Available tools
The MCP Server exposes tools grouped by product area. Use these tools to interact with the Merchant Dashboard and Payment Gateway from your AI agent or development environment.Merchant dashboard tools
Merchant dashboard tools
Transaction tools
The following tools let you query individual transactions, search orders, and retrieve the payment methods available on your account.| Tool name | Description |
|---|---|
get_transaction_details | View the complete lifecycle of a single transaction. |
search_transactions | Search for payment transactions matching given filters. |
search_orders | Search for orders matching given filters. |
get_payment_modes | Retrieve the merchant’s available payment method codes. |
search_product_docs | Search across Cashfree Payments product documentation. |
Settlement tools
The following tools cover standard scheduled settlements and on-demand instant withdrawals.| Tool name | Description |
|---|---|
get_unsettled_amount | Get the total unsettled amount held by Cashfree. |
get_next_settlement_date | Get the merchant’s next settlement date and holiday information. |
search_standard_settlements | Search standard (scheduled) settlements with filtering and pagination. |
get_standard_settlement_details | Get the real-time transfer timeline for specific settlements. |
get_on_demand_settlement_activation_status | Get the on-demand settlement activation status. |
get_on_demand_daily_limit | Get the on-demand settlement maximum daily limit. |
get_on_demand_eligible_funds | Get eligible funds for an on-demand settlement withdrawal. |
get_on_demand_charges | Calculate exact charges for a specific on-demand withdrawal amount. |
search_on_demand_settlements | Search on-demand (instant withdrawal) settlements. |
get_instant_settlement_rates | Get instant and on-demand settlement charge rates. |
get_merchant_free_trial_credits | Get merchant free trial credits for on-demand settlements. |
search_vendor_settlements | Search vendor (split) settlements with filtering and pagination. |
get_vendor_settlement_details | Get the real-time transfer timeline for specific vendor settlements. |
get_settlement_recon_routes | Get settlement reconciliation gateway routes. |
Report tools
The following tools let you generate, check the status of, and download settlement and summary reports.| Tool name | Description |
|---|---|
list_reports | List all previously generated reports for this merchant. |
generate_recon_report | Generate a settlement reconciliation report asynchronously. |
generate_summary_report | Generate a summary or download report asynchronously. |
get_report_status | Get report status and details (polling endpoint). |
download_report | Download a completed report with an auto-shortened URL. |
Payment gateway tools
Payment gateway tools
| Tool name | Description |
|---|---|
cancel_payment_link | Cancel an active payment link. Payments cannot be made after cancellation. |
create_order | Create an order to obtain a payment_session_id. |
create_payment_link | Create a new payment link. |
create_refund | Initiate a refund for a payment. |
fetch_payment_link_details | View details and the current status of a payment link. |
fetch_simulation | Retrieve details of a simulated payment. |
get_order | Fetch details of an order using the order ID. |
get_order_extended | Get additional order data, such as address, cart, and customer details. |
get_orders_for_a_payment_link | View all orders associated with a payment link. |
get_payment_by_id | View payment details using a payment ID. |
get_payments_for_an_order | View all payment attempts associated with an order. |
get_refund | Retrieve details of a specific refund. |
simulate_payment | Simulate a payment (requires a valid pre-created order). |
Use cases
The following use cases show how merchants can use the MCP Server to handle real operational tasks using natural language, without opening the Cashfree Merchant Dashboard or writing any code.Transaction and order management
The following scenarios show how the MCP Server helps you search, trace, and investigate transactions and orders.Trace a failed customer payment instantly
Trace a failed customer payment instantly
get_transaction_details to retrieve every state the transaction passed through, including the failure reason, payment mode, and timestamp.Find all failed orders in a date range
Find all failed orders in a date range
search_transactions and search_orders with the relevant filters and returns a list you can act on immediately.Check which payment methods are currently active
Check which payment methods are currently active
get_payment_modes to return the current list of active payment method codes for your merchant account.Settlement and cash flow
The following scenarios show how the MCP Server helps you monitor unsettled balances, track settlement timelines, and evaluate on-demand withdrawal options in real time.Check your cash position at the end of the day
Check your cash position at the end of the day
get_unsettled_amount and get_next_settlement_date to return your current unsettled balance, the next settlement date, and any bank holiday delays.Reconcile last week's settlements
Reconcile last week's settlements
search_standard_settlements with a date filter and returns a paginated list. For each settlement, you can follow up with get_standard_settlement_details to see the real-time transfer timeline.Decide whether to withdraw funds on demand
Decide whether to withdraw funds on demand
get_on_demand_eligible_funds to return available funds and then uses get_on_demand_charges to calculate the exact fee for the amount specified, so you can make an informed decision before initiating a withdrawal.Review on-demand settlement costs before enabling the feature
Review on-demand settlement costs before enabling the feature
get_instant_settlement_rates and get_merchant_free_trial_credits to return both values.Reporting
The following scenarios show how the MCP Server helps you generate, track, and download settlement and summary reports using a natural language prompt.Generate a month-end reconciliation report without logging in
Generate a month-end reconciliation report without logging in
generate_recon_report to trigger the report, polls get_report_status until it is ready, and then uses download_report to return a download link. No manual steps or dashboard access are required.Download a summary report for a specific date range
Download a summary report for a specific date range
generate_summary_report, polls for completion, and returns the download link.List all previously generated reports
List all previously generated reports
list_reports to return the full list with their statuses and generation dates.Payments and collections
The following scenarios show how the MCP Server helps you create and manage payment links, process refunds, and handle disputes directly from your AI client.Check the status of a payment link
Check the status of a payment link
fetch-payment-link-details to return the link status, expiry time, and whether a successful payment has been recorded against it.Find all orders placed through a payment link
Find all orders placed through a payment link
get-orders-for-a-payment-link to return every order associated with that link, including order IDs, amounts, and statuses. You can use this to reconcile collections from the campaign.Cancel a payment link before it is used
Cancel a payment link before it is used
cancel-payment-link to deactivate the link. No further payments can be made against it after cancellation.Investigate a customer dispute about a payment
Investigate a customer dispute about a payment
get-payments-for-an-order to return every attempt, including status, payment mode, and failure reason, so you can identify whether the payment succeeded, failed, or is pending.Process a refund and track its status
Process a refund and track its status
create-refund to submit the refund request. To check progress, ask: “What is the status of the refund for PAY456?” The agent uses get-refund to return the current status and expected credit date.Respond to a chargeback dispute
Respond to a chargeback dispute
get-disputes-by-order-id to retrieve the dispute details. If delivery was confirmed, ask: “Submit evidence to contest dispute DSP001, and attach the delivery confirmation.” The agent uses submit-evidence-to-contest-the-dispute-by-dispute-id to file the response.Test a payment flow in sandbox
Test a payment flow in sandbox
simulate-payment to trigger the simulation and fetch-simulation to return the result, so you can verify your integration without processing a real payment.