# MCP Server

Connect your AI to Churn Solution. The Churn Solution MCP server connects AI tools such as Claude and ChatGPT to your account. Once connected, the AI can read your cancel flow metrics, save rates, cancellation reasons, offer performance and sessions, with the same read access as your dashboard.

## Setup

**Claude**

**Free, Pro and Max plans**

1. **Discover connectors**

   Go to **Settings → Connectors** in Claude and click **Discover**.

2. **Connect Churn Solution**

   Search for **Churn Solution** and click **Connect**.

3. **Sign in**

   Sign in to Churn Solution.

![Connecting Churn Solution from the Claude connector directory](https://churnsolution.com/wp-content/themes/astra-child/assets/images/docs/claude-mcp-steps.gif)

**Team and Enterprise plans**

An Owner adds the connector once, then each member connects individually.

**For Owners**

1. **Open organization connectors**

   Go to **Organization settings → Connectors**.

2. **Add a custom connector**

   Click **Add**, then choose **Custom → Web**.

3. **Enter the server URL**

   Enter the URL below and click **Add**.

   ```txt
   https://mcp.churnsolution.com
   ```

**For members**

1. **Open connectors**

   Go to **Customize → Connectors**.

2. **Connect**

   Find the Churn Solution connector and click **Connect**.

3. **Sign in**

   Sign in to Churn Solution.
**ChatGPT**

Churn Solution is listed in the ChatGPT plugin directory, so there is nothing to configure.

1. **Browse the directory**

   Go to **Settings → Plugins** in ChatGPT and click **Browse directory**.

2. **Add Churn Solution**

   Search for **Churn Solution** and click **Add**.

3. **Sign in**

   Sign in to Churn Solution.

![Adding Churn Solution from the ChatGPT plugin directory](https://churnsolution.com/wp-content/themes/astra-child/assets/images/docs/chatgpt-mcp-steps.gif)
**Cursor**

1. **Open MCP settings**

   Open **View → Settings → Tools & MCP**.

2. **Paste this configuration**

   ```json
   {
     "mcpServers": {
       "churnsolution": {
         "url": "https://mcp.churnsolution.com"
       }
     }
   }
   ```

3. **Save and restart Cursor**

   The first time you use a Churn Solution tool, sign in.

![Adding the Churn Solution MCP server in Cursor](https://churnsolution.com/wp-content/themes/astra-child/assets/images/docs/cursor-mcp-steps.gif)
**VS Code (GitHub Copilot)**

1. **Create `.vscode/mcp.json`**

   In your workspace, create the file with this content.

   ```json
   {
     "servers": {
       "churnsolution": {
         "type": "http",
         "url": "https://mcp.churnsolution.com"
       }
     }
   }
   ```

2. **List servers**

   Open the command palette (`Cmd+Shift+P` on Mac, `Ctrl+Shift+P` on Windows/Linux) and run **MCP: List Servers**.

3. **Start and sign in**

   Start the Churn Solution server and sign in.

## Available tools

Once connected, the AI tool can call these read-only tools. Access follows your dashboard permissions.

| Tool | Description |
|---|---|
| `get_cancel_flow_metrics` | Overall performance metrics for your cancel flows |
| `get_cancel_flow_outcomes_by_flow` | Cancellation outcomes broken down for one cancel flow |
| `get_cancel_flow_revenue` | Revenue retained and lost through cancel flows |
| `get_cancel_flow_save_rate` | Save rate for your cancel flows |
| `list_cancel_flow_cancellation_reasons` | Reasons customers gave for cancelling |
| `list_cancel_flow_cancellation_reasons_by_plan` | Cancellation reasons grouped by plan |
| `list_cancel_flow_offer_performance` | How retention offers performed within cancel flows |
| `list_connections` | Billing and data integrations connected to your account |
| `list_plans` | Plans configured on your account |
| `search_cancel_flow_sessions` | Search individual cancel flow sessions |
