PluginPartly tested (needs an account)

Add payments with Stripe

Stripe AI Toolkit

Stripe's official plugin with skills and tools that help an agent add payments, check out pages and billing to an app. Use test mode keys only.

Works with
Claude Code, Codex CLI, Gemini CLI
Good for
Build an app, Web developers

What it does

Stripe's official AI toolkit connects your assistant to your Stripe account and teaches it Stripe's current advice for building payments. The plugin connects to Stripe's hosted MCP server. MCP (Model Context Protocol) is a standard way to give an assistant extra tools, such as looking up Stripe data or creating test products.

The Claude Code plugin has 10 skills, 1 agent and 2 commands. The skills cover best practices, docs search, API upgrades, Stripe Connect (payments for platforms), Stripe Apps, Metronome billing, sending money (stripe-pay), a vendor directory and Stripe Projects. The agent is company-researcher. The commands are explain-error, which explains a Stripe error in plain words, and test-cards, which lists test card numbers.

Some skills reach past payments. stripe-projects starts when you ask for a database, sign-in or an API key for another service. stripe-directory tells the assistant to use it before a web search whenever you look for an outside provider.

You sign in with OAuth, a sign-in in your browser that does not share a key. You can grant sandboxes (test accounts with fake money) or live accounts, with different permissions for each. Stripe advises turning on tool approval and warns about prompt injection when you mix MCP servers. Stripe asks a person to approve some write actions, such as refunds and outgoing payments, through a link. An approval expires after 24 hours.

The plugin also adds hooks: small scripts that run at fixed moments. At startup they check the Stripe CLI (this asks npm for the latest version) and can make the assistant suggest installing it. When a Stripe skill runs and the Stripe CLI is installed, a hook reports the skill name to Stripe. Now and then, hooks also ask the assistant to draft feedback for Stripe and to show it to you first.

Important date: Stripe's MCP page says to migrate by November 30, 2026. From December, the server stops accepting full-access secret keys and restricted keys without the Agent tag. Those requests get a 401 error. OAuth sign-in and new agent API keys keep working. The plugin signs in with OAuth.

Who it is for

People who take payments with Stripe and want the assistant to look things up, create test payments or explain errors.

Example prompts

  • "Explain this Stripe error in plain words and tell me how to fix it."
  • "Show me the test card numbers for a declined payment."
  • "In my sandbox, create a product called Starter Pack priced at 29 EUR."
  • "Upgrade my Stripe integration to the current API version and list what changes."

How to install

claude plugin install stripe@claude-plugins-official
codex plugin add stripe@openai-curated
npx skills add https://docs.stripe.com

How to use it

Ask the agent to add a payment feature, for example "add a checkout button for a 20 dollar product". Work in Stripe test mode, and sign in with OAuth or use an agent API key with only the rights the task needs.

Other assistants

Codex CLI has an official plugin.

  1. Install the plugin:
codex plugin add stripe@openai-curated
  1. If you want only the MCP server, add it and sign in:
codex mcp add stripe --url https://mcp.stripe.com
codex mcp login stripe

Gemini CLI: Stripe does not document a Gemini setup. These steps follow Stripe's general instructions and the Gemini CLI docs.

  1. Install Stripe's skills with the skills CLI:
npx skills add https://docs.stripe.com --agent gemini-cli
  1. Add the MCP server:
gemini mcp add --scope user --transport http stripe https://mcp.stripe.com
  1. Start Gemini CLI and run /mcp auth stripe to sign in.

Check it works

  1. In Claude Code, run /mcp. stripe should be listed.
  2. Choose it and sign in. Grant a sandbox first.
  3. Type /stripe: and check that explain-error and test-cards appear.

Common problems

  • Requests fail from December 2026 — a 401 error — you connected with a full secret key or an untagged restricted key. Reconnect with OAuth (/mcp in Claude Code), or create an agent API key with only the permissions you need.
  • The assistant cannot reach Stripe in a company account — the server does not connect — an administrator can turn MCP access on or off for the whole team, separately for live mode and sandboxes. On a managed network, ask IT to allow mcp.stripe.com.
  • A refund or payout stops and shows a link — the assistant waits — Stripe needs a person to approve it. Open the link, check the details, approve, then tell the assistant to retry.
  • The assistant keeps suggesting the Stripe CLI — a hook adds that hint at startup — install it with npm install -g @stripe/cli@latest, or ignore the hint.

What to watch out for

  • Payments are high stakes. Use a test-mode key first. Never paste a live secret key into a chat.
  • The tools can create and change Stripe objects (products, prices, links). Give the agent key only the rights it needs, so a mistake cannot refund or delete.
  • The plugin installs a hook file and a connector file. Read them before you enable the plugin.
  • From December 2026, Stripe MCP refuses full secret keys and restricted keys without the Agent tag (401). Use OAuth or a new agent key.
  • At startup a hook checks the Stripe CLI (a call to npm) and adds text that makes the assistant suggest installing it.
  • When the Stripe CLI is installed, a hook reports each Stripe skill you use to Stripe.
  • Hooks sometimes ask the assistant to draft feedback for Stripe and mention a private beta. The text tells it to ask you first.
  • Some skills reach past payments: stripe-projects starts on requests like "I need a database", and stripe-pay sends funds.
  • Since 4 November 2026 Stripe's older local packages (@stripe/mcp, @stripe/agent-toolkit, stripe-agent-toolkit, @stripe/ai-sdk, @stripe/token-meter) get no more updates, security fixes included. Do not set Stripe up with npx @stripe/mcp. The plugin uses the hosted server and is not affected.

Licence and author

Licence
MIT
Author
Stripe
Source code
github.com/stripe/ai

How we tested it

We installed it on an empty test computer on 12 Oct 2026. Partly tested: installed in a clean test system, but its main features need an account or key we did not use.

Test level

We did not use a Stripe key, so the tools were not called. We did not test the Codex or npx routes.

Technical details of the test
Date
12 Oct 2026
Method
Added the official Anthropic marketplace and installed the stripe plugin with the Claude Code command line in a clean container with no account. The plugin showed as enabled. The folder held 10 skills, one agent file, one hook file and one connector file. All 60 skill files in the repository have a name and a description, and the manifests are valid JSON.

Checked again on 5 Nov 2026

Alternatives

  • Stripe CLI agent setup: npm install -g @stripe/cli@latest, then stripe agent setup. It finds your assistants and installs the right plugin for each.
  • n8n MCP: builds n8n automations, for example one that runs on each new Stripe payment.

FAQ

Can it move real money? It can act on any live account you grant. stripe-pay can send funds to another Stripe business. Stripe asks for your approval on some write actions, such as refunds and outgoing payments. Start with a sandbox, and keep your assistant's tool approval on.

What changes on November 30, 2026? Stripe's MCP server stops accepting full secret keys and restricted keys without the Agent tag. Sign in with OAuth or create a new agent API key before that date.

I set up Stripe with npx @stripe/mcp. What now? Stripe deprecated that local server on 4 November 2026, together with @stripe/agent-toolkit and its AI SDK packages. They get no more updates, security fixes included. Stripe gives no date when they stop working. Replace the npx entry with the hosted server https://mcp.stripe.com, or install the plugin. Test a read-only call in a sandbox, then remove the old entry.

What do the hooks do? They check the Stripe CLI, report skill use and sometimes ask for feedback. Run /hooks to list them.

What does it cost? The toolkit is open source under the MIT licence. Normal Stripe fees apply to real payments.

Sources