Churnkey

co.churnkeyPublished by churnkey.coOfficial publisherv2.4.1Updated Nov 3, 2026

Read and manage Churnkey cancel flows, retention metrics, and payment recovery

VerifiedStreamable HTTPWeb executableData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Churnkey's hosted MCP server that lets an AI assistant read and manage cancel flows, retention metrics and payment recovery data.

What you can do
  • Query Churnkey data such as cancellation sessions, analytics and data subject requests
  • Read and manage cancel flows and retention metrics
  • Work with payment recovery information in the Churnkey account
  • Connect from Claude, Cursor and other MCP-capable agents
When to use it
Useful when you already run Churnkey for subscription cancellation flows and want an assistant to look up retention numbers, sessions or recovery data, or to adjust cancel flows, without opening the dashboard.
Requirements
A remote streamable HTTP endpoint at mcp.churnkey.co with OAuth sign-in to a Churnkey account. The README also mentions a Data API key for the npm package variant; no environment variables or headers are declared in the manifest.
Before you install
The server can manage cancel flows and payment recovery, so assistant actions may change live retention configuration or billing-related settings. Access is tied to your Churnkey account through OAuth; review what the connected account is allowed to do before granting it.

Installation

In SourceWeft

  1. Open Churnkey in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/co.churnkey%2Fchurnkey/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "churnkey": {
      "type": "http",
      "url": "https://mcp.churnkey.co/mcp"
    }
  }
}

README

Churnkey SDK

A production-ready cancel flow for React. Open source. Optionally connects to Churnkey for analytics and AI-powered retention.

Packages

PackageDescription
@churnkey/reactThe cancel flow. Drop-in component, headless hook, or core state machine. React 18 and 19.
@churnkey/nodeServer-side token generation. Only needed if Churnkey is handling billing actions for you, or if you're using the hosted embed.
@churnkey/mcpModel Context Protocol server. Lets Claude, Cursor, and other AI agents query your Churnkey data (sessions, analytics, DSR) using a Data API key.

Quick start

bash
npm install @churnkey/react
tsx
import { CancelFlow } from '@churnkey/react'import '@churnkey/react/styles.css'
<CancelFlow  steps={[    {      type: 'survey',      title: 'Why are you leaving?',      reasons: [        {          id: 'expensive',          label: 'Too expensive',          offer: { type: 'discount', couponId: 'STRIPE_SAVE20', percentOff: 20, durationInMonths: 3 },        },        { id: 'not-using', label: 'Not using it enough', offer: { type: 'pause', months: 2 } },        { id: 'missing', label: 'Missing features' },      ],    },    { type: 'feedback', title: 'Anything else?' },    { type: 'confirm' },  ]}  handleDiscount={async (offer) => myBilling.applyCoupon(offer.couponId)}  handlePause={async (offer) => myBilling.pause({ months: offer.result?.months ?? offer.months })}  handleCancel={async () => myBilling.cancel()}  onClose={() => setOpen(false)}/>

Documentation and resources

Repo layout

sdk/├── packages/│   ├── react/      @churnkey/react│   ├── node/       @churnkey/node│   └── mcp/        @churnkey/mcp├── apps/│   └── playground/ internal dev playground└── scripts/        release + tooling helpers

Local development

bash
pnpm installpnpm --filter @churnkey/react buildpnpm --filter @churnkey/react test

To work against the playground:

bash
pnpm --filter @churnkey/react dev    # rebuilds on changepnpm --filter @churnkey/playground dev   # runs the playground app

Releasing

A merge to main that raises a package's package.json version publishes it. In the PR:

  1. Bump version in the package's package.json.
  2. Move the Unreleased entries in its CHANGELOG.md under a ## <version> - <date> heading. That section becomes the GitHub release notes.
  3. Move the copies of the version kept in code: server.json and src/server.ts for @churnkey/mcp, src/index.ts for @churnkey/node. The release plan refuses to run while they disagree with package.json.

On merge, the Release workflow checks out the commit that set the version (the merge or squash commit on main; rebase merging is off for this reason), runs the CI gate, publishes that build to npm with provenance, tags it <name>@<version> and creates the GitHub release. For @churnkey/mcp it then runs the registry publish. A merge that does not change a version publishes nothing. Prereleases and versions below the current latest are left alone; publish those by hand with --tag.

A release that stops partway is finished by running the Release workflow again from main: the plan picks up any package whose npm version, tag or release is missing and skips the parts that already landed. Manual runs from other branches do nothing.

Publishing authenticates with npm trusted publishing, so there is no npm token in this repo. Each package lists this repo's release.yml with the release environment as its trusted publisher in its settings on npmjs.com. That environment only deploys from main.

License

MIT

Source: README.md at commit 5f3a785

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

3
  1. v2.4.1LatestNov 3, 2026
  2. v2.4.0Oct 29, 2026
  3. v2.3.0Sep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts