How to integrate Cashfree MCP with Hermes

Connect Hermes to Cashfree MCP. Collect pending payment for order 12345, check vendor settlements for this week, and more using natural language, with authentication handled for you.

Cashfree logoCashfree
Dcr Oauth

Cashfree is a merchant payments platform that handles collection, payouts, subscriptions, settlements, refunds, and identity verification. Simplifies merchant money lifecycle management with unified, API-driven workflows.

38 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Cashfree account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Cashfree with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Cashfree with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Cashfree

Ask your agent to connect to Cashfree, or simply request any Cashfree-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Cashfree connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Cashfree or request any Cashfree-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Cashfree MCP server, and what's possible with it?

The Cashfree MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Cashfree account. It provides structured and secure access to payments, orders, refunds, settlements, and reports, so your agent can create payment links, manage orders, issue refunds, track settlements, and generate reconciliation reports on your behalf.

  • Payment links and orders: Have your agent create or cancel payment links, open payment orders, check their status, and review every payment attempt.
  • Refund and transaction tracking: Direct your agent to issue refunds, check refund progress, search transactions, and retrieve full payment details and timelines.
  • Settlement management: Let the agent check unsettled funds, settlement schedules, rates, limits, fees, eligibility, and the status of standard, vendor, or on-demand settlements.
  • Reports and reconciliation: Instruct your agent to generate transaction, settlement, refund, ledger, and reconciliation reports, monitor their status, and retrieve completed reports.
  • Sandbox payment testing: Have your agent simulate sandbox payments and check the results to test payment workflows.

Way Forward

With Cashfree connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS

Supported Tools

Every Cashfree action and event your agent gets out of the box.

Cancel payment link

USE WHEN: The user wants to cancel/deactivate an existing payment link so no further payments can be made.

Create order

USE WHEN: The user wants to create a payment order to accept a payment.

Create payment link

USE WHEN: The user wants to create a shareable payment link to collect money from customers.

Create refund

USE WHEN: The user wants to initiate a refund for a payment.

Download report

USE WHEN: A report has reached DONE status and the user wants the download URL.

Fetch payment link details

USE WHEN: The user wants to check the status or details of an existing payment link.

Fetch simulation

USE WHEN: The user wants to check the result of a simulated payment.

Generate recon report

USE WHEN: The user wants to generate a settlement reconciliation report.

Generate summary report

USE WHEN: The user wants to generate a transaction summary, settlement, refund, or ledger report.

Get instant settlement rates

USE WHEN: The user asks about the charge rate for instant/on-demand settlements.

Get merchant free trial credits

USE WHEN: The user asks about free trial credits for on-demand settlements.

Get next settlement date

USE WHEN: The user asks when the next settlement will happen or about settlement schedule.

Get on demand charges

USE WHEN: The user wants to preview charges/fees for an on-demand settlement withdrawal.

Get on demand daily limit

USE WHEN: The user asks about on-demand settlement withdrawal limits.

Get on demand eligible funds

USE WHEN: The user wants to know how much money can be withdrawn via on-demand settlement.

Get on demand settlement activation status

USE WHEN: The user asks if on-demand/instant settlements are available or activated.

Get order

USE WHEN: The user wants to check the status of an order or retrieve its payment session details.

Get order extended

USE WHEN: The user needs extended order information including address, cart items, offers, and customer details.

Get orders for a payment link

USE WHEN: The user wants to see all orders created against a specific payment link.

Get payment by

USE WHEN: The user wants to view details of a specific payment attempt on an order.

Get payment modes

USE WHEN: The user wants to filter transactions by payment method but you need the numeric code.

Get payments for an order

USE WHEN: The user wants to see all payment attempts made against a specific order.

Get refund

USE WHEN: The user wants to check the status of a specific refund.

Get report status

USE WHEN: You need to check if a report is ready for download.

Get settlement recon routes

USE WHEN: The user wants to generate a Flowwise Recon report and you need the gateway route names.

Get standard settlement details

USE WHEN: The user wants to track where settlement money is in the banking pipeline.

Get tool guide

USE WHEN: You are about to perform a multi-step task and need to know which tools to call and in what order.

Get transaction details

USE WHEN: The user wants to see the full details of a specific transaction including timeline, settlement, and gateway response.

Get unsettled amount

USE WHEN: The user asks about unsettled balance, money held by Cashfree, or pending settlements.

Get vendor settlement details

USE WHEN: The user wants to track where vendor settlement money is in the banking pipeline.

List reports

USE WHEN: The user wants to see previously generated reports or check if a report exists.

Search on demand settlements

USE WHEN: The user wants to search past on-demand/instant withdrawal settlements.

Search orders

Search for orders with filters OR fetch a specific order by ID

Search product docs

USE WHEN: The user asks about Cashfree Developer Documentation product features, API usage, integration guides, or how something works.

Search standard settlements

USE WHEN: The user wants to search settlement history, check settlement status, or find a specific settlement by UTR.

Search transactions

USE WHEN: The user wants to find, search, filter, or list payment transactions.

Search vendor settlements

USE WHEN: The user wants to search vendor split (Easy Split) settlement payouts.

Simulate payment

USE WHEN: The user wants to test/simulate a payment in sandbox mode.

FAQ

Frequently asked questions

With a standalone Cashfree MCP server, the agents and LLMs can only access a fixed set of Cashfree tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Cashfree and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Cashfree tools.

Yes, absolutely. You can configure which Cashfree scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Cashfree data and credentials are handled as safely as possible.

Start with Cashfree.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Cashfree tool your agent needs.Free to start.

Start building