All integrations
FinanceMCP serverBy StripeFor finance teams
Stripe logo

Run agents with Stripe

Connect Stripe once, and every run that names it works in Stripe on the account you connected.

Manage payments and billing: create payment links and invoices, look up customers, charges, subscriptions and balances, and search Stripe docs.

What agents do with Stripe

  • Find Why Customers Churned in StripeYes. An agent reads your cancelled Stripe subscriptions and writes churn.md, grouping churn by reason, plan and tenure and splitting failed payments from choices.Every first of the monthRun it
  • Dunning Email for Each Failed Stripe PaymentA B2B software company's billing team gets a dunning email drafted for each failed Stripe payment, from the invoice, the decline code and the customer's history.Every failed Stripe invoice paymentRun it
  • Report Failed Payments in StripeYes. An agent lists the open Stripe invoices with failed payment attempts and writes a worklist ranked by amount, with each decline code and next retry date.Every weekday morningRun it
  • Build a Monthly Revenue Report From StripeYes. An agent reads last month's Stripe charges, refunds and subscriptions and returns a revenue report with MRR movement, top customers and a daily CSV.Every first business day of the monthRun it
  • Reconcile Stripe Payouts Against ChargesYes. An agent matches last month's Stripe payouts to their balance transactions and writes a reconciliation with the lines that do not tie out.Every month closeRun it
  • Review Every Refund Request With Stripe From Your BackendYes. Your backend starts one run per refund request; the agent reads the customer's Stripe history and returns a JSON recommendation without refunding.Every refund requestRun it
  • Report Trial Conversions From StripeYes. An agent reads subscriptions whose trial ended last month through your Stripe connection and writes a report of who converted, who cancelled and why.Every first of the monthRun it
  • Send a Weekly Stripe Revenue Digest to SlackYes. An agent totals your last seven days in Stripe, writes the full digest as a file, and sends a five-line version to you in Slack.Every Monday morningRun it
  • Weekly metrics reportPull last week's signups, runs and revenue, compare each with the week before, and write a one-page report in Notion that leads with what changed most.Writes a Notion pageAutomate this

How it works

  1. Connect Stripe once

    Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.

  2. Hand an agent the work

    From the console, on a schedule, or with one API call that names stripe.

  3. Get the result back

    Files, an answer or a PR, with a record of every step the agent took.

Code changes on a Stripe codebase

These change the code of an app built on Stripe. They run on your repository in a Project and need no Stripe connection.

For developers: how Stripe connects

Stripe is a remote MCP server, published by Stripe, at https://mcp.stripe.com/. Connecting it signs in through the MCP OAuth flow on Stripe's side.

From Stripe: Stripe's MCP documentation · source code.

Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.

After that, a run that names stripe in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.

POST https://api.phoenix.so/me/connections

{
  "type": "mcp",
  "name": "Stripe",
  "url": "https://mcp.stripe.com/"
}

Whose Stripe account the agent uses

Your Stripe connection is personal: it belongs to the person who signed in. A run started in the console uses that person's Stripe, and a run started with an API key uses the Stripe of the member who created the key.

To act for your own app's users, make each user an agent from your template and show them, signed in to your app, the sign-in link POST /o/{org}/agents/{agent}/connections returns. They sign in to their own Stripe, and that agent's runs use their account and nothing else: never yours, never another user's.

More Finance integrations

Frequently asked questions

How do I connect Stripe to Rush?

Open Settings → Connections in the console and connect Stripe, or send POST /me/connections with {"type":"mcp","name":"Stripe","url":"https://mcp.stripe.com/"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.

Does every run get my Stripe account?

No. A run gets your Stripe connection only when it names it in connections ("connections": ["stripe"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.

What can an agent do in Stripe?

Manage payments and billing: create payment links and invoices, look up customers, charges, subscriptions and balances, and search Stripe docs. 8 published jobs use it; this page lists them.

Can my app's users connect their own Stripe?

Yes. Make each user an agent from your template, and they sign in to their own Stripe through the link POST /o/{org}/agents/{agent}/connections returns. That agent's runs use their account alone.

Keep reading