Cashfree MCP Server

Integrate Cashfree’s payment, payouts, and identity APIs into your AI workflows with the Cashfree MCP Server for streamlined financial automation.

Cashfree MCP Server

What does “Cashfree” MCP Server do?

The Cashfree MCP (Model Context Protocol) Server enables AI tools and agents to seamlessly integrate with Cashfree APIs, including Payment Gateway, Payouts, and SecureID. By acting as a bridge between AI assistants and Cashfree’s robust suite of financial APIs, it empowers developers to automate and streamline payment processing, payouts, and identity verification workflows within their development environment. The server exposes these functionalities as MCP tools, allowing AI-driven applications to create and manage payment links, process payouts, and interact with secure identity services. This integration enhances productivity by allowing database queries, API interactions, and other financial operations directly from the AI assistant, saving time and reducing manual effort.

List of Prompts

No prompt templates are mentioned in the repository.

List of Resources

No explicit MCP resources are listed in the documentation or repository.

List of Tools

The Cashfree MCP Server provides the following tools, grouped by product category:

  • Payment Gateway (PG)
    • search: Search across the Cashfree Payments Developer Documentation.
    • 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, disabling future payments.

Other modules are referenced (payouts, secureid) but tool details are not provided in the documentation.

Use Cases of this MCP Server

  • Automated Payment Link Generation
    AI agents can create payment links on-demand for customers or business operations, streamlining sales and collections processes.
  • Payment Status Tracking
    Developers can fetch and monitor the status and details of existing payment links directly from their development environment.
  • Payment Link Management
    Cancel active payment links automatically if a transaction is no longer needed or a customer cancels an order.
  • Documentation Search
    Instantly search Cashfree developer documentation via AI, speeding up troubleshooting and integration tasks.

Other potential use cases (such as payouts or SecureID) are implied but not detailed.

How to set it up

Windsurf

No Windsurf-specific setup instructions are provided.

Claude

  1. Ensure Node.js 14.x or higher is installed.
  2. Clone the repository and install dependencies:
    git clone https://github.com/cashfree/cashfree-mcp.git
    cd cashfree-mcp
    npm install
    
  3. Add the following block to claude_desktop_config.json:
    {
        "mcpServers": {
            "cashfree": {
                "command": "node",
                "args": ["/path/to/cashfree-mcp/src/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"
                }
            }
        }
    }
    
  4. Save and restart Claude.
  5. Verify the MCP server is running and responding.

Securing API Keys

Set sensitive values (like API keys and secrets) using environment variables in the env object as shown above.

Cursor

No Cursor-specific setup instructions are provided.

Cline

No Cline-specific setup instructions are provided.

VS Code

  1. Ensure Node.js 14.x or higher is installed.
  2. Clone the repository and install dependencies.
  3. Add the following configuration to your VS Code settings:
    {
        "mcp": {
            "inputs": [],
            "servers": {
                "cashfree": {
                    "command": "node",
                    "args": ["/path/to/cashfree-mcp/src/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"
                    }
                }
            }
        }
    }
    
  4. Save and restart VS Code.
  5. Confirm the server is running and accessible.

Securing API Keys

Sensitive information is stored in the env section of your configuration, as in the examples above.

How to use this MCP inside flows

Using MCP in FlowHunt

To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

FlowHunt MCP flow

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:

{
  "cashfree": {
    "transport": "streamable_http",
    "url": "https://yourmcpserver.example/pathtothemcp/url"
  }
}

Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “cashfree” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.


Overview

SectionAvailabilityDetails/Notes
OverviewCashfree MCP server integrates with Cashfree APIs via MCP
List of PromptsNo prompt templates found
List of ResourcesNo MCP resources listed
List of ToolsPayment Gateway: search, create-payment-link, fetch, cancel
Securing API KeysVia env variables in config
Sampling Support (less important in evaluation)Not mentioned

Our opinion

Cashfree MCP Server provides a focused set of payment tools and excellent configuration examples for major AI platforms, but lacks details on prompt templates and MCP resources. Setup is well-documented for Claude and VS Code, but not for Windsurf, Cursor, or Cline. The toolset is practical for payment workflows, but broader MCP features like sampling and roots are not referenced. Overall, the server is solid for payment integrations, but not as feature-complete as some others.

MCP Score

Has a LICENSE
Has at least one tool
Number of Forks1
Number of Stars7

Frequently asked questions

What does the Cashfree MCP Server do?

It acts as a bridge between AI assistants and Cashfree APIs, enabling AI-driven apps to create and manage payment links, process payouts, and use identity verification directly from development tools or workflows like FlowHunt.

Which Cashfree tools are available in this MCP server?

The server exposes tools for the Payment Gateway (search documentation, create/fetch/cancel payment links). References are made to payouts and SecureID, but their specific tools are not documented.

How do I secure my API keys?

Store all sensitive API keys and secrets in the 'env' section of your MCP server configuration file as environment variables, never directly in code.

Can I use this MCP server for payouts or identity verification?

Yes, the MCP server is designed to support payouts and SecureID modules, but you’ll need to provide the relevant credentials and keys in your configuration. Tool details for these modules are not provided in the documentation.

How do I connect the Cashfree MCP to FlowHunt?

Add the MCP component to your FlowHunt flow, then set the configuration JSON with your server’s URL. This enables your AI agent to access all Cashfree MCP tools within your workflow.

Integrate Payments with Cashfree MCP Server

Boost your AI application's power by enabling secure, automated payment processing, payouts, and identity verification—directly from your AI agent.

Learn more