{
  "markdown": "# stripekit\n\n[![npm](https://img.shields.io/npm/v/stripekit.svg)](https://www.npmjs.com/package/stripekit)\n[![CI](https://github.com/rafaelcg/stripekit/actions/workflows/ci.yml/badge.svg)](https://github.com/rafaelcg/stripekit/actions/workflows/ci.yml)\n[![license](https://img.shields.io/npm/l/stripekit.svg)](./LICENSE)\n[![docs](https://img.shields.io/badge/docs-stripe.rafael.ltd-635bff)](https://stripe.rafael.ltd/)\n\n**The create-next-app of Stripe.** One command takes an app from zero to working payments on _your_ Stripe account: it provisions your catalog from a config file in your repo, and drops in correct-by-construction billing code you own. No hosted service. No revenue share. Nothing to depend on at runtime. Works identically whether a human or an agent runs it.\n\n**[Documentation →](https://stripe.rafael.ltd/)**\n\n## Repository layout\n\n| Path                                           | What it is                                                               |\n| ---------------------------------------------- | ------------------------------------------------------------------------ |\n| [`packages/stripekit`](./packages/stripekit)   | The `stripekit` npm package — CLI + config API.                          |\n| [`examples/playground`](./examples/playground) | A scratch project to try stripekit against a Stripe test account.        |\n| [`docs`](./docs)                               | The VitePress documentation site.                                        |\n| [`DESIGN.md`](./DESIGN.md)                     | The MVP design: CLI surface, config schema, generated code, build order. |\n\n## Status\n\nBuilt and tested: `stripekit init | plan | push | pull | dev | check | mcp`.\n\n- **Reconciler** (`plan` / `push` / `pull`) — reconciles your Stripe account to a declarative `stripe.config.ts` (products, prices, webhook endpoint, customer portal), treating prices as immutable, archiving instead of deleting, and converging idempotently.\n- **`init`** — scaffolds `stripe.config.ts` plus correct-by-construction billing code (webhook handler, state sync, checkout/portal routes) into a Next.js App Router app.\n- **`dev`** — wraps `stripe listen` to forward webhooks locally and capture the signing secret.\n- **`check`** — a doctor that verifies keys, config validity, config-vs-account drift, and webhook/portal wiring.\n\nThere's also a [VitePress docs site](./docs) with a landing page — run `pnpm docs:dev`. Roadmap (see `DESIGN.md`): `init` support beyond Next.js and richer catalog features.\n\nSee the [package README](./packages/stripekit#readme) for usage.\n\n## For AI agents\n\nstripekit is built to be driven by agents, not just humans:\n\n- **[llms.txt](https://stripe.rafael.ltd/llms.txt)** and **[llms-full.txt](https://stripe.rafael.ltd/llms-full.txt)** — the docs as clean markdown for LLM context.\n- **[SKILL.md](https://stripe.rafael.ltd/SKILL.md)** — point your coding agent at this and it can set stripekit up for you.\n- **`stripekit mcp`** — an [MCP](https://modelcontextprotocol.io) server exposing `plan`/`push`/`pull`/`check` as tools an agent can call.\n- Every command accepts `--json` and `--yes` for deterministic, non-interactive use.\n\nInstall the MCP server one-click in **Cursor**:\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=stripekit&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInN0cmlwZWtpdEBsYXRlc3QiLCJtY3AiXX0=)\n\n…or in **Claude Code** as a plugin:\n\n```bash\n/plugin marketplace add rafaelcg/stripekit\n/plugin install stripekit@stripekit-marketplace\n```\n\nSee the [MCP docs](https://stripe.rafael.ltd/cli/mcp) for other clients (Claude Desktop, `.cursor/mcp.json`, `claude mcp add`).\n\nWorking _on_ stripekit? See [AGENTS.md](./AGENTS.md).\n\n## Develop\n\n```bash\npnpm install\npnpm -C packages/stripekit build      # bundle CLI + types\npnpm -C packages/stripekit test       # unit + integration tests\npnpm -C packages/stripekit typecheck\n```\n\n## License\n\nMIT\n",
  "bytes": 3979,
  "sha": "b8e13da3170dd8b16106ebec05033ce7c001b025ab0975e2013dc28dd3428e7d",
  "repo_slug": "rafaelcg/stripekit",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_rafaelcg_stripekit_9d66f1bd/readme"
}