---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Setu MCP connector

The Setu connector lets Claude, ChatGPT and other AI assistants create payment links, track refunds, fetch bills and pull transaction reports in Setu, with each person signed in as themselves and every action recorded in an audit log.

Source: https://elaichi.ai/connectors/setu/

## Facts

| | |
| --- | --- |
| Application | Setu |
| Category | Payment Gateway |
| AI tools | 20 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Setu is connected

- Create a Setu payment link for invoice 1042, 18,500 rupees.
- What's the status of yesterday's refund batch?
- Pull this month's transaction report for settled payments.

## Connect Setu in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Setu.
2. Optionally set Share with, then press Connect.
3. Paste a Setu API key. One person generates a token in Setu and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Setu tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Setu MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Setu MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Setu MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Setu MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Setu MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Setu MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Setu MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Setu to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Setu tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Setu through Elaichi

### Send a payment link after a call

Collections. Ask for a Setu payment link for a customer's outstanding amount and share it straight away. Later, check that link by its ID to see whether it has been paid.

### Pull the transaction report for month end

Finance. Request a Setu transaction report for a date range without logging in to a dashboard. Use it to reconcile collections against your books.

### Answer where a customer's refund is

Support. Look up a single Setu refund or a whole refund batch by its ID and tell the customer its status in plain words.

### Issue refunds for a batch of orders

Finance. Create a Setu refund batch for a list of cancelled or disputed payments in one ask. The person who requested it is named in the audit log.

### Fetch, fulfill and settle customer bills

Billing operations. Validate a customer, fetch their bill from a biller, then record fulfillment and settlement in Setu. You can also close out a bill that should no longer be payable by setting it to expire.

### Remind customers about bills on WhatsApp

Marketing. Create a Setu WhatsApp bill or start a WhatsApp campaign so customers get their bill and a way to pay where they already chat.

## Elaichi vs Zapier MCP vs Composio for Setu

All three can connect Setu to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Setu tools | Allow or restrict single Setu tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Setu call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Setu to Claude?

Connecting Setu to Claude takes two steps. First, connect Setu in Elaichi by pasting your Setu API key, then paste https://api.elaichi.ai/mcp into Claude under Customize, then Connectors, then Add. There is no OAuth application to register and no client ID or secret to generate.

### Does Setu work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Setu is connected in Elaichi, Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot and any other MCP client all use the same endpoint, https://api.elaichi.ai/mcp. You connect Setu once and every client can reach it.

### What can an AI agent actually do with my Setu data?

An AI agent connected to Setu can create and check payment links, create refund batches and look up refunds, pull transaction reports, and work through bills from fetch to fulfillment and settlement. It can also list billers, validate customers, send WhatsApp bills and campaigns, and run mock payments and settlements for testing. Short concrete asks, like a payment link for a named amount, work better than long paragraphs.

### Does connecting Setu give the AI access to everything in my Setu account?

No. An AI working through the Setu connector can only do what the connected Setu API key allows, and each person uses it through their own Elaichi sign-in. Elaichi can narrow that access with roles and restrictions, but it can never widen it beyond what Setu permits.

### Can my team share one Setu connection?

Yes. One person connects Setu in Elaichi and shares the connection with a team, so nobody else ever handles the Setu API key. Each teammate still signs in to Elaichi as themselves, so the audit log names exactly who created each payment link or refund.

### Can I stop an agent from issuing refunds or changing things in Setu?

Yes. Elaichi restricts Setu actions one by one, such as creating refund batches or settling bills, on a role or on one person. A restricted Setu action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a Setu connection when someone leaves?

When you offboard someone in Elaichi, their access to Setu ends at once. A shared Setu connection keeps working for everyone else on the team, and disconnecting Setu once in Elaichi removes it from every client.

### Does the Setu MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Setu is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Setu?

Yes. Both let Claude, ChatGPT or Cursor use Setu. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Setu call.

### How is Elaichi different from Composio for Setu?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Setu: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 20 Setu tools

