Stripe MCP

official

Official Stripe MCP server and agent toolkit for working with Stripe customers, payments, subscriptions, refunds, invoices, and billing operations.

What can you do with Stripe MCP?

  • Connect via remote MCP server — Ask your assistant to connect to Stripe's hosted MCP endpoint at https://mcp.stripe.com using OAuth for secure access.
  • Build autonomous agents — Instruct your assistant to leverage MCP to create autonomous agents that interact with Stripe's billing infrastructure.
  • Install agent skills for Claude Code — Have your assistant run claude plugin install stripe@claude-plugins-official to add official Stripe tools to Claude Code.
  • Add Stripe plugin to Codex — Ask your assistant to run codex plugin add stripe@openai-curated for Stripe integration in OpenAI's Codex environment.
  • Install via Cursor marketplace — Direct your assistant to use /add-plugin stripe or the Cursor marketplace to add Stripe's plugin.
  • Set up for Grok Build — Request your assistant to run grok plugin install stripe --trust to enable Stripe tools in Grok Build.

Documentation

Hero GIF

Stripe AI

This repo is the one-stop shop for building AI-powered products and businesses on top of Stripe.

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including:

  • @stripe/ai-sdk - for integrating Stripe's billing infrastructure with Vercel's ai and @ai-sdk libraries.
  • @stripe/token-meter - for integrating Stripe's billing infrastructure with native SDKs from OpenAI, Anthropic, and Google Gemini, without any framework dependencies.

Model Context Protocol (MCP)

Stripe hosts a remote MCP server at https://mcp.stripe.com. This allows secure MCP client access via OAuth. View the docs here.

You can also build autonomous agents with MCP as well.

Agent skills

Agent skills are instructions that agents can use to build faster and more accurately. Stripe offers a collection of skills that help your agents use the latest best practices when building with Stripe.

If you use one of these popular agent harnesses, we recommend installing the official Stripe plugins, which include additional agent tools and update automatically.

Claude Code

Run this command in your project:

claude plugin install stripe@claude-plugins-official

Codex

Run this command in your project:

codex plugin add stripe@openai-curated

Cursor

Run this command in your project:

/add-plugin stripe

You can also install through the Cursor marketplace.

Grok Build

Run this command in your project:

grok plugin install stripe --trust

Agent Plugins

Installation methods currently vary by client for the new Agent Plugins standard, but you can point your client to our package via:

Manual installation

Manually installed skills don’t auto-update. Run npx skills update -y to get the latest versions.

Run this command in your project:

npx skills add https://docs.stripe.com

License

MIT