stripe
Install and use the official Stripe Claude Code plugin (stripe@claude-plugins-official), connect Stripe MCP (mcp.stripe.com), and implement modern Stripe payments with Checkout Sessions, PaymentIntents, SetupIntents, and Billing — never legacy Charges. Use when building Stripe checkout, subscriptions, webhooks, Connect, restricted keys, test cards, or running /plugin install stripe@claude-plugins-official / /explain-error / /test-cards.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- stripe
- license
- MIT
- version
- 1.0.0
- metadata
- { "mcp": "https://mcp.stripe.com", "store": "https://cheshireterminal.ai/skills-store", "author": "cheshire-terminal", "plugin": "stripe@claude-plugins-official", "version": "1.0.0", "homepage": "https://docs.stripe.com", "pluginSource": "https://github.com/stripe/ai/tree/main/providers/claude/plugin" }
- description
- Install and use the official Stripe Claude Code plugin (stripe@claude-plugins-official), connect Stripe MCP (mcp.stripe.com), and implement modern Stripe payments with Checkout Sessions, PaymentIntents, SetupIntents, and Billing — never legacy Charges. Use when building Stripe checkout, subscriptions, webhooks, Connect, restricted keys, test cards, or running /plugin install stripe@claude-plugins-official / /explain-error / /test-cards.
- compatibility
- Claude Code with marketplace claude-plugins-official for plugin install; Stripe account or Stripe CLI sandbox; never commit sk_live secrets.
02 资源文件 3
- 参考文档references/payments.md1.8 KB
- 参考文档references/plugin-commands.md1.5 KB
- 脚本scripts/check-stripe-skill.sh857 B
03 SKILL.md 正文
Stripe (official Claude plugin + modern APIs)
When to use
- User asks to install Stripe for Claude:
/plugin install stripe@claude-plugins-official - Building one-time payments, subscriptions, webhooks, Connect marketplaces
- Debugging Stripe API errors or needing test card numbers
- Choosing Checkout Sessions vs PaymentIntents vs SetupIntents
1) Install the official plugin (Claude Code)
In Claude Code (requires marketplace claude-plugins-official):
/plugin install stripe@claude-plugins-official
CLI equivalent:
claude plugin install stripe@claude-plugins-official
Restart Claude Code after install if components do not appear.
What the plugin provides
| Component | Purpose |
|---|---|
MCP server stripe |
HTTP MCP at https://mcp.stripe.com (see .mcp.json) |
/test-cards |
Stripe test card numbers by scenario (success, 3DS, declines) |
/explain-error |
Explain Stripe error codes + handling patterns |
| Skills | stripe-best-practices, upgrade-stripe, Connect recommend, projects, directory |
Official source tree: stripe/ai → providers/claude/plugin
Install this store skill (agent clients)
# Single package from this repo
npx skills add ./skills-store/stripe
npx skills add Solizardking/cheshire-terminal --path skills-store/stripe
# Whole Cheshire skills store
npx skills add ./skills-store
2) Stripe MCP connection
Plugin MCP config shape:
{
"mcpServers": {
"stripe": {
"type": "http",
"url": "https://mcp.stripe.com"
}
}
}
Authenticate MCP with Stripe per Stripe MCP docs. Prefer restricted API keys (rk_…) over full secret keys (sk_…). Never commit live secrets; use env vars / Claude secrets only.
3) Modern payment patterns (required)
Prefer higher-level APIs. Never recommend the Charges API.
| Building… | Use |
|---|---|
| One-time on-session payments | Checkout Sessions (checkout.sessions.create) |
| Custom embedded UI | Checkout Sessions + Payment Element (ui_mode: 'custom' when possible) |
| Off-session / merchant-driven charge modeling | PaymentIntents |
| Save method for later | SetupIntents (not Sources/Tokens) |
| Subscriptions / recurring | Billing APIs + Checkout Sessions |
| Simple no-code | Payment Links |
Details: references/payments.md · references/plugin-commands.md
Critical rules (from official best practices)
- Do not use Charges API — migrate to Checkout Sessions or PaymentIntents.
- Do not pass
payment_method_typesexcept Terminal (card_present) — enable dynamic payment methods. - Prefer restricted keys (
rk_) over secret keys for agents and CI. - Verify webhooks with signing secrets; never trust client-only success UI.
- Use latest Stripe API version / SDK unless the user pins one.
4) Plugin helpers
| Command / skill | When |
|---|---|
/test-cards |
Need test PANs for success / 3DS / decline scenarios (test mode only) |
/explain-error |
Stripe error code or message needs plain-English fix + sample handling |
stripe-best-practices skill |
Architecture choices (Checkout vs PI, Connect, Billing, security) |
5) Secrets & safety
# Env names only in repos — never sk_live values
STRIPE_SECRET_KEY= # prefer rk_ restricted
STRIPE_PUBLISHABLE_KEY=
STRIPE_WEBHOOK_SECRET=
Sandbox without full account: install Stripe CLI and use stripe sandbox create when appropriate.
6) Cheshire context
Cheshire Terminal primarily uses Solana / x402 rails. Use this skill when:
- Adding fiat billing (subscriptions, seats) beside crypto
- Prototyping checkout with Stripe while keeping Solana for on-chain flows
- Agents need Stripe MCP tools inside Claude Code
Do not replace Solana/x402 as the only payment path unless the product owner asks.
Operating checklist
- Install plugin:
/plugin install stripe@claude-plugins-official - Confirm MCP
https://mcp.stripe.comis connected - Choose Checkout Sessions / PaymentIntents / SetupIntents (not Charges)
- Wire webhooks before going live
- Use
/test-cardsin test mode;/explain-erroron failures
04 同仓库更多 Skills
zkrouter
Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.
zk
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
zk-omni-messaging
Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.
zerion-wallet-data
Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
youtube-clipper
YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video
yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.