Skip to main content
Glama

stripekit

npm CI license docs

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.

Documentation →

Repository layout

Path

What it is

packages/stripekit

The stripekit npm package — CLI + config API.

examples/playground

A scratch project to try stripekit against a Stripe test account.

docs

The VitePress documentation site.

DESIGN.md

The MVP design: CLI surface, config schema, generated code, build order.

Related MCP server: Cloud DevOps MCP Server

Status

Built and tested: stripekit init | plan | push | pull | dev | check | mcp.

  • 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.

  • 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.

  • dev — wraps stripe listen to forward webhooks locally and capture the signing secret.

  • check — a doctor that verifies keys, config validity, config-vs-account drift, and webhook/portal wiring.

There's also a VitePress docs site with a landing page — run pnpm docs:dev. Roadmap (see DESIGN.md): init support beyond Next.js and richer catalog features.

See the package README for usage.

For AI agents

stripekit is built to be driven by agents, not just humans:

  • llms.txt and llms-full.txt — the docs as clean markdown for LLM context.

  • SKILL.md — point your coding agent at this and it can set stripekit up for you.

  • stripekit mcp — an MCP server exposing plan/push/pull/check as tools an agent can call.

  • Every command accepts --json and --yes for deterministic, non-interactive use.

Install the MCP server one-click in Cursor:

Add to Cursor

…or in Claude Code as a plugin:

/plugin marketplace add rafaelcg/stripekit
/plugin install stripekit@stripekit-marketplace

See the MCP docs for other clients (Claude Desktop, .cursor/mcp.json, claude mcp add).

Working on stripekit? See AGENTS.md.

Develop

pnpm install
pnpm -C packages/stripekit build      # bundle CLI + types
pnpm -C packages/stripekit test       # unit + integration tests
pnpm -C packages/stripekit typecheck

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides deterministic local development tools over stdio MCP, including repository mapping, code review, secret and dependency scanning, release checks, whitelisted checks, scaffolding, and workflow state tracking.
      229 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI clients to assess infrastructure-as-code deployment risk, generate incident response runbooks, review CI/CD delivery readiness, and calculate SLO error budgets through structured advisory tools. Runs locally over stdio without cloud credentials or external API calls, returning guidance for platform work, pull request review, and production readiness checks.
      12
      120 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes 11 agent-native QA tools over stdio so coding agents can discover a project, analyze risk, select the smallest relevant test set, generate and dry-run tests, triage failures, propose tiered heals, analyze flakes, generate quality reports, and evaluate release readiness. Planning and healing tools stay read-only or propose-only, while execution defaults to dry-run, keeping agent actions safe and evidence-backed.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes four stdio tools that let an agent research an application's documented interface, produce a validated single-use plan, and execute read-only operations against public HTTP JSON APIs, static HTML/JSON/text sources, and host-configured CLIs. Runs in-process with no listening port, accounts, or model dependency, returning bounded results while keeping inputs and outputs inside a host-enforced research-plan-execute lifecycle.
      MIT