# Connect Claude, ChatGPT and Other AI Apps

> Add Potions as a connector and sign in with your Potions account, no token to copy.

Potions runs an MCP server at `https://potions.io/mcp`. Add it to an AI app, sign in to Potions in your browser, and choose what the app may do. The app never sees a password or an API token.

## What a connected app can do

When you connect an app, Potions shows you its name and where it will send you back, and asks which abilities to grant:

- **See your apps, servers and deployments** (always on), including deploy logs with secret values removed
- **Deploy and roll back** your apps
- **Create new apps** on your servers
- **Set non-secret settings and generate secrets**, without ever seeing their values
- **Create servers** on your connected cloud accounts, which bills those accounts: the app shows you the price and asks first
- **Ask to delete apps**: you confirm each deletion in Potions yourself

You can also limit a connection to a single app, which also rules out creating apps and servers. Connected apps can never delete a server, delete anything else without you, open a console, or read environment variable values. When an app needs a secret value, it gives you a link to enter it in Potions yourself.

Apps Potions recognizes (Claude, Claude Code, ChatGPT, Codex, VS Code, Zed) show as **Verified**. Any other app shows the address it came from and the name it calls itself, so you can tell a real app from a look-alike. If an app sends you back to `localhost`, approve only if you just started connecting on this computer.

## Claude

In Claude on the web or Desktop, [add Potions as a custom connector](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Potions&connectorUrl=https%3A%2F%2Fpotions.io%2Fmcp): the link opens the form with the name and URL filled in. You can also add a custom connector yourself with the URL `https://potions.io/mcp`. Claude opens Potions so you can sign in and approve.

In Claude Code:

```
claude mcp add --transport http --scope user potions https://potions.io/mcp
```

Then start Claude Code (restart it if it's running), run `/mcp`, choose **potions** and **Authenticate**. `--scope user` adds Potions to every project. Without it, Claude Code adds it only to the folder you ran the command in.

## ChatGPT

In ChatGPT on the web, open **Plugins**, choose the plus button, then **Add custom MCP server**. Enter the URL `https://potions.io/mcp` and choose OAuth. Custom MCP servers are available on some ChatGPT plans.

## Codex, Cursor, VS Code and Gemini CLI

- Codex: `codex mcp add potions --url https://potions.io/mcp`. Codex opens Potions in your browser to sign in; if it doesn't, run `codex mcp login potions`
- Cursor: add `"potions": {"url": "https://potions.io/mcp"}` under `mcpServers` in `~/.cursor/mcp.json`
- VS Code: add `"potions": {"type": "http", "url": "https://potions.io/mcp"}` under `servers` in `.vscode/mcp.json`
- Gemini CLI: `gemini mcp add --transport http --scope user potions https://potions.io/mcp` (without `--scope user`, Gemini CLI adds it only to the current project)

## Disconnecting

Your [account page](/account) lists every connected app with what it can do and when it was last used. **Disconnect** stops it immediately. A connection also ends after 30 days without use, and after 90 days at most; reconnecting takes one approval. If Potions ever sees the same sign-in credential used twice, it disconnects the app to be safe, and you can connect it again.

## Prefer a token?

For CI, scripts or a shell, use [the Potions CLI](/docs/cli) or an [API token](/docs/api-tokens). To give an MCP client a token instead of signing in, see [Use Potions over MCP](/docs/mcp-server).