Every tool below is callable through https://api.elaichi.ai/mcp once Setu is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Create a Setu auth token** (Create). Generate a Setu access token from a Bridge OAuth key (clientID and secret). The connector calls this automatically when connecting and every 20 minutes to refresh the token; call it directly only to check a key. Tokens are valid for 1800 seconds. Returns status, success and data (token, expiresIn).
- **Create a Setu payment link** (Create). Create a UPI DeepLinks payment link (a UPI deep link, short link and QR) that a customer can pay from any UPI app. Amounts are in paise. Returns data with platformBillID, paymentLink (upiID, shortURL, upiLink) and the bill details. Required: amountExactness, billerBillID.
- **Get single Setu payment link by ID** (Get). Get the payment status of a UPI DeepLinks payment link by its platformBillID. Returns data with status (BILL_CREATED, PAYMENT_SUCCESSFUL, PAYMENT_FAILED, CREDIT_RECEIVED, SETTLEMENT_SUCCESSFUL, SETTLEMENT_FAILED, BILL_EXPIRED), amount details, receipt and payment details. Required: id.
- **Create a Setu bill expiry** (Create). Expire an unpaid Setu bill or UPI DeepLinks payment link by its platformBillID so it can no longer be paid. Works for UPI DeepLinks links and BBPS BillCollect bills. Returns status and success. Required: platform_bill_id.
- **Create a Setu refund batch** (Create). Initiate a batch of full or partial refunds for one or more UPI DeepLinks payments, identified by bill ID. Returns data with batchID and per-refund results (refund ID, status, amounts) plus errors for items that failed validation. Required: refunds.
- **Get single Setu refund batch by ID** (Get). Get the status of a UPI DeepLinks refund batch by batch ID. Returns data with batchID and the refunds in the batch with their status (Created, Initiated, Success, Rejected, Failed) and amounts. Required: id.
- **Get single Setu refund by ID** (Get). Get the status of a single UPI DeepLinks refund by refund ID. Returns data with the refund id, bill ID, status, refund amount, type and timestamps. Required: id.
- **Create a Setu mock payment** (Create). Sandbox only: simulate a customer paying a UPI DeepLinks payment link so the bill moves to PAYMENT_SUCCESSFUL and notifications fire. Not available in production. Returns status, success and data with the mock UTR. Required: amount, destinationAccount, sourceAccount.
- **Create a Setu mock settlement** (Create). Sandbox only: simulate settlement of one or more paid UPI DeepLinks transactions so they move to SETTLEMENT_SUCCESSFUL. Not available in production. Returns an empty body on success. Required: transactions.
- **Create a Setu transaction report** (Create). Retrieve Setu transaction, settlement or refund report rows for UPI DeepLinks or BBPS BillCollect, for reconciliation. Filter by date range and bill status; page with pagination.cursor and limit (100-500). Requires the Partner ID to be set on the connection. Returns the rows and the next cursor. Required: productInstanceIDOfReport.
- **List all Setu billers** (List). List the BBPS billers available to this BBPS BillCollect product configuration. Returns data with each biller and its customer identifiers and categories.
- **Create a Setu bill fetch** (Create). Fetch the outstanding bills of a customer from a BBPS biller using the customer identifiers. Returns data with the customer, billFetchStatus and the bills (platformBillID, amount, due date, payment amount exactness). Required: billerProductInstanceID, customerIdentifiers.
- **Get single Setu bill by ID** (Get). Get a BBPS BillCollect bill by its Setu platformBillID, including its payment status. Returns data with the bill, status, receipt and settlement details. Required: id.
- **Get single Setu biller bill by ID** (Get). Get a BBPS BillCollect bill by the biller's own bill ID (billerBillID), optionally filtered by status. Returns data with the matching bill and its payment status. Required: id.
- **Create a Setu bill fulfilment** (Create). Request payment of a fetched BBPS bill by its platformBillID, passing the amount and payment details. Returns data with the bill status and receipt. Required: platform_bill_id, payment, transactionID.
- **Create a Setu bill settlement** (Create). Settle one or more paid BBPS bills to a settlement account. Returns status, success and data with the settlement result. Required: settlement.
- **Create a Setu customer validation** (Create). Validate a customer with a BBPS biller (validate and pay flow) using the customer identifiers before collecting payment. Returns data with the validated customer and validation status. Required: billerProductInstanceID, customerIdentifiers.
- **Create a Setu whatsapp bill** (Create). WhatsApp Collect: create a bill and send it to the customer on WhatsApp with a Pay Now UPI link. Production only (Setu has no WhatsApp Collect sandbox). Returns the send result. Required: bill, channels.
- **Create a Setu whatsapp bill fetch** (Create). WhatsApp Collect: fetch the latest bill from your system through your configured bill fetch API and send it to the customer on WhatsApp with a Pay Now link. Production only. Returns the send result. Required: bill, channels.
- **Create a Setu whatsapp campaign** (Create). WhatsApp Collect: upload a CSV to create or fetch bills in bulk and send them, or payment reminders, to customers on WhatsApp. Production only. Returns the campaign result. Required: name, channel, id, file.
