How to integrate Cashfree Payments MCP with Atomic Agent

Connect Atomic Agent to Cashfree Payments MCP. Collect pending payment for order 12345, initiate vendor payout for invoice inv9876, and more using natural language, with authentication handled for you.

Cashfree Payments MCP logoCashfree Payments MCP
Dcr Oauth

Cashfree Payments MCP 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

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Cashfree Payments.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Cashfree Payments account. See the Atomic Agent documentation for installation instructions.

Also integrate Cashfree Payments MCP with

How Atomic Agent connects to Cashfree Payments

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Cashfree Payments to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Cashfree Payments. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Cashfree Payments account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Cashfree Payments 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.

Use Cashfree Payments from Atomic Agent

With your account connected, ask Atomic Agent to work with Cashfree Payments in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Cashfree Payments MCP 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 Payments MCP server, the agents and LLMs can only access a fixed set of Cashfree Payments tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Cashfree Payments and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent 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 Payments tools.

Yes, absolutely. You can configure which Cashfree Payments 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 Payments data and credentials are handled as safely as possible.

Start with Cashfree Payments MCP.It takes 30 seconds.

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

Start building