- Support
- Run your account
Connect ExitLoop to Claude, Cursor and other AI tools (MCP)
Ask Claude, Cursor or another AI tool why customers cancel, how much revenue you saved and who might leave next.
In the appSettings → Developers
ExitLoop has an MCP server, so AI tools that support MCP can read your churn data and answer questions about it in plain language. It only reads: it can’t change subscriptions, apply discounts or cancel anything.
Create a key#
- Open Settings → Developers. Only the workspace owner can create keys.
- Click Create key, give it a name such as “Claude”, and choose Live or Test.
- Copy the secret key. It starts with el_sk_live_ or el_sk_test_ and is shown once.
A live key reads your real customers; a test key reads your Stripe test-mode data. The MCP server needs an active plan or trial.
Connect your AI tool#
The server address is https://www.exitloop.app/api/mcp. Your tool sends your key in an Authorization header as Bearer followed by the key. Use a tool that can connect to remote (HTTP) MCP servers with a custom header.
Claude Code
Run this in your terminal, with your key in place of el_sk_live_…:
claude mcp add --transport http exitloop https://www.exitloop.app/api/mcp --header "Authorization: Bearer el_sk_live_…"
Cursor and other tools with an mcpServers file
In Cursor, add this to ~/.cursor/mcp.json. Other tools that use an mcpServers settings file take the same entry:
{ "mcpServers": { "exitloop": { "url": "https://www.exitloop.app/api/mcp", "headers": { "Authorization": "Bearer el_sk_live_…" } } } }
Claude Desktop
Claude Desktop’s settings file starts local servers, so connect through the mcp-remote helper. In its mcpServers entry, set the command to npx with these arguments:
mcp-remote https://www.exitloop.app/api/mcp --header "Authorization: Bearer el_sk_live_…"
What your AI tool can look up#
- get_churn_summary: cancel flows opened, customers who stayed, cancellations, revenue saved and lost, and the top cancel reason. Covers the last 30 days unless you ask for another period.
- get_cancel_reasons: each cancel reason, how many customers picked it, and how many of them stayed or cancelled.
- get_recovered_revenue: monthly revenue kept by your cancel flows, plus failed-payment recovery: recovered, in progress, lost and your recovery rate.
- list_at_risk_customers: customers sorted by churn risk score (at risk, watch or healthy), with their plan and monthly revenue. Up to 50 at a time.
- list_recent_cancel_sessions: recent cancel flows with the customer, plan, reason, comment, offer shown and outcome. Up to 50 at a time, filtered by outcome if you like.
Things to ask#
- “Why did people cancel in the last 30 days?”
- “How much MRR did ExitLoop save me this month?”
- “Which customers are most likely to churn next?”
If it doesn’t connect#
- 401: the key is wrong, incomplete or revoked. Create a new key and paste it again.
- 402: your workspace has no active plan or trial. See pricing.
- 429: too many requests in a short time. Wait a minute and ask again.
- Seeing test customers instead of real ones? You connected a test key. Use a live key for real data. See Live and test mode.
Still stuck? Email us.
A person on the ExitLoop team reads every message and writes back from this address.
support@exitloop.app