Cashfree MCP Server

by cashfree

Not rated
GitHub

About

Integrate AI tools and agents with Cashfree's Payment Gateway, Payouts, and SecureID APIs.

Details

Author
cashfree
Categories
Developer Tools, Other, API, Finance

Setup

Install Cashfree MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/cashfree/cashfree-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

Cashfree MCP server allows AI tools and agents to integrate withCashfreeAPIs (Payment Gateway, Payouts, and SecureID) using theModel Context Protocol (MCP).

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

Before installing, ensure you haveNode.js v14.x or higherinstalled. If you're usingnvmorbrew, make sure the correct version is active:

This will install all required packages listed inpackage.json.

💡 If you're usingNode.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 thedist/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 yourclaude_desktop_config.json

{ "mcpServers": { "cashfree": { "command": "node", "args": ["/path/to/cashfree-mcp/dist/index.js"], "env": { "PAYMENTS_APP_ID": "YOUR_PG_CLIENT_ID", "PAYMENTS_APP_SECRET": "YOUR_PG_CLIENT_SECRET", "PAYOUTS_APP_ID": "YOUR_PAYOUTS_CLIENT_ID", "PAYOUTS_APP_SECRET": "YOUR_PAYOUTS_CLIENT_SECRET", "TWO_FA_PUBLIC_KEY_PEM_PATH": "/path/to/public_key.pem", "SECUREID_APP_ID": "YOUR_SECUREID_CLIENT_ID", "SECUREID_APP_SECRET": "YOUR_SECUREID_CLIENT_SECRET", "TOOLS": "pg,payouts,secureid", "ENV": "sandbox", "ELICITATION_ENABLED": "true" } } } }

Add the following configuration block to your VS Code settings

{ "mcp": { "inputs": [], "servers": { "cashfree": { "command": "node", "args": ["/path/to/cashfree-mcp/dist/index.js"], "env": { "PAYMENTS_APP_ID": "YOUR_PG_CLIENT_ID", "PAYMENTS_APP_SECRET": "YOUR_PG_CLIENT_SECRET", "PAYOUTS_APP_ID": "YOUR_PAYOUTS_CLIENT_ID", "PAYOUTS_APP_SECRET": "YOUR_PAYOUTS_CLIENT_SECRET", "TWO_FA_PUBLIC_KEY_PEM_PATH": "/path/to/public_key.pem", "SECUREID_APP_ID": "YOUR_SECUREID_CLIENT_ID", "SECUREID_APP_SECRET": "YOUR_SECUREID_CLIENT_SECRET", "TOOLS": "pg,payouts,secureid", "ENV": "sandbox", "ELICITATION_ENABLED": "true" } } } } }

Set the following environment variables for each service:Payment Gateway:

- PAYMENTS_APP_ID: Your Payment Gateway client ID
- PAYMENTS_APP_SECRET: Your Payment Gateway client secret

- PAYOUTS_APP_ID: Your Payouts client ID
- PAYOUTS_APP_SECRET: Your Payouts client secret
- TWO_FA_PUBLIC_KEY_PEM_PATH: Path to your 2FA public key (required only if 2FA is enabled)

- SECUREID_APP_ID: Your SecureID client ID
- SECUREID_APP_SECRET: Your SecureID client secret
- TWO_FA_PUBLIC_KEY_PEM_PATH: Path to your 2FA public key (required only if 2FA is enabled)

ENV: Set toproductionfor production environment,sandboxfor sandbox (default:sandbox)

TOOLS: Comma-separated list of modules to enable. Available options:

- pg: Payment Gateway APIs
- payouts: Payouts APIs
- secureid: SecureID APIs

ELICITATION_ENABLED: Set totrueto enable interactive parameter elicitation,falseto 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

This project is licensed under the terms of the MIT open source license. Please refer to LICENSE for the full terms.

For detailed API documentation, visit theCashfree API Documentation.

For support, contactcare@cashfree.comor raise an issue in theGitHub repository.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

The Pine Labs Online MCP Server implements the Model Context Protocol (MCP) to enable seamless integration between Pine Labs’ online payment APIs and AI tools. It allows AI assistants to perform Pine Labs Online API operations, empowering developers to build intelligent, AI-driven payment applications with ease.

Access the Yuno payment platform API to manage payments, customers, and checkouts programmatically.

A command-line tool for interacting with Shopify's Admin GraphQL API, Functions, and Polaris Web Components.

A Model Context Protocol (MCP) server for square

Discover and call hundreds of paid APIs from any MCP client using prepaid USDC credits — no wallet, no gas, no per-provider SDKs.

Interact with Juspay APIs for payment processing and merchant dashboard management.

Reverse proxy that adds Stripe billing and x402 crypto payments to any MCP server

Integrates with Stripe to manage payments, customers, and refunds.

Hosted, Stateless & Multitenant Razorpay MCP server enables AI assistants to manage payments, customers, subscriptions, invoices, and financial operations through Razorpay.

Hosted, Stateless & Multitenant Stripe MCP server enables AI assistants to manage payments, customers, subscriptions, invoices, and financial operations through Stripe.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.