MCP server
Stripe MCP for Draftbit
Build AI-powered products and businesses with Stripe
What is Stripe?
Stripe's MCP server lets AI agents inside your Draftbit app act on Stripe — list customers, look up subscriptions, refund a charge, or create a checkout session — without leaving the build. You connect with OAuth or a Stripe Agent key in Integrations > MCPs, and every agent run in the app has access scoped to that connection.
Use Stripe with Draftbit
- Query customers, charges, subscriptions, invoices, and products from any AI agent run.
- Trigger checkout sessions, refunds, and subscription changes during a build conversation.
- Inspect failed payments and disputes without leaving the Draftbit chat.
- Choose sandbox or live access through OAuth or an Agent key. Agents use the environment you connect.
More ways to connect Stripe
Need a REST API connection instead? Use the Stripe REST API integration .
Example
mcp-config.json {
"mcpServers": {
"stripe": {
"url": "https://mcp.stripe.com",
"headers": {
"Authorization": "Bearer YOUR_STRIPE_AGENT_KEY"
}
}
}
}Use cases
- Add a subscription paywall to a freemium mobile app
- Wire up Stripe Checkout for a one-time purchase flow
- Investigate a payment failure mid-conversation with an AI agent
- Refund a customer and update their app state in one step
Authentication
Sign in with OAuth or paste an API key — whichever your team prefers.
Use Stripe in a Draftbit app today
Use Draftbit to build your app, configure Stripe, and test the feature before publishing.
Frequently asked questions
What is the Stripe MCP?
The Stripe MCP (Model Context Protocol) server lets AI agents work with your Stripe account through natural language. In Draftbit it comes preconfigured. Connect with OAuth or a Stripe Agent key and agents can look up customers, subscriptions, refunds, and Checkout sessions while they build.
How do I connect Stripe MCP to a Draftbit app?
Open your Draftbit app, go to Integrations and then MCPs, and add Stripe. Choose Sign in with OAuth to grant access in Stripe, or API key to enter a Stripe Agent key. Click Add & Verify to check the connection. If you already connected with an ordinary secret key, edit the connection and replace it or switch to OAuth before 31 October 2026.
Is it safe to give an AI agent my Stripe key?
Your key stays inside Draftbit's MCP layer and never ends up in generated code. Use a restricted Stripe key tagged for agent access, with only the permissions your build needs. Stripe lets you scope a key to read-only access or to specific resources.
Can I use Stripe MCP with the rest of my Draftbit app?
Yes. The MCP covers what agents do while you build. For runtime payments, implement a trusted backend and a client payment flow such as PaymentSheet. Keep Stripe secret keys on the backend, and verify webhook signatures before fulfilling an order.
Does Stripe MCP work with subscription apps and one-time payments?
Both. Agents can create Checkout sessions for one-time purchases, manage subscription products and prices, and inspect a customer's billing history. If you also sell native in-app purchases on iOS or Android, implement the appropriate store purchase flow, for example with the RevenueCat React Native SDK. Adding an MCP connection alone does not implement purchases.