> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Stripe

> Check whether payments are failing, and for which customers, while you respond.

Connect Stripe as a [connector](https://docs.incident.io/nexus/extensions/connectors.md) to let incident.io's agents look up payments, customers and subscriptions, so an investigation can tell whether an incident is costing you payments, and whose.

Stripe offers two ways in:

* **[MCP server](#connect-the-mcp-server)** Recommended: Stripe maintains the tools, and you sign in with OAuth.
* **[HTTP API](#connect-the-http-api)**: use this when you want to choose exactly which API operations agents can call.

**What you'll need:**

* A Stripe account with access to the accounts you want agents to reach.
* The **Manage Nexus sources** permission in incident.io.

## Connect the MCP server

Stripe's [MCP server](https://docs.stripe.com/mcp) recommends OAuth. When you sign in, you choose which accounts and sandboxes agents can reach.

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **MCP server**.
2. Leave network access as **Public internet**, and give the connector a display name such as `Stripe`.
3. Enter `https://mcp.stripe.com` as the server URL, and click **Check URL**.
4. Under **Authentication**, choose how to sign in:
   * **OAuth**. Click **Connect with OAuth**, sign in to Stripe, and choose the accounts and permissions to grant.
   * **Bearer token**, with a restricted key created for agent access (see [below](#create-a-restricted-key)). The Stripe MCP server only accepts agent keys from January 11, 2027.
5. Review which tools are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

> [!NOTE]
>
> Stripe admins can turn MCP access on or off for the whole team, separately for live mode and sandboxes, in [MCP and
> CLI access settings](https://dashboard.stripe.com/settings/mcp-and-cli-access).

## Connect the HTTP API

### Create a restricted key

1. In the Stripe Dashboard, go to [API keys](https://dashboard.stripe.com/apikeys) and click **Create restricted key**.
2. When asked how you'll use the key, choose **Authorizing agent access to your account**.
3. Give the key a name, set **Read** on the resources agents need, and leave the rest as **None**.
4. Click **Create key**, and copy it. It can't be shown again.

### Connect it in incident.io

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **HTTP API**.
2. Paste Stripe's [OpenAPI document](https://github.com/stripe/openapi). It describes the whole API and is several megabytes, so trim it to the operations agents need.
3. Enter `https://api.stripe.com` as the base URL.
4. Under authentication, choose **Bearer token** and enter your restricted key.
5. Test the connection, review which operations are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

See [Connectors](https://docs.incident.io/nexus/extensions/connectors.md#permissions) for how to control which tools agents can call, and from where.

## Pair it with a skill

Agents work best with a connector when it's paired with a [skill](https://docs.incident.io/nexus/extensions/plugins.md). For Stripe, say which accounts serve which products, how a customer in Stripe maps to an organization in your other systems, and what a normal payment failure rate looks like.
