Skip to main content
Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to Stripe to manage payments, customers, subscriptions, and automate payment processing workflows through AI agents.
  • API
  • UI
  • Open Source
1

Install the SDKs (optional)

pip install klavis
2

Create a Strata MCP Server with Stripe

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

response = klavis_client.mcp_server.create_strata_server(
    servers=[McpServerName.STRIPE],
    user_id="user123"
)

API Reference

Full Strata API endpoints
3

Configure API Key

# Configure your Stripe API key in the Klavis dashboard or via API
# Get your Stripe secret key from https://dashboard.stripe.com/apikeys
stripe_api_key = "sk_test_your_stripe_secret_key_here"
Get your Stripe secret key from your Stripe Dashboard. Use test keys for development.
🎉 Your Stripe MCP Server is ready! Once the API key is configured, you can use your MCP server URL with any MCP-compatible client.

Watch the Example

Available Tools

Tool NameDescription
create_customerCreate a new customer in Stripe
create_payment_intentCreate a new payment intent for processing payments
retrieve_paymentGet information about a specific payment
create_subscriptionCreate a new subscription for a customer
list_invoicesList invoices for a customer or your account
For more details about tool input schema, use the get_tools API.

Next Steps

I