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

# Privy MCP

> Connect AI assistants like ChatGPT and Claude to your Privy account with the Privy MCP server.

The Privy MCP server connects AI assistants like ChatGPT and Claude to your Privy account. Your assistant can look up your campaigns, contacts, coupons, displays, flows, orders, segments, and store products, and it can draft email and SMS campaigns for you. Ask questions like "How did my welcome flow do last month?" or "Which of my popups converts best?" in any [MCP](https://modelcontextprotocol.io/)-compatible assistant.

Campaigns your assistant creates are saved as drafts in [Campaigns](https://dashboard.privy.com/message-campaigns). You review, edit, schedule, and send them from your dashboard. Assistants can't send, schedule, or delete campaigns.

## Requirements

* A **paid Privy plan**.
* An AI assistant that supports remote MCP servers with OAuth.

You don't need to create an API token or OAuth application. When your assistant first connects, it opens a browser window where you log in to Privy and pick a business — the same login you use for the [Privy dashboard](https://dashboard.privy.com). If every business on your login is on a free plan, the window shows that a paid plan is required instead of the picker. If you have both paid and free businesses, the picker leads with the paid ones; free businesses can appear disabled with a **free plan — upgrade required** label.

## What your assistant can read

| Area | What's available |
| - | - |
| Account | Business details, subaccounts, onboarding and setup status |
| Campaigns | Email and SMS campaigns with performance stats, and email templates |
| Contacts | Search and read contacts, including by tag, and their consent status |
| Coupons | Coupon codes and how they're being used |
| Displays | Popups, flyouts, banners, and embedded forms |
| Flows | Automation flows with triggers, filters, and steps |
| Orders | Orders across every source, with date filters |
| Products | Your connected store's product catalog |
| Segments | Segment definitions, sizes, and members |

## Draft campaigns

Ask something like "Draft an email announcing this week's sale." Your assistant saves it as a draft in Campaigns.

Email drafts can start from your saved [email templates](https://help.privy.com/docs/learn/email-campaigns/email-templates.md) or Privy's templates, and they can use images already in your [Image Gallery](https://help.privy.com/docs/learn/content/adding-images-to-emails.md). Assistants can't upload new images. Drafts can personalize with your custom fields.

If you connected your assistant before campaign drafting was available, disconnect and reconnect it to turn on drafting.

## Server URL

```text theme={null}
https://mcp.privy.com/mcp/
```

## ChatGPT

### ChatGPT personal

On individual ChatGPT paid plans, you first need to enable **Developer Mode** in **Settings → Security & login → Developer mode**. Next, visit **Plugins** and hit the **+ button** to add a Custom Plugin. Name the Custom Plugin "Privy" and add the server URL above yourself. See the overview video below.

<video src="https://mintcdn.com/privy/TsslMXEMqZ9HFzuZ/videos/ChatGPT-Privy-MCP-1.mp4?fit=max&auto=format&n=TsslMXEMqZ9HFzuZ&q=85&s=3c94deab0a9b7851f1b1f63ff67abcfc" controls />

## Claude

### Claude personal

Privy is available in the Claude Connectors Directory. Open the [Privy listing](https://claude.ai/directory/privy) and click **Connect**, or search for **Privy** under **Settings → Connectors** in Claude web or desktop. If you can't use the directory, you can add a custom connector with the server URL above.

### Claude organizations

On Claude Team and Enterprise plans, Privy connects to Claude's web and desktop apps as an **organization connector**, managed by a Claude admin.

**1. Admin: enable Privy from the directory**

A Claude admin goes to **Admin settings → Connectors**, finds **Privy** in the Connectors Directory, and enables it for the organization.

**2. Connect your Privy account**

In a chat, open the tools menu, find **Privy**, and click **Connect**. Claude opens a browser window — log in to Privy and select your business.

**3. Use it in a chat**

With the Privy connector enabled, ask Claude about your account — for example, "How did my abandoned cart flow perform last month?"

### Claude Code

Privy can be installed from the Connectors Directory or added from your terminal:

```bash theme={null}
claude mcp add --transport http privy https://mcp.privy.com/mcp/
```

The first time Claude Code uses a Privy tool, it opens a browser window to log in and select your business.

## Gemini CLI

Add the server from your terminal:

```bash theme={null}
gemini mcp add --transport http privy https://mcp.privy.com/mcp/
```

Gemini CLI discovers the OAuth requirement automatically and opens a browser window to log in and select your business. If you aren't prompted, run `/mcp auth privy` inside the CLI to start the login.

## Cursor

Add Privy to `~/.cursor/mcp.json` (or a project's `.cursor/mcp.json`):

```json theme={null}
{
  "mcpServers": {
    "privy": {
      "url": "https://mcp.privy.com/mcp/"
    }
  }
}
```

Cursor prompts you to authenticate with Privy the first time the server is used.

## Other MCP clients

Any client that supports remote MCP servers with OAuth works with this standard configuration:

```json theme={null}
{
  "mcpServers": {
    "privy": {
      "type": "http",
      "url": "https://mcp.privy.com/mcp/"
    }
  }
}
```

## Disconnecting

Remove the Privy server from your assistant's MCP or connector settings. That ends the assistant's access; reconnecting requires logging in to Privy again.

## Troubleshooting

* **Login succeeds but the connection fails** — make sure your account is on a paid Privy plan. If it is and connecting still fails, contact [Support](mailto:support@privy.com).
* **No business appears during login** — if every business is on a free plan, the login window shows that a paid plan is required instead of the picker.
* **Requests return `paid_plan_required`** — the selected business is on a free plan. Upgrade the plan; reconnecting alone will not restore access.
* **Requests start failing after working fine** — the business may have moved to a free plan. Upgrade the plan; reconnecting alone will not restore access.
* **Your assistant can't draft campaigns** — disconnect and reconnect your assistant. When you log in again, approve access to create and edit campaign drafts.
