$git clone https://github.com/stripe/aiThis repo is the one-stop shop for building AI-powered products and businesses on top of Stripe.
| 1 |  |
| 2 | |
| 3 | # Stripe AI |
| 4 | |
| 5 | This repo is the one-stop shop for building AI-powered products and businesses on top of Stripe. |
| 6 | |
| 7 | It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including: |
| 8 | |
| 9 | * [`@stripe/ai-sdk`](/llm/ai-sdk) - for integrating Stripe's billing infrastructure with Vercel's [`ai`](https://npm.im/ai) and [`@ai-sdk`](https://ai-sdk.dev/) libraries. |
| 10 | * [`@stripe/token-meter`](/llm/token-meter) - for integrating Stripe's billing infrastructure with native SDKs from OpenAI, Anthropic, and Google Gemini, without any framework dependencies. |
| 11 | |
| 12 | ## Model Context Protocol (MCP) |
| 13 | |
| 14 | Stripe hosts a remote MCP server at `https://mcp.stripe.com`. This allows secure MCP client access via OAuth. View the docs [here](https://docs.stripe.com/mcp#connect). |
| 15 | |
| 16 | You can also [build autonomous agents](https://docs.stripe.com/mcp#agents) with MCP as well. |
| 17 | |
| 18 | ## Agent skills |
| 19 | |
| 20 | [Agent skills](https://agentskills.io/home) 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. |
| 21 | |
| 22 | If you use one of these popular agent harnesses, we recommend installing the official Stripe plugins, which include additional agent tools and update automatically. |
| 23 | |
| 24 | ### Claude Code |
| 25 | |
| 26 | Run this command in your project: |
| 27 | |
| 28 | ```bash |
| 29 | claude plugin install stripe@claude-plugins-official |
| 30 | ``` |
| 31 | |
| 32 | ### Codex |
| 33 | |
| 34 | Run this command in your project: |
| 35 | |
| 36 | ```bash |
| 37 | codex plugin add stripe@openai-curated |
| 38 | ``` |
| 39 | |
| 40 | ### Cursor |
| 41 | |
| 42 | Run this command in your project: |
| 43 | |
| 44 | ```bash |
| 45 | /add-plugin stripe |
| 46 | ``` |
| 47 | |
| 48 | You can also install through the [Cursor marketplace](https://cursor.com/marketplace/stripe). |
| 49 | |
| 50 | ### Grok Build |
| 51 | |
| 52 | Run this command in your project: |
| 53 | |
| 54 | ```bash |
| 55 | grok plugin install stripe --trust |
| 56 | ``` |
| 57 | |
| 58 | ## Manual installation |
| 59 | |
| 60 | > Manually installed skills don’t auto-update. Run `npx skills update -y` to get the latest versions. |
| 61 | |
| 62 | Run this command in your project: |
| 63 | |
| 64 | ```bash |
| 65 | npx skills add https://docs.stripe.com |
| 66 | ``` |
| 67 | |
| 68 | |
| 69 | ## License |
| 70 | |
| 71 | [MIT](LICENSE) |