# Stripe MCP Server: Setup, Agent Keys & the January 2027 Key Change

> Stripe’s official MCP server stops accepting secret keys and plain restricted keys on 11 January 2027. What to switch to, setup for Claude Code and Cursor, the current tool list, and the safety settings that matter.

**Source:** https://mcpplaygroundonline.com/blog/stripe-mcp-server-agent-keys  
**Author:** Nikhil Tiwari  
**Published:** 2026-12-03  
**Category:** Server Guides  
**Reading time:** 6 min read  
**Topics:** stripe mcp, stripe mcp server, stripe mcp agent key, stripe mcp setup, mcp.stripe.com, stripe mcp claude code, stripe mcp tools, stripe agent toolkit

---

TL;DR

-   **Official endpoint:** `https://mcp.stripe.com`. Claude Code: `claude mcp add --transport http stripe https://mcp.stripe.com/`.
-   **Deadline:** from **11 January 2027**, Stripe MCP stops accepting full-access secret keys and non-agent restricted keys. They get a 401.
-   **Use instead:** OAuth for people in interactive clients, agent API keys for autonomous agents.
-   **It can move money.** Treasury tools include `send_money` and `transfer_money`. Some actions need human confirmation in the Dashboard.
-   **Fastest setup:** `stripe agent setup` with Stripe CLI 1.43.3 or later.

Table of Contents

1.  [What the Stripe MCP server does](#what)
2.  [The January 2027 key change](#keys)
3.  [OAuth vs agent API keys](#auth)
4.  [Set up the Stripe MCP server](#setup)
5.  [Stripe MCP tools](#tools)
6.  [Stripe MCP safety: it can move money](#safety)
7.  [Test the Stripe MCP server](#test)
8.  [FAQ](#faq)

Stripe’s official MCP server has grown well beyond “look up a customer”. It now reads and writes across the Stripe API, plans integrations, and, through Treasury tools, can send and transfer money.

There is also a deadline most guides haven’t caught up with. From 11 January 2027, the server stops accepting the secret keys and plain restricted keys that most tutorials tell you to paste.

If you connected an agent to Stripe MCP with `sk_live_` or an ordinary `rk_` key, it will start failing with a 401. This guide covers what to switch to, the full setup, the current tool list, and the safety settings that matter when a model can touch payments.

## What the Stripe MCP Server Does

The hosted server at `https://mcp.stripe.com` gives an MCP client access to your Stripe account and Stripe’s documentation. You can ask about customers, subscriptions and invoices, make API changes, search the docs and plan an integration from one chat.

For a quick overview and example prompts, see the [Stripe MCP server page](/mcp-servers/stripe). This guide goes deeper on auth, tools and safety.

## The January 2027 Stripe MCP Key Change

Stripe’s MCP docs put it plainly: starting 11 January 2027, Stripe MCP will no longer accept full-access secret keys or non-agent restricted API keys. Requests with an unsupported key get a 401.

Key type

After 11 January 2027

Full-access secret key (`sk_live_`, `sk_test_`)

Rejected

Restricted key that isn’t an agent key

Rejected

Agent API key

Accepted

OAuth (interactive clients)

Accepted

Find every place a Stripe key is configured for MCP: client configs, CI secrets, agent frameworks, internal tools. Replace each one with an agent key or move it to OAuth before the date, not after the first 401.

Why this is a good change

A full secret key gives an agent everything your account can do. Agent keys exist so you can give a model a narrower, separately revocable credential. Even before the deadline, a live secret key has no place in an MCP client config.

## Stripe MCP Authentication: OAuth vs Agent API Keys

-   **OAuth** is for interactive clients, such as Claude Code or Codex, where a person logs in. OAuth refresh tokens expire after 14 days. Revoke sessions under _OAuth sessions_ in your user settings.
-   **Agent API keys** are for autonomous agents and scripts. Send the key as `Authorization: Bearer` .

One rule of thumb: if a human is at the keyboard, use OAuth. If the agent runs unattended, use an agent key with only the permissions it needs, one key per agent.

## Set Up the Stripe MCP Server

### Stripe CLI (Stripe’s preferred route)

Terminal

```
# Stripe CLI 1.43.3 or later
stripe agent setup
```

### Claude Code

Terminal

```
claude mcp add --transport http stripe https://mcp.stripe.com/
# then, inside Claude Code:
/mcp
```

### Claude Code with an agent key

Terminal

```
claude mcp add --transport http stripe https://mcp.stripe.com/ \
  --header "Authorization: Bearer ${AGENT_API_KEY}"
```

### Cursor and other JSON-config clients

mcp.json

```
{
  "mcpServers": {
    "stripe": {
      "url": "https://mcp.stripe.com",
      "headers": { "Authorization": "Bearer ${env:STRIPE_AGENT_KEY}" }
    }
  }
}
```

Keep the key in an environment variable, not in the file. My [Cursor MCP setup guide](/blog/cursor-mcp-setup-guide) covers how variables work in `mcp.json`.

## Stripe MCP Tools

Group

Tools

Stripe API

`stripe_api_search`, `stripe_api_details`, `stripe_api_read`, `stripe_api_write`

Account

`get_stripe_account_info`

Docs and planning

`search_stripe_documentation`, `stripe_implementation_planner`

Analytics

`stripe_analytics` (preview)

Atlas

`atlas_company_formation`

Treasury

`get_balance_summary`, `convert_currency`, `send_money`, `setup_recipient`, `transfer_money`

Other

`stripe_directory_search` (private preview), `send_stripe_feedback`

The four API tools are the core. Instead of one tool per endpoint, the model searches for the right API method, reads its details, then calls it with `stripe_api_read` or `stripe_api_write`. That keeps the tool list short, but it means one write tool covers a lot of ground.

Some API methods are only available in Stripe’s Frontier, public preview or private preview programmes, so a tool may report a method your account can’t use yet.

## Stripe MCP Safety: It Can Move Money

Treat this server like a payments dashboard with a chat box on it. Stripe’s own guidance, plus a few rules of mine:

-   Turn on tool approval in your client, especially for `stripe_api_write`, refunds and Treasury tools.
-   Expect Dashboard confirmation for some actions, such as refunds, `send_money` and `transfer_money`. Approval links expire after 24 hours.
-   Be careful when Stripe shares a client with other MCP servers. A tool result from another server can carry instructions aimed at the Stripe tools.
-   Start in test mode, and give agent keys the narrowest permissions that still do the job.
-   Admins can turn off MCP access for the whole team if you need a kill switch.

Prompt injection across servers is the risk people underestimate. [MCP tool poisoning and the OWASP MCP Top 10](/blog/mcp-security-tool-poisoning-owasp-top-10-mcp-scan) explains how one server’s output can steer calls to another.

## Test the Stripe MCP Server

1.  Create an agent API key on a test-mode account.
2.  Open the [MCP server tester](/mcp-test-server), paste `https://mcp.stripe.com` and put `Bearer your-agent-key` in the auth header field.
3.  Check the tool list, then call `get_stripe_account_info` and a read through `stripe_api_read`.
4.  Confirm that an old secret key gets a 401, so you know your migration actually moved.

To compare how models handle multi-step billing questions, run the same prompt in [MCP Agent Studio](/mcp-agent-studio) on two or three models. The search, read details, then call pattern is where weaker models slip.

Check your Stripe MCP connection

Paste the URL and a test-mode agent key, list the tools and call them. Free, in the browser.

[Test any MCP server free →](/mcp-test-server) [Stripe MCP server page](/mcp-servers/stripe)

### Bottom line

Connect to `https://mcp.stripe.com` with OAuth or an agent key, and replace every secret or plain restricted key before 11 January 2027. Keep approvals on, because this server can move money.

## FAQ: Stripe MCP Server

**What is the Stripe MCP server URL?+**

Stripe hosts its official MCP server at https://mcp.stripe.com. In Claude Code, add it with claude mcp add --transport http stripe https://mcp.stripe.com/ and run /mcp to log in.

**What changes for Stripe MCP keys in January 2027?+**

Stripe’s docs say that starting 11 January 2027, Stripe MCP will no longer accept full-access secret keys or restricted API keys that are not agent keys. Requests with those keys get a 401. Switch to OAuth or an agent API key before then.

**How do I authenticate the Stripe MCP server?+**

Interactive clients such as Claude Code use OAuth, and the refresh token lasts 14 days. Autonomous agents send an agent API key as Authorization: Bearer . Stripe also offers stripe agent setup in the Stripe CLI, version 1.43.3 or later, as its preferred install route.

**What tools does the Stripe MCP server have?+**

API tools (stripe\_api\_search, stripe\_api\_details, stripe\_api\_read, stripe\_api\_write), get\_stripe\_account\_info, search\_stripe\_documentation, stripe\_implementation\_planner, a preview analytics tool, Atlas company formation, and Treasury tools including get\_balance\_summary, send\_money and transfer\_money.

**Can an AI agent move money through Stripe MCP?+**

The server has write tools, including refunds, send\_money and transfer\_money. Stripe requires human confirmation in the Dashboard for some of these actions, and approval links expire after 24 hours. Turn on tool approval in your client as well, and use an agent key with the narrowest permissions.

**Can I turn off Stripe MCP for my team?+**

Yes. Stripe’s docs say admins can disable MCP access for the team. You can also revoke individual OAuth sessions under OAuth sessions in your user settings.

### Sources

-   [Stripe docs: Model Context Protocol](https://docs.stripe.com/mcp)
-   [Stripe CLI](https://docs.stripe.com/stripe-cli)
-   [Stripe docs: API keys](https://docs.stripe.com/keys)
-   [MCP specification: authorization](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization)

## Frequently asked questions

### What is the Stripe MCP server URL?

Stripe hosts its official MCP server at https://mcp.stripe.com. In Claude Code, add it with claude mcp add --transport http stripe https://mcp.stripe.com/ and run /mcp to log in.

### What changes for Stripe MCP keys in January 2027?

Stripe’s docs say that starting 11 January 2027, Stripe MCP will no longer accept full-access secret keys or restricted API keys that are not agent keys. Requests with those keys get a 401. Switch to OAuth or an agent API key before then.

### How do I authenticate the Stripe MCP server?

Interactive clients such as Claude Code use OAuth, and the refresh token lasts 14 days. Autonomous agents send an agent API key as Authorization: Bearer <key>. Stripe also offers stripe agent setup in the Stripe CLI, version 1.43.3 or later, as its preferred install route.

### What tools does the Stripe MCP server have?

API tools (stripe_api_search, stripe_api_details, stripe_api_read, stripe_api_write), get_stripe_account_info, search_stripe_documentation, stripe_implementation_planner, a preview analytics tool, Atlas company formation, and Treasury tools including get_balance_summary, send_money and transfer_money.

### Can an AI agent move money through Stripe MCP?

The server has write tools, including refunds, send_money and transfer_money. Stripe requires human confirmation in the Dashboard for some of these actions, and approval links expire after 24 hours. Turn on tool approval in your client as well, and use an agent key with the narrowest permissions.

### Can I turn off Stripe MCP for my team?

Yes. Stripe’s docs say admins can disable MCP access for the team. You can also revoke individual OAuth sessions under OAuth sessions in your user settings.


---

_Canonical page: https://mcpplaygroundonline.com/blog/stripe-mcp-server-agent-keys — MCP Playground (mcpplaygroundonline.com), the free browser-based tool for testing MCP servers and building AI agents._
