Stripekit

io.github.rafaelcg由 GitHub 账号 rafaelcg 发布v0.2.2更新于 Oct 24, 2026

Reconcile a declarative Stripe catalog and inspect your account — plan, push, pull, check.

已验证STDIO仅桌面开发者工具商业与电商

概览

AI 生成的概览

让助手通过 plan、push、pull 和 check 工具,将声明式 Stripe 商品目录与真实账户进行对账并检查。

可以做什么
Stripekit 将其对账器以 MCP 工具形式提供:plan、push、pull 和 check。plan 与 push 会依据仓库中的声明式 stripe.config.ts 将 Stripe 账户收敛到目标状态,涵盖商品、价格、webhook 端点和客户门户,价格视为不可变,删除改为归档。pull 读回账户状态,check 校验密钥、配置有效性、配置与账户的偏差以及 webhook/门户接线。命令支持 --json 和 --yes 以便非交互执行。
适用场景
适合助手需要初始化 Stripe 商品目录、使其与仓库中的配置文件保持同步,或审计配置与线上账户之间偏差的场景。适用于以代码方式管理 Stripe 商品和价格、并希望由代理执行对账的团队。
运行要求
通过 stdio 在本地运行,从 npm 包 stripekit 安装并用 npx 启动。需要 Node.js 以及带 API 密钥的 Stripe 账户;README 提到可用测试账户试用。清单中未声明任何环境变量或请求头。
安装前请注意
push 和 pull 会作用于真实 Stripe 账户,可能创建或归档商品、价格、webhook 端点和门户设置,建议先在测试账户上运行。需要 Stripe API 密钥,但清单中未声明,请确认其提供方式。README 还提到一个 dev 命令,会包装 stripe listen 以捕获 webhook 签名密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Stripekit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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

PathWhat it is
packages/stripekitThe stripekit npm package — CLI + config API.
examples/playgroundA scratch project to try stripekit against a Stripe test account.
docsThe VitePress documentation site.
DESIGN.mdThe MVP design: CLI surface, config schema, generated code, build order.

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:

bash
/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

bash
pnpm installpnpm -C packages/stripekit build      # bundle CLI + typespnpm -C packages/stripekit test       # unit + integration testspnpm -C packages/stripekit typecheck

License

MIT

来源:README.md,提交 fc3372d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分