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 configure your Stripe key once in Integrations → MCPs, and every agent run in the app has access scoped to that key.
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.
- Use test-mode and live-mode keys — agents call whichever environment you wire up.
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 sk_test_..."
}
}
}
}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
Authentication is a single header you paste once in Draftbit. Your token stays scoped to the app.
Use Stripe in a Draftbit app today
Start free, connect Stripe in minutes, and ship with AI agents that know how to use it.
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. Paste your Stripe secret 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, find Stripe in the preconfigured list, paste your Stripe secret key (test or live), and save. Agents in your app get the Stripe tools right away, with nothing else to wire up.
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 API key that has 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 payments at runtime, add Stripe as a REST integration as well, so the app itself can call Stripe. The two work together. Agents reason about your Stripe account, and the app takes payments in production.
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, pair it with the RevenueCat MCP.