# Model Context Protocol (MCP)

Let your AI agents interact with the Stripe API by using our MCP server.

The Stripe Model Context Protocol (MCP) server provides tools that AI agents can use to interact with the Stripe API and search the Stripe knowledge base, including documentation and support articles.

## Set up Stripe MCP with a plugin  (Recommended)

[Agent plugins](https://docs.stripe.com/agents/plugin.md) for Stripe automatically configure the Stripe MCP server, install our [skills](https://docs.stripe.com/skills.md), and make sure they’re up to date. You get our latest capabilities without configuration or maintenance.

Install the Stripe CLI using the installation script for your operating system. Script installations enable [automatic updates](https://docs.stripe.com/cli/upgrade) by default.

#### MacOS or Linux

```bash
curl -fsSL https://cli.stripe.com/install.sh | sh
export PATH="$HOME/.stripe/bin:$PATH"
```

After installation, open a new terminal and install the agent tooling:

```bash
stripe agent setup
```

This command automatically detects which agents you use, and runs the applicable commands.

## Manually set up Stripe MCP 

If your MCP client doesn’t support [agent plugins](https://docs.stripe.com/agents/plugin.md) for Stripe, or you prefer to configure the Stripe MCP server and install the skills manually, follow these instructions:

#### Cursor

[Install in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=stripe&config=eyJ1cmwiOiJodHRwczovL21jcC5zdHJpcGUuY29tIn0%3D)

Select **Install in Cursor** to open Cursor and add the Stripe MCP server. To configure it manually, add the following configuration to `~/.cursor/mcp.json`.

For more information, see [Cursor’s MCP documentation](https://cursor.com/docs/mcp).

```json
{
 "mcpServers": {
   "stripe": {
     "url": "https://mcp.stripe.com"
   }
 }
}
```

#### Claude Code

Run the following command to add the Stripe MCP server to Claude Code:

```bash
claude mcp add --transport http stripe https://mcp.stripe.com/
```

After you add the server, start Claude Code and run the `/mcp` command to authenticate Stripe with OAuth.

To authenticate with an [agent API key](https://docs.stripe.com/keys.md#agent-keys) instead of OAuth, add the server to your project’s `.mcp.json` file and reference an environment variable that holds your agent API key, rather than passing the key on the command line. In this example, `${AGENT_API_KEY}` is a placeholder; replace `AGENT_API_KEY` with the actual name of your environment variable, and set that environment variable in your shell before running Claude Code.

```json
{
  "mcpServers": {
    "stripe": {
      "type": "http",
      "url": "https://mcp.stripe.com",
      "headers": {
        "Authorization": "Bearer ${AGENT_API_KEY}"
      }
    }
  }
}
```

For more information, see the [Claude Code MCP documentation](https://code.claude.com/docs/en/mcp).

#### Claude Desktop

You can [install the official Stripe connector in Claude](https://claude.ai/directory/de127013-63f1-43d0-8dd2-b6cb5b4e5d1b) on the web and in Claude Desktop.

1. Select **Connect to Claude** and add the connector to your account or workspace.
2. Sign in to your Stripe account and grant permissions to Claude using the OAuth window when prompted.
3. In a conversation, select the plus icon, select **Connectors**, and enable Stripe.

For Team and Enterprise accounts, an owner must add the connector to the workspace before members can connect their Stripe accounts.

#### Codex

Run the following command to add the Stripe MCP server to Codex:

```bash
codex mcp add stripe --url https://mcp.stripe.com
```

To authenticate with OAuth, run the following command and follow the prompts to sign in to Stripe and grant access. You don’t need an API key when you use OAuth.

```bash
codex mcp login stripe
```

The ChatGPT desktop app, Codex CLI, and Codex IDE extension support MCP servers and share the same configuration on your computer. To learn more, see the OpenAI [Codex MCP documentation](https://learn.chatgpt.com/docs/extend/mcp).

After you authenticate, you can switch between the ChatGPT desktop app, Codex CLI, and Codex IDE extension without configuring the Stripe MCP server again.

To authenticate with an [agent API key](https://docs.stripe.com/keys.md#agent-keys) instead of OAuth, set `bearer_token_env_var` in `~/.codex/config.toml` to the name of an environment variable that holds your agent API key. Set that environment variable in your shell before running Codex. This option doesn’t require `codex mcp login stripe`. In this example, `AGENT_API_KEY` is a placeholder; replace it with the actual name of your environment variable, not the name of the variable wrapped in braces.

```toml
[mcp_servers.stripe]
url = "https://mcp.stripe.com"
bearer_token_env_var = "AGENT_API_KEY" # Replace with the name of your environment variable
```

#### ChatGPT

You can [install the official Stripe plugin in ChatGPT](https://chatgpt.com/plugins/plugin_connector_690ab09fa43c8191bca40280e4563238). Connect your Stripe account and grant permissions to ChatGPT in the OAuth window when prompted.

To learn more, see the OpenAI [MCP documentation](https://learn.chatgpt.com/docs/extend/mcp).

#### VS Code

[Install in VS Code](https://vscode.dev/redirect/mcp/install?name=stripe&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.stripe.com%22%7D)

Select **Install in VS Code** to open VS Code and add the Stripe MCP server. To configure it manually, add the following configuration to `.vscode/mcp.json` in your workspace.

See the [VS Code MCP documentation](https://code.visualstudio.com/docs/agent-customization/mcp-servers) for more information.

```json
{
 "servers": {
   "stripe": {
     "type": "http",
     "url": "https://mcp.stripe.com"
   }
 }
}
```

#### Other

MCP is an open protocol supported by many clients. Follow your client’s MCP setup instructions and use `https://mcp.stripe.com` as the server URL.

Use OAuth when your client supports it. If your client doesn’t support OAuth, use an [agent API key](https://docs.stripe.com/keys.md#agent-keys) as a bearer token in the `Authorization` header. For example, if your client accepts a `headers` property, use the following configuration:

```json
{
 "stripe": {
   "url": "https://mcp.stripe.com",
   "headers": {
     "Authorization": "Bearer {{AGENT_API_KEY}}"
   }
 }
}
```

## Manage MCP access and sessions 

Stripe’s MCP server supports two authentication methods:

1. **OAuth**: Use OAuth when a client accesses Stripe on behalf of your Stripe user account.
2. **Agent API keys**: Use an [agent API key](https://docs.stripe.com/keys.md#agent-keys) when an AI application needs independent, persistent access to Stripe.

When you connect an MCP client with OAuth, the client opens Stripe’s OAuth consent page. You can grant access to one or more live mode accounts or sandboxes and set different permissions for each environment. See the [MCP authorization specification](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization) for details.

> #### OAuth session expiration
> 
> OAuth refresh tokens expire after 14 days, and refreshing tokens doesn’t extend the session beyond 14 days from your initial authorization. When your session expires, reconnect your MCP client to Stripe and authorize it again.

If your organization manages your device or network, your IT administrator might block connections to external MCP servers. When the Stripe MCP server doesn’t connect in a managed environment, ask your IT department to allow `mcp.stripe.com`.

### Manage MCP access for all team members 

If you’re an administrator, you can [enable or disable MCP access](https://dashboard.stripe.com/settings/mcp-and-cli-access) for your entire team in the Dashboard. Configure access separately for live mode and sandbox environments.

### Manage your sessions 

Your authorized MCP clients appear under **OAuth sessions** in your [user settings](https://dashboard.stripe.com/settings/user). To revoke a session:

1. Find the client in the **OAuth sessions** list.
2. Click the overflow menu (⋯).
3. Select **Revoke access**.

### Manage sessions as an administrator 

To view or revoke another user’s sessions, your role must include permissions to manage team members. The **Administrator** role includes these permissions.

1. Open [Team and security](https://dashboard.stripe.com/settings/team) in the Dashboard.
2. Select the team member you want to manage.
3. Find the **OAuth sessions** table.
4. To revoke one session, click its overflow menu and select **Revoke access**. To revoke every listed session, select **Revoke all**.

Session management applies only to the account or organization and environment—live mode or a sandbox—that you’re currently viewing. Revoking a session removes access only within that scope. The session remains active for accounts outside your current scope.

When you view an organization, the **Accounts** column shows the accounts associated with each session.

## Authenticate Stripe MCP 

Choose either OAuth or an agent API key. You don’t need both.

Use OAuth for interactive MCP clients. After you install the [Stripe plugin](https://docs.stripe.com/mcp.md#plugin) with `stripe agent setup` or follow the [manual setup instructions](https://docs.stripe.com/mcp.md#manual), connect your client to Stripe. When your client needs authorization, it starts the OAuth flow and prompts you to sign in and grant access. OAuth lets you authorize and revoke a client without sharing an API key.

For autonomous clients that can’t use OAuth, create an [agent API key](https://docs.stripe.com/keys.md#agent-keys) with only the permissions the client needs. You can identify agent API keys in the Dashboard by the **Agent** badge. Pass the agent API key as the bearer token in the `Authorization` header of your request. If you’re replacing an existing key, test the new configuration in a sandbox, then expire the old key.

> #### Update API key authentication before January 11, 2027
> 
> Starting January 11, 2027, Stripe MCP will no longer accept full-access secret keys or non-agent restricted API keys. Migrate to an agent API key or reconnect with OAuth before that date. Requests using an unsupported key receive a `401` response with an OAuth discovery challenge.

## Ferramentas

The server exposes the following [MCP tools](https://modelcontextprotocol.io/docs/concepts/tools).

Turn on your MCP client’s tool-approval setting so you can review tool calls before they run, and exercise caution when using the Stripe MCP with other servers to avoid prompt injection attacks. If you have feedback or want to see more tools, email us at [mcp@stripe.com](mailto:mcp@stripe.com).

| Resource | Tool | Description |
| --- | --- | --- |
| **API tools** | `stripe_api_search` | Search for Stripe API methods by keyword |
| `stripe_api_details` | Get detailed parameter information for a specific Stripe API method. |
| `stripe_api_read` | Read data with any Stripe API `GET` method |
| `stripe_api_write` | Write data with any Stripe API `POST`, `PATCH`, `PUT` and `DELETE` method |
| **Account** | `get_stripe_account_info` | [Retrieve account](https://docs.stripe.com/api/accounts/retrieve.md) |
| **[Atlas](https://docs.stripe.com/atlas/agents.md#use-an-ai-assistant)** | `atlas_company_formation` | Prepare or resume an Atlas application for a Delaware C corporation or LLC |
| **[Analytics](https://docs.stripe.com/data/analyze-with-ai.md)** | `stripe_analytics` | - (Public preview) Find metrics, reporting tables, and reports. Query metrics, analyze subscriptions and billing, and run financial reports. - Build SQL queries based on natural language |
| **Stripe Directory** (Private preview) | `stripe_directory_search` | Search for businesses and service providers on the Stripe Network, including their agent integration capabilities |
| **Treasury** (Public preview) | `get_balance_summary` | Displays an interactive balance summary across the Stripe balance and Treasury accounts |
| `convert_currency` | Converts funds between currencies within a Treasury account (Human confirmation) |
| `send_money` | Sends money from a Treasury account to a recipient (Human confirmation) |
| `setup_recipient` | Sets up a recipient account for sending money from a Treasury account |
| `transfer_money` | Transfers money between supported Stripe balances (Human confirmation) |
| **Others** | `search_stripe_documentation` | Search the Stripe documentation for the given question and language |
| `stripe_implementation_planner` | Guides the user through Stripe products to help users accept payments, sell products online, set up billing, or build any Stripe integration |
| `send_stripe_feedback` | Share feedback about Stripe’s products |

To prepare a company incorporation application, ask your assistant:

> Help me prepare a Stripe Atlas application for a Delaware C corporation with two founders. Check for an existing application before creating one.

You review documents, pay, sign, and submit in the Dashboard. See [Prepare an Atlas application with an agent or CLI](https://docs.stripe.com/atlas/agents.md).

The Stripe MCP server exposes multiple APIs that you can call with the `stripe_api_read` and `stripe_api_write` tools. This access makes much of the API available through MCP without increasing the context window unnecessarily.

### Supported API methods

- [Cancel a subscription](https://docs.stripe.com/api/subscriptions/cancel.md)
- [Create a Calculation](https://docs.stripe.com/api/tax/calculations/create.md)
- [Create a Checkout Session](https://docs.stripe.com/api/checkout/sessions/create.md)
- [Create a coupon](https://docs.stripe.com/api/coupons/create.md)
- [Create a Crypto Deposit Address](https://docs.stripe.com/api/crypto/deposit-address/create.md)
- [Create a customer](https://docs.stripe.com/api/customers/create.md)
- [Create a payment link](https://docs.stripe.com/api/payment-link/create.md)
- [Create a payment method domain](https://docs.stripe.com/api/payment_method_domains/create.md)
- [Create a portal configuration](https://docs.stripe.com/api/customer_portal/configurations/create.md)
- [Create a portal session](https://docs.stripe.com/api/customer_portal/sessions/create.md)
- [Create a preview invoice](https://docs.stripe.com/api/invoices/create_preview.md)
- [Create a price](https://docs.stripe.com/api/prices/create.md)
- [Create a product](https://docs.stripe.com/api/products/create.md)
- [Create a promotion code](https://docs.stripe.com/api/promotion_codes/create.md)
- [Create a refund](https://docs.stripe.com/api/refunds/create.md) (Human confirmation)
- [Create a registration](https://docs.stripe.com/api/tax/registrations/create.md)
- [Create a subscription](https://docs.stripe.com/api/subscriptions/create.md)
- [Create a test clock](https://docs.stripe.com/api/test_clocks/create.md)
- [Create a webhook endpoint](https://docs.stripe.com/api/webhook_endpoints/create.md)
- [Create an Event Destination](https://docs.stripe.com/api/v2/core/event-destinations/create.md)
- [Create an invoice](https://docs.stripe.com/api/invoices/create.md)
- [Create an invoice item](https://docs.stripe.com/api/invoiceitems/create.md)
- [Delete a coupon](https://docs.stripe.com/api/coupons/delete.md)
- [Finalize an invoice](https://docs.stripe.com/api/invoices/finalize.md)
- [List a Customer's PaymentMethods](https://docs.stripe.com/api/payment_methods/customer_list.md)
- [List accounts](https://docs.stripe.com/api/v2/core/accounts/list.md)
- [List all application fees](https://docs.stripe.com/api/application_fees/list.md)
- [List all authorizations](https://docs.stripe.com/api/issuing/authorizations/list.md)
- [List all balance transactions](https://docs.stripe.com/api/balance_transactions/list.md)
- [List all cardholders](https://docs.stripe.com/api/issuing/cardholders/list.md)
- [List all cards](https://docs.stripe.com/api/issuing/cards/list.md)
- [List all charges](https://docs.stripe.com/api/charges/list.md)
- [List all Checkout Sessions](https://docs.stripe.com/api/checkout/sessions/list.md)
- [List all connected accounts](https://docs.stripe.com/api/accounts/list.md)
- [List all coupons](https://docs.stripe.com/api/coupons/list.md)
- [List all credit notes](https://docs.stripe.com/api/credit_notes/list.md)
- [List all customers](https://docs.stripe.com/api/customers/list.md)
- [List all disputes](https://docs.stripe.com/api/disputes/list.md)
- [List all disputes](https://docs.stripe.com/api/issuing/disputes/list.md)
- [List all early fraud warnings](https://docs.stripe.com/api/radar/early_fraud_warnings/list.md)
- [List all events](https://docs.stripe.com/api/events/list.md)
- [List all invoice items](https://docs.stripe.com/api/invoiceitems/list.md)
- [List all invoices](https://docs.stripe.com/api/invoices/list.md)
- [List all open reviews](https://docs.stripe.com/api/radar/reviews/list.md)
- [List all payment links](https://docs.stripe.com/api/payment-link/list.md)
- [List all PaymentIntents](https://docs.stripe.com/api/payment_intents/list.md)
- [List all payments for an invoice](https://docs.stripe.com/api/invoice-payment/list.md)
- [List all payouts](https://docs.stripe.com/api/payouts/list.md)
- [List all prices](https://docs.stripe.com/api/prices/list.md)
- [List all products](https://docs.stripe.com/api/products/list.md)
- [List all promotion codes](https://docs.stripe.com/api/promotion_codes/list.md)
- [List all refunds](https://docs.stripe.com/api/refunds/list.md)
- [List all schedules](https://docs.stripe.com/api/subscription_schedules/list.md)
- [List all SetupIntents](https://docs.stripe.com/api/setup_intents/list.md)
- [List all subscription items](https://docs.stripe.com/api/subscription_items/list.md)
- [List all tax codes](https://docs.stripe.com/api/tax_codes/list.md)
- [List all transactions](https://docs.stripe.com/api/issuing/transactions/list.md)
- [List all transfers](https://docs.stripe.com/api/transfers/list.md)
- [List all value list items](https://docs.stripe.com/api/radar/value_list_items/list.md)
- [List all value lists](https://docs.stripe.com/api/radar/value_lists/list.md)
- [List all webhook endpoints](https://docs.stripe.com/api/webhook_endpoints/list.md)
- [List cash balance transactions](https://docs.stripe.com/api/cash_balance_transactions/list.md)
- [List Crypto Deposit Addresses](https://docs.stripe.com/api/crypto/deposit-address/list.md)
- [List customer balance transactions](https://docs.stripe.com/api/customer_balance_transactions/list.md)
- [List Event Destinations](https://docs.stripe.com/api/v2/core/event-destinations/list.md)
- [List Events](https://docs.stripe.com/api/v2/core/events/list.md)
- [List Inbound Transfers](https://docs.stripe.com/api/v2/money-management/inbound-transfers/list.md)
- [List Outbound Payments](https://docs.stripe.com/api/v2/money-management/outbound-payments/list.md)
- [List payment method configurations](https://docs.stripe.com/api/payment_method_configurations/list.md)
- [List payment method domains](https://docs.stripe.com/api/payment_method_domains/list.md)
- [List PaymentMethods](https://docs.stripe.com/api/payment_methods/list.md)
- [List portal configurations](https://docs.stripe.com/api/customer_portal/configurations/list.md)
- [List Received Credits](https://docs.stripe.com/api/v2/money-management/received-credits/list.md)
- [List registrations](https://docs.stripe.com/api/tax/registrations/all.md)
- [List subscriptions](https://docs.stripe.com/api/subscriptions/list.md)
- [Mark an invoice as uncollectible](https://docs.stripe.com/api/invoices/mark_uncollectible.md)
- [Retrieve a balance transaction](https://docs.stripe.com/api/balance_transactions/retrieve.md)
- [Retrieve a Calculation](https://docs.stripe.com/api/tax/calculations/retrieve.md)
- [Retrieve a Calculation's line items](https://docs.stripe.com/api/tax/calculations/line_items.md)
- [Retrieve a card](https://docs.stripe.com/api/issuing/cards/retrieve.md)
- [Retrieve a cardholder](https://docs.stripe.com/api/issuing/cardholders/retrieve.md)
- [Retrieve a cash balance](https://docs.stripe.com/api/cash_balance/retrieve.md)
- [Retrieve a charge](https://docs.stripe.com/api/charges/retrieve.md)
- [Retrieve a Checkout Session](https://docs.stripe.com/api/checkout/sessions/retrieve.md)
- [Retrieve a Checkout Session's line items](https://docs.stripe.com/api/checkout/sessions/line_items.md)
- [Retrieve a coupon](https://docs.stripe.com/api/coupons/retrieve.md)
- [Retrieve a Crypto Deposit Address](https://docs.stripe.com/api/crypto/deposit-address/retrieve.md)
- [Retrieve a customer](https://docs.stripe.com/api/customers/retrieve.md)
- [Retrieve a Customer's PaymentMethod](https://docs.stripe.com/api/payment_methods/customer.md)
- [Retrieve a dispute](https://docs.stripe.com/api/disputes/retrieve.md)
- [Retrieve a dispute](https://docs.stripe.com/api/issuing/disputes/retrieve.md)
- [Retrieve a payment link's line items](https://docs.stripe.com/api/payment-link/retrieve-line-items.md)
- [Retrieve a PaymentIntent](https://docs.stripe.com/api/payment_intents/retrieve.md)
- [Retrieve a PaymentMethod](https://docs.stripe.com/api/payment_methods/retrieve.md)
- [Retrieve a payout](https://docs.stripe.com/api/payouts/retrieve.md)
- [Retrieve a portal configuration](https://docs.stripe.com/api/customer_portal/configurations/retrieve.md)
- [Retrieve a price](https://docs.stripe.com/api/prices/retrieve.md)
- [Retrieve a product](https://docs.stripe.com/api/products/retrieve.md)
- [Retrieve a promotion code](https://docs.stripe.com/api/promotion_codes/retrieve.md)
- [Retrieve a Received Credit](https://docs.stripe.com/api/v2/money-management/received-credits/retrieve.md)
- [Retrieve a refund](https://docs.stripe.com/api/refunds/retrieve.md)
- [Retrieve a registration](https://docs.stripe.com/api/tax/registrations/retrieve.md)
- [Retrieve a review](https://docs.stripe.com/api/radar/reviews/retrieve.md)
- [Retrieve a schedule](https://docs.stripe.com/api/subscription_schedules/retrieve.md)
- [Retrieve a SetupIntent](https://docs.stripe.com/api/setup_intents/retrieve.md)
- [Retrieve a subscription](https://docs.stripe.com/api/subscriptions/retrieve.md)
- [Retrieve a tax code](https://docs.stripe.com/api/tax_codes/retrieve.md)
- [Retrieve a transaction](https://docs.stripe.com/api/issuing/transactions/retrieve.md)
- [Retrieve a transfer](https://docs.stripe.com/api/transfers/retrieve.md)
- [Retrieve a value list](https://docs.stripe.com/api/radar/value_lists/retrieve.md)
- [Retrieve a value list item](https://docs.stripe.com/api/radar/value_list_items/retrieve.md)
- [Retrieve a webhook endpoint](https://docs.stripe.com/api/webhook_endpoints/retrieve.md)
- [Retrieve account](https://docs.stripe.com/api/accounts/retrieve.md)
- [Retrieve an account](https://docs.stripe.com/api/v2/core/accounts/retrieve.md)
- [Retrieve an application fee](https://docs.stripe.com/api/application_fees/retrieve.md)
- [Retrieve an authorization](https://docs.stripe.com/api/issuing/authorizations/retrieve.md)
- [Retrieve an early fraud warning](https://docs.stripe.com/api/radar/early_fraud_warnings/retrieve.md)
- [Retrieve an event](https://docs.stripe.com/api/events/retrieve.md)
- [Retrieve an Event](https://docs.stripe.com/api/v2/core/events/retrieve.md)
- [Retrieve an Event Destination](https://docs.stripe.com/api/v2/core/event-destinations/retrieve.md)
- [Retrieve an Inbound Transfer](https://docs.stripe.com/api/v2/money-management/inbound-transfers/retrieve.md)
- [Retrieve an invoice](https://docs.stripe.com/api/invoices/retrieve.md)
- [Retrieve an invoice item](https://docs.stripe.com/api/invoiceitems/retrieve.md)
- [Retrieve an invoice's line items](https://docs.stripe.com/api/invoice-line-item/retrieve.md)
- [Retrieve an Outbound Payment](https://docs.stripe.com/api/v2/money-management/outbound-payments/retrieve.md)
- [Retrieve balance](https://docs.stripe.com/api/balance/balance_retrieve.md)
- [Retrieve payment link](https://docs.stripe.com/api/payment-link/retrieve.md)
- [Retrieve payment method configuration](https://docs.stripe.com/api/payment_method_configurations/retrieve.md)
- [Retrieve settings](https://docs.stripe.com/api/tax/settings/retrieve.md)
- [Search charges](https://docs.stripe.com/api/charges/search.md)
- [Search customers](https://docs.stripe.com/api/customers/search.md)
- [Search invoices](https://docs.stripe.com/api/invoices/search.md)
- [Search PaymentIntents](https://docs.stripe.com/api/payment_intents/search.md)
- [Search prices](https://docs.stripe.com/api/prices/search.md)
- [Search products](https://docs.stripe.com/api/products/search.md)
- [Search subscriptions](https://docs.stripe.com/api/subscriptions/search.md)
- [Update a coupon](https://docs.stripe.com/api/coupons/update.md)
- [Update a customer](https://docs.stripe.com/api/customers/update.md)
- [Update a dispute](https://docs.stripe.com/api/disputes/update.md)
- [Update a payment link](https://docs.stripe.com/api/payment-link/update.md)
- [Update a portal configuration](https://docs.stripe.com/api/customer_portal/configurations/update.md)
- [Update a price](https://docs.stripe.com/api/prices/update.md)
- [Update a product](https://docs.stripe.com/api/products/update.md)
- [Update a registration](https://docs.stripe.com/api/tax/registrations/update.md)
- [Update a schedule](https://docs.stripe.com/api/subscription_schedules/update.md)
- [Update a subscription](https://docs.stripe.com/api/subscriptions/update.md)
- [Update a webhook endpoint](https://docs.stripe.com/api/webhook_endpoints/update.md)
- [Update an Event Destination](https://docs.stripe.com/api/v2/core/event-destinations/update.md)
- [Update an invoice](https://docs.stripe.com/api/invoices/update.md)
- [Update an invoice item](https://docs.stripe.com/api/invoiceitems/update.md)
- [Update settings](https://docs.stripe.com/api/tax/settings/update.md)
- [Void an invoice](https://docs.stripe.com/api/invoices/void.md)

## Confirm actions by agents acting on your behalf

When you connect an AI agent to Stripe through the MCP server using your user credentials, you authorize the agent to access data and take actions in Stripe on your behalf.

Before an agent completes certain actions on your behalf, Stripe can require you to review and approve the request in the Dashboard. Look for the **Human confirmation** badge beside action descriptions in the [Tools reference](https://docs.stripe.com/mcp.md#tools) and [Supported API methods](https://docs.stripe.com/mcp.md#apis).

Your MCP client displays tool names that can group multiple actions. For example, creating a refund uses `stripe_api_write`, which also supports other actions that don’t use this confirmation flow. Confirmation depends on the action, not only the tool name.

Stripe’s confirmation requirement is separate from your MCP client’s tool-approval setting. Account-specific approval rules can require review of additional actions.

To confirm an action, click the URL provided by your agent and review the details of the request.
![Confirm a refund request](https://b.stripecdn.com/docs-statics-srv/assets/human-confirmation.d768e677a3bf87585ee29a003df41b00.png)

Confirm a refund request

When you click **Approve**, Stripe provides the agent with an approval token, but you need to tell the agent to retry the operation, which doesn’t require human confirmation. If you don’t approve the action within 24 hours, it expires.

## Use MCP with connected accounts 

By default, Stripe MCP tools operate on the Stripe account associated with your OAuth session or API key. If you only need your agent to work with your platform account, [manually set up Stripe MCP](https://docs.stripe.com/mcp.md#manual).

If you’re a [Connect platform](https://docs.stripe.com/connect.md), you can also use MCP to retrieve or update resources for your connected accounts. For example, a support agent could retrieve a customer or investigate a payment for a specific connected account.

MCP doesn’t support OAuth when acting on behalf of connected accounts. Instead, authenticate with an [agent API key](https://docs.stripe.com/keys.md#agent-keys) for your platform and grant only the connected-account permissions that your agent needs.

To make an MCP call as a connected account, pass the `Stripe-Account` header. This is useful when you provide an agent that allows your connected accounts to make MCP calls through your platform.

```json
{
  "mcpServers": {
    "stripe": {
      "url": "https://mcp.stripe.com",
      "headers": {
         "Authorization": "Bearer {{AGENT_API_KEY}}",
         "Stripe-Account": "{{CONNECTED_ACCOUNT_ID}}"
      }
    }
  }
}
```

## See also

- [Plugin for agents](https://docs.stripe.com/agents/plugin.md)
- [Agent skills](https://docs.stripe.com/skills.md)
- [View MCP tool call logs in Workbench](https://docs.stripe.com/workbench/overview.md#mcp-tool-call-logs)
