Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Read and manage Churnkey cancel flows, retention metrics, and payment recovery
Jump to setup instructionsUse the publisher endpoint below to connect directly. This snippet does not include provider authentication; complete any required credentials or OAuth in your client. A platform key does not authorize an external MCP.
Editor
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.churnkey.co/mcp"
}
}
}Merge the entry into your existing mcpServers object. Restart Cursor after saving.
Config available Settings can be generated; we haven’t run them.
Same catalog task: Analyze & visualize data.
Three.js 3D visualization MCP App Server
Same catalog task: Analyze & visualize data.
Chinese psychological assessments with guided questions, scoring, PDF reports, and user profiles.
Same catalog task: Analyze & visualize data.
AccuRanker SEO rank tracking MCP server: add keywords, list keywords and ranks.
Fetched from the repository for this visit.
A production-ready cancel flow for React. Open source. Optionally connects to Churnkey for analytics and AI-powered retention.
| Package | Description |
|---|---|
@churnkey/react | The cancel flow. Drop-in component, headless hook, or core state machine. React 18 and 19. |
@churnkey/node | Server-side token generation. Only needed if Churnkey is handling billing actions for you, or if you're using the hosted embed. |
@churnkey/mcp | Model Context Protocol server. Lets Claude, Cursor, and other AI agents query your Churnkey data (sessions, analytics, DSR) using a Data API key. |
npm install @churnkey/react
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)}
/>
@churnkey/react — full API reference, customization, headless usage, custom step types@churnkey/node — createToken and authHash@churnkey/mcp — MCP server for Claude / Cursor / Claude DesktopappId for analyticssdk/
├── packages/
│ ├── react/ @churnkey/react
│ ├── node/ @churnkey/node
│ └── mcp/ @churnkey/mcp
├── apps/
│ └── playground/ internal dev playground
└── scripts/ release + tooling helpers
pnpm install
pnpm --filter @churnkey/react build
pnpm --filter @churnkey/react test
To work against the playground:
pnpm --filter @churnkey/react dev # rebuilds on change
pnpm --filter @churnkey/playground dev # runs the playground app
A merge to main that raises a package's package.json version publishes it. In the PR:
version in the package's package.json.Unreleased entries in its CHANGELOG.md under a ## <version> - <date> heading. That section becomes the GitHub release notes.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.
MIT
Loading reviews...
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.
For maintainers
Send GitHub readers straight to setup instructions for their client. Copy the Markdown into your README; no account required.
[](https://www.mcpchannel.ai/discover/co-churnkey-churnkey?via=readme-badge#setup)