Skip to content

Stripe MCP: payment jobs that run every day

Connect Claude Code, Cursor or Codex to Whenever's MCP server and describe a Stripe job you check by hand today: the invoices whose payment failed, the subscriptions that were cancelled, last month's revenue by currency. Your agent builds, tests and deploys the workflow. It reaches Stripe through Whenever's managed Stripe connection and runs on a schedule, on a webhook or on demand, with the chat closed.

No credit card needed.

Connect Whenever to Claude Code

claude mcp add --transport http whenever https://mcp.whenever.dev

Using Cursor, Codex or another client? See the setup for every client.

Stripe hosts its own MCP server at mcp.stripe.com, which lets an AI agent read and write through the Stripe API and search Stripe's documentation while you chat, with human confirmation for actions such as refunds. Whenever's Stripe connection works through Stripe's API and through its MCP server, where the available tools and permissions support the job. The chat is where you ask about a customer; the failed-payment list that arrives every morning is a Whenever workflow.

Stripe's API lists invoices, charges, subscriptions, customers and refunds, and its webhooks send events such as invoice.payment_failed and customer.subscription.deleted as they happen. Amounts are in the currency's smallest unit, so 1999 means 19.99 in dollars or euros, and a report should keep currencies apart instead of adding them together. Test mode and live mode are separate, so a workflow can be tried against test data before it touches real customers.

A workflow should use a restricted key with only the permissions its job needs: reading invoices and subscriptions is enough for reports. Webhook events can arrive more than once and out of order, so record the event id with what the workflow writes and skip ids it has already handled. For anything that moves money, such as refunds, keep a person in the loop rather than letting a schedule decide.

Stripe jobs to ask your agent for

Starter briefs to configure with your accounts, not preconfigured workflows.

Morning list of failed payments

Reads open invoices with failed attempts and sends one list to finance.

Build this workflow

Log cancelled subscriptions

A webhook that writes each cancellation to a sheet once.

Build this workflow

Month-end revenue tab

Totals paid invoices and refunds by currency in a new tab each month.

Build this workflow

Stripe workflow templates

Stripe MCP FAQs

Is Whenever the official Stripe MCP server?

No. Whenever is not affiliated with Stripe and is not its MCP server. Whenever's MCP server lets your coding agent build, test and deploy workflows. Each workflow reaches Stripe through Whenever's managed Stripe connection. Stripe has its own MCP server for working with your data in a chat.

Does the Stripe workflow keep running after I close the chat?

Yes. Once deployed, it runs on Whenever on its schedule, webhook or when you start it. No chat open, laptop closed. Connection requirements, Stripe permissions and any AI usage still apply.

Can I try the workflow on test data first?

Yes. Stripe keeps test mode and live mode separate. Connect a test account or sandbox first, check what the workflow writes, then connect live mode.

Will the workflow issue refunds or change subscriptions?

Only if your brief asks for it and the connection has write access. The examples here only read data and write reports; actions that move money are better left to a person.

More about Stripe on Whenever