stripe/ai
Stripe SDKs and MCP servers that enable AI agent frameworks to interact with Stripe APIs through function calling.

This repository provides TypeScript and Python SDKs for integrating Stripe with popular LLM agent frameworks. It includes a Model Context Protocol (MCP) server for secure Stripe API access, an agent toolkit supporting OpenAI’s Agent SDK, LangChain, CrewAI, and Vercel’s AI SDK, plus token metering integrations for OpenAI, Anthropic, and Google Gemini. The toolkit enables agent frameworks to call Stripe functions for billing, payments, and other operations.
Frequently asked
- What is stripe/ai?
- Stripe SDKs and MCP servers that enable AI agent frameworks to interact with Stripe APIs through function calling.
- Is ai open source?
- Yes — stripe/ai is open source, released under the MIT license.
- What language is ai written in?
- stripe/ai is primarily written in TypeScript.
- How popular is ai?
- stripe/ai has 1.7k stars on GitHub.
- Where can I find ai?
- stripe/ai is on GitHub at https://github.com/stripe/ai.