# Stripe

<div style={{maxWidth: '720px'}}>
![The Stripe connector in Workspace Settings, for customers, payments, subscriptions, and invoices, with a Connect button](</docs/_next/static/media/stripe-connector.1z9214ejn1o6m.jpg>)
</div>

The [Stripe MCP server](https://docs.stripe.com/mcp) lets agents read and change data in your Stripe account and search Stripe's docs, so they can answer a billing question or build a Stripe integration against real objects.

For use cases and example prompts, see [Stripe for AI coding agents](/integrations/stripe).

## What is Stripe? [#what-is-stripe]

[Stripe](https://stripe.com) is a platform for accepting payments, running subscriptions, and sending invoices.

## What agents can do [#what-agents-can-do]

Once you connect Stripe, agents can:

- Look up customers, payments, refunds, disputes, and payouts
- Create and update products, prices, coupons, and payment links
- Create, finalize, and void invoices, and manage subscriptions
- Report on revenue and subscriptions
- Search Stripe's docs and plan a Stripe integration

Agents can only do what the connected Stripe account or key allows.

<Callout>
In live mode, agents work with real money and real customers. Connect a sandbox while you try things out, and give agents only the access they need.
</Callout>

## Setup [#setup]

Connect by signing in to Stripe or by pasting a Stripe agent API key.

Go to **Workspace Settings → Connectors** (or a project's **Connectors** page). Click **Add**, search for Stripe, and select it. You can also click **Connect** on the Stripe card, or **Connect another** to add another account.

### Step 1: who the connection is for [#step-1-who-the-connection-is-for]

Choose **Me** or **Workspace** as the owner, then choose which agents can use the connection. The default is **Me**, with **My personal assistants** selected. From a project's **Connectors** page, only **In this project** is selected instead. Enable **Team assistants** or **Agents in projects** separately. Anyone in the workspace can use the connection through the team assistants you pick, and anyone with access to the projects you pick can use it, including in sessions they launch themselves. See [connection options](/docs/integrations/connectors#fill-in-the-connection-details) for what each choice means.

Click **Continue**.

### Step 2: how agents reach Stripe [#step-2-how-agents-reach-stripe]

The second screen has two tabs: **Stripe account** and **Access token**. Pick one.

#### Stripe account [#stripe-account]

This tab is selected by default, and it's the easiest way in — there's no key to create.

Click **Continue to Stripe** and sign in. Choose a live account or a sandbox, then **Read**, **Write**, or **Customize** (**Read** keeps agents from changing anything). Click **Review**, then **Authorize** (or **Add another account** first), and you land back on the Connectors page with **Stripe connected**.

Agents act in Stripe as whoever signed in. If you enable **In projects**, anyone with access to those projects can use that account — so sign in with an account whose permissions you're happy to share.

#### Access token [#access-token]

In Stripe, open [**API keys**](https://dashboard.stripe.com/apikeys) and click **Create secret key**. Choose **Giving an AI agent access to operate your account**, then a template, **Custom permissions**, or **Full access—except sensitive operations**. Give agents only what they need, name the key, and click **Create key**. Paste the `rk_` key into the **Stripe Agent API Key** field and click **Connect Stripe**.

## Reconnecting and disconnecting [#reconnecting-and-disconnecting]

If an account connection stops working, the Connectors page shows a **Reconnect needed** badge on it, and agents run without Stripe.

To fix it, click **Manage** next to the connection, then **Reconnect Stripe**, and sign in again. You can only reconnect a personal connection you own; for someone else's, Superconductor tells you who to ask.

A key Stripe stops accepting doesn't show **Reconnect needed**. Agents' Stripe calls fail until you paste a new key under **Manage** and click **Save**.

**Disconnect** also revokes Superconductor's access at Stripe. For an access token, expire the key in Stripe too.

## When to use it [#when-to-use-it]

Ask agents to use Stripe for billing questions, customer support, and building or testing a Stripe integration. For example:

```text
Find the Stripe customer for ines@example.com and summarize their subscription, last three invoices, and any failed payments.
```

```text
How many new subscriptions did we get each week this month? Use Stripe and put the numbers in a table.
```

```text
Create a "Pro" product in our Stripe sandbox with a $20 monthly price and a payment link, and send me the link.
```

```text
Our checkout is failing for some customers. Look at the last day of failed payments in Stripe and tell me what they have in common.
```