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

# Connect the Stripe MCP server

> Connect Stripe's hosted MCP server to Condotta with the built-in connector and a restricted API key, or as a custom server with OAuth sign-in.

Stripe hosts an MCP server at `https://mcp.stripe.com` that gives AI agents read and write access to the Stripe API, plus search across Stripe's documentation. Connect it to Condotta to look up customers and payments, create invoices or payment links, or investigate disputes inside a workflow.

> [!NOTE]
>
> Condotta does not curate the tool list; Stripe does. For the live set of tools and their parameters, see [Stripe's MCP documentation](https://docs.stripe.com/mcp).

## Two ways to connect

Both routes reach the same `https://mcp.stripe.com` endpoint and expose the same tools. They differ in how Condotta authenticates.

| Route | Authentication | Best for |
| - | - | - |
| **Stripe (Official MCP)** connector | Restricted or secret API key | Team-owned automation, tightly scoped access, separate test and live connections |
| **Custom server** | OAuth sign-in as your Stripe user | Getting started without creating a key, access tied to a person's Stripe account |

## Before you start

A Stripe account. If your organization manages MCP access, an administrator can allow or block it separately for live mode and sandboxes under [MCP and CLI access](https://dashboard.stripe.com/settings/mcp-and-cli-access "Stripe Dashboard: MCP and CLI access").

## Connect with the Stripe connector

> [!NOTE]
>
> This connector requires a **connection** with valid credentials before it can be used in a workflow. See [Managing Connections](https://docs.condotta.ai/platform/connections.md) for setup instructions.

**1. Create a restricted API key (recommended)**

Sign in to the [Stripe Dashboard](https://dashboard.stripe.com/apikeys), open **Developers → API keys**, and click **Create restricted key**.

Restricted keys let you grant only the permissions your workflows actually need (e.g. **Read** on Customers, **Write** on Refunds). Stripe strongly recommends this over your full secret key, since an agent with a full key can do anything in your account, including issuing refunds and creating charges.

If you absolutely need full access, you can use a standard secret key (`sk_live_...` or `sk_test_...`), but treat it like a password.

**2. Add the connection in Condotta**

Go to **Connections** in Condotta, click **Add Connection**, select **Stripe (Official MCP)**, and paste the key into the **Secret Key** field.

Use a **test-mode key** (`sk_test_...` or `rk_test_...`) while you're building workflows, then swap to a live-mode key when you're ready to go to production.

## Connect as a custom server

Use this route to sign in with OAuth instead of creating a key. Condotta adds it as a [custom MCP server](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md).

### Server URL

```
https://mcp.stripe.com
```

**1. Add a custom server**

Go to **Connections** and click **Add custom server**. Enter a **Name** such as `Stripe` and paste the **Server URL**.

**2. Keep Auto authentication**

Leave **Authentication** on **Auto**, choose a visibility, and click **Save & connect**.

**3. Approve access in Stripe**

Stripe opens its OAuth consent page. Sign in, review the requested access, and authorize. Condotta marks the connection **Connected** and refreshes the token automatically.

### Alternative: a restricted key on a custom server

Stripe also accepts a [restricted API key](https://docs.stripe.com/keys/restricted-api-keys "Stripe documentation: restricted API key") as a bearer token. Choose **Token** instead of Auto, paste the key (`rk_...`), keep the header `Authorization` with prefix `Bearer`, and click **Add**.

Acting on a Connect platform's connected accounts needs an extra `Stripe-Account` header on every call. Custom servers send a single authentication header, so connected accounts aren't supported this way.

## Use it in a workflow

Add a **Connector** node and pick **Stripe (Official MCP)**, or your Stripe server under **Custom Servers**, then choose **Agent Mode** or **Direct Mode**. See [Use a custom server in a workflow](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md#use-a-custom-server-in-a-workflow).

## Things to know

* **This is the full Stripe API.** Stripe's hosted MCP exposes their entire surface, including destructive operations (refunds, subscription cancellation, customer deletion). Pair it with a restricted key whose scopes match what your workflows actually do, and prefer test-mode keys during development.
* **Test and live are separate connections.** With a key, the prefix decides the environment (`sk_test_` versus `sk_live_`); there is no environment field on the connection. With OAuth, a session granted for a sandbox does not reach live mode. Either way, create one Condotta connection per environment.
* **The key represents your account.** A standard secret key has full Stripe API access; a restricted key has whatever scopes you grant when creating it. Treat both like passwords.
* **Some writes need a human.** Stripe requires confirmation before certain write actions, such as refunds and outbound payments. The tool returns a link; a person approves it in Stripe, then the action is retried. Approvals expire after 24 hours.
* **Revoke OAuth access in Stripe.** Authorized sessions are listed under **OAuth sessions** in your [user settings](https://dashboard.stripe.com/settings/user "Stripe Dashboard: user settings"). Administrators can revoke other members' sessions from [Team and security](https://dashboard.stripe.com/settings/team "Stripe Dashboard: Team and security").
* **MCP endpoint is hosted by Stripe.** Availability, rate limits, and the exact tool surface are determined by Stripe. Outages and breaking changes are upstream.

## When to use this vs the Condotta Stripe connector

Condotta also offers a separate, curated [Stripe connector](https://docs.condotta.ai/connectors/integrations/stripe.md) with a smaller, opinionated tool set tuned for common workflows. Use the hosted MCP server when:

* You need access to a Stripe API the curated connector doesn't expose
* You want the broadest possible surface for an AI agent to work with

Use the **Condotta Stripe** connector when you want a tighter, lower-token, opinionated set of tools.

## Troubleshooting

> [accordion] Connection is refused
>
> An administrator may have turned off MCP access for that environment. Check [MCP and CLI access](https://dashboard.stripe.com/settings/mcp-and-cli-access "Stripe Dashboard: MCP and CLI access") in the Dashboard.

> [accordion] A write action never completes
>
> Stripe may be waiting for human confirmation. Open the confirmation link the tool returned, approve it, then run the step again.

## Learn more

* [Stripe Model Context Protocol](https://docs.stripe.com/mcp)

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.