cashfree avatar

Cashfree Mcp

cashfree/cashfree-mcp

Connects Claude to Cashfree's payment infrastructure across three products: Payment Gateway, Payouts, and SecureID. You get tools to create and manage payment links, process orders and refunds, fetch settlement details, handle disputes, and search their documentation. The server supports both sandbox and production environments with configurable modules, so you can enable only what you need. Includes an optional elicitation mode that prompts for missing parameters interactively instead of throwing validation errors. Useful when building payment flows, automating payout operations, or troubleshooting transactions without leaving your AI workflow. Requires API credentials for each service you want to use.

GitHub stars
13
tools
38
auth
Secret needed
transport
STDIO
env vars
9
last updated
Oct 22, 2025

Tools

38 tools

Public tool metadata for what this MCP can expose to an agent.

searchSearch across the Cashfree Payments Developer Documentation.

Search across the Cashfree Payments Developer Documentation.

No parameter schema in public metadata yet.

get-input-source-helpGet comprehensive instructions for handling input source variable errors.

Get comprehensive instructions for handling input source variable errors.

No parameter schema in public metadata yet.

create-payment-linkCreate a new payment link.

Create a new payment link.

No parameter schema in public metadata yet.

fetch-payment-link-detailsView all details and status of a payment link.

View all details and status of a payment link.

No parameter schema in public metadata yet.

cancel-payment-linkCancel an active payment link. No further payments can be done against cancelled links

Cancel an active payment link. No further payments can be done against cancelled links

No parameter schema in public metadata yet.

get-orders-for-a-payment-linkView all order details for a payment link.

View all order details for a payment link.

No parameter schema in public metadata yet.

create-orderCreate orders with Cashfree to get a payment_sessions_id for transactions

Create orders with Cashfree to get a payment_sessions_id for transactions

No parameter schema in public metadata yet.

get-orderFetch order details using order_id

Fetch order details using order_id

No parameter schema in public metadata yet.

get-order-extendedGet extended order data like address, cart, offers, customer details etc

Get extended order data like address, cart, offers, customer details etc

No parameter schema in public metadata yet.

get-eligible-payment-methodsGet eligible payment methods for a given order amount and ID

Get eligible payment methods for a given order amount and ID

No parameter schema in public metadata yet.

get-payments-for-an-orderView all payment details for an order.

View all payment details for an order.

No parameter schema in public metadata yet.

get-payment-by-idView payment details of an order for a Payment ID.

View payment details of an order for a Payment ID.

No parameter schema in public metadata yet.

create-refundInitiate refunds.

Initiate refunds.

No parameter schema in public metadata yet.

get-all-refunds-for-an-orderFetch all refunds processed against an order.

Fetch all refunds processed against an order.

No parameter schema in public metadata yet.

get-refundFetch a specific refund processed on your Cashfree Account.

Fetch a specific refund processed on your Cashfree Account.

No parameter schema in public metadata yet.

get-all-settlementsGet all settlement details by specifying the settlement ID, settlement UTR, or date range.

Get all settlement details by specifying the settlement ID, settlement UTR, or date range.

No parameter schema in public metadata yet.

get-split-and-settlement-details-by-order-id-v2-0Get split and settlement details, including settled/unsettled transactions for vendors in an order

Get split and settlement details, including settled/unsettled transactions for vendors in an order

No parameter schema in public metadata yet.

get-settlements-by-order-idView all the settlements of a particular order.

View all the settlements of a particular order.

No parameter schema in public metadata yet.

get-disputes-by-order-idGet all dispute details by Order ID

Get all dispute details by Order ID

No parameter schema in public metadata yet.

get-disputes-by-payment-idGet all dispute details by Payment ID

Get all dispute details by Payment ID

No parameter schema in public metadata yet.

get-disputes-by-dispute-idGet dispute details by Dispute ID

Get dispute details by Dispute ID

No parameter schema in public metadata yet.

accept-dispute-by-dispute-idAccept a dispute by its Dispute ID

Accept a dispute by its Dispute ID

No parameter schema in public metadata yet.

submit-evidence-to-contest-the-dispute-by-dispute-idSubmit evidence to contest a dispute

Submit evidence to contest a dispute

No parameter schema in public metadata yet.

simulate-paymentSimulate payment for testing. Requires prior order creation

Simulate payment for testing. Requires prior order creation

No parameter schema in public metadata yet.

fetch-simulationFetch simulated payment details

Fetch simulated payment details

No parameter schema in public metadata yet.

standard-transfer-v2Initiate an amount transfer at Cashfree Payments.

Initiate an amount transfer at Cashfree Payments.

No parameter schema in public metadata yet.

get-transfer-status-v2Get the status of an initiated transfer.

Get the status of an initiated transfer.

No parameter schema in public metadata yet.

batch-transfer-v2Initiate a batch transfer request at Cashfree Payments.

Initiate a batch transfer request at Cashfree Payments.

No parameter schema in public metadata yet.

get-batch-transfer-status-v2Get the status of an initiated batch transfer.

Get the status of an initiated batch transfer.

No parameter schema in public metadata yet.

authorizeAuthenticate with the Cashfree system and obtain the authorization bearer token.

Authenticate with the Cashfree system and obtain the authorization bearer token.

No parameter schema in public metadata yet.

create-cashgramCreate a Cashgram.

Create a Cashgram.

No parameter schema in public metadata yet.

deactivate-cashgramDeactivate a Cashgram.

Deactivate a Cashgram.

No parameter schema in public metadata yet.

get-cashgram-statusGet the status of a created Cashgram.

Get the status of a created Cashgram.

No parameter schema in public metadata yet.

verify-name-matchVerify names with variations.

Verify names with variations.

No parameter schema in public metadata yet.

generate-kyc-linkGenerate a verification form for KYC information.

Generate a verification form for KYC information.

No parameter schema in public metadata yet.

get-kyc-link-statusGet the status of a KYC verification form.

Get the status of a KYC verification form.

No parameter schema in public metadata yet.

generate-static-kyc-linkGenerate a static KYC link.

Generate a static KYC link.

No parameter schema in public metadata yet.

deactivate-static-kyc-linkDeactivate a static KYC link.

Deactivate a static KYC link.

No parameter schema in public metadata yet.

Sponsors

Configuration

PAYMENTS_APP_IDsecret

Payment Gateway App Id

PAYMENTS_APP_SECRETsecret

Payment Gateway App Secret

PAYOUTS_APP_IDsecret

Payouts App Id

PAYOUTS_APP_SECRETsecret

Payouts App Secret

TWO_FA_PUBLIC_KEY_PEM_PATH

Path to the PEM file containing the public key for verifying 2FA signatures

SECUREID_APP_IDsecret

SecureId App Id

SECUREID_APP_SECRETsecret

SecureId App Secret

TOOLS*

Tools (Comma-separated list of modules to enable. Available options: pg, payouts, secureid)

ENV*

Environment (production/sandbox default: sandbox)

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

git clone https://github.com/cashfree/cashfree-mcp.git
cd cashfree-mcp

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:

node -v
# Should output v14.x or higher
Step 1: Install project dependencies
npm install

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 like undici. In that case, upgrade Node.js to >=20.18.1 or adjust the package version if needed.

Step 2: Build the project
npm run build

View the full README on GitHub

Details

Repository
github.com/cashfree/cashfree-mcp
Package
@cashfreepayments/cashfree-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active