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

# Connect your AI

> From zero to an AI agent that works on your CRM and edits your Studio pages, with one connector: Claude, ChatGPT, Le Chat, Gemini, Cursor, Codex and more.

One connector gives your AI agent both halves of Tagada: the **CRM** (stores, funnels, orders, setup checks) and **Studio** (your pages, edited live). Nothing to install: it takes about five minutes, whichever AI you use.

```text theme={null}
https://api.tagada.io/api/mcp
```

> [!NOTE]
>
> **CRM V3 and CRM V2 stores both work.** The CRM tools of the connector work on every store. Studio pages depend on where the store runs:
>
> | Your store runs on | Its pages open in | Your agent reaches them through |
> | - | - | - |
> | **CRM V3** (`v3.tagada.io`) | Studio V3 | the connector below, or the [local server](#local-server) |
> | **CRM V2** | the CRM V2 builder | the [local server](#local-server) |

## What you need

* A **Tagada account** with access to the store you want to work on.
* An AI client that supports remote MCP connectors (the tabs below). On team plans, adding a connector is often an admin's job; each member then only signs in.

## 1. Add the connector

Pick your AI. In Studio, the **MCP not connected** badge at the top opens the same steps, with the address of your environment already filled in.

> [tab] Claude
>
> Claude on the web, desktop and mobile share one connector.
>
> 1. Open **Settings → Connectors** and click **Add custom connector**.
> 2. Name it **Tagada** and paste `https://api.tagada.io/api/mcp`. Leave the OAuth fields empty, then click **Add**.
> 3. Click **Connect** next to the connector and sign in with your Tagada account.
>
> Custom connectors work on every plan; the Free plan allows one. On **Team and Enterprise** plans, an owner adds the connector once in **Organization settings → Connectors**, then each member only signs in.

> [tab] ChatGPT
>
> Custom connectors sit behind **developer mode** (web app, paid plan).
>
> 1. Switch on developer mode in ChatGPT's settings.
> 2. Add a custom connector and paste `https://api.tagada.io/api/mcp`.
> 3. Sign in with your Tagada account when ChatGPT asks.
>
> On Business and Enterprise workspaces, an admin may have to allow connected data before it appears.

> [tab] Le Chat (Mistral)
>
> 1. Open **Connectors**, click **Add Connector** and choose the **Custom MCP Connector** tab.
> 2. Name it **Tagada**, paste `https://api.tagada.io/api/mcp` and click **Connect**.
> 3. Sign in with your Tagada account, then turn **Tagada** on in the chat's tools menu.
>
> Only a workspace admin can add a connector. On Free, Pro and Student plans, that is the account owner.

> [tab] Gemini CLI
>
> ```bash theme={null}
> gemini mcp add --transport http tagada https://api.tagada.io/api/mcp
> ```
>
> Then, in Gemini CLI, run `/mcp auth tagada` and sign in with your Tagada account. Add `--scope user` to use it in every project.

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http tagada https://api.tagada.io/api/mcp
> ```
>
> Then run `/mcp`, pick **tagada** and sign in with your Tagada account.

> [tab] Cursor
>
> Add this to `.cursor/mcp.json`, or to your global Cursor settings:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "tagada": {
>       "url": "https://api.tagada.io/api/mcp"
>     }
>   }
> }
> ```
>
> Cursor asks you to sign in the first time it calls a Tagada tool.

> [tab] Codex
>
> ```bash theme={null}
> codex mcp add tagada --url https://api.tagada.io/api/mcp
> codex mcp login tagada
> ```

> [tab] Other clients
>
> Any client speaking **Streamable HTTP** with **OAuth 2.1** works, usually with this config:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "tagada": {
>       "url": "https://api.tagada.io/api/mcp"
>     }
>   }
> }
> ```
>
> Restart the client after saving its config: most only read it at startup.

Staging accounts use `https://api.tagada.dev/api/mcp` instead.

## 2. Try the CRM

Start a new chat, check that **Tagada** is turned on in your client's tools menu, and ask:

> "List my Tagada stores."

Your agent answers with your stores. Then try:

* "Show me the funnel of store X."
* "Check store X for setup problems."
* "Why are cards declined on store X?"

Your agent asks before it runs a tool that changes something. Read what it is about to do before you allow it.

## 3. Edit a page in Studio

**1. Open the page**

Open the page in Studio from the CRM V3 dashboard, signed in with the **same Tagada account** as your agent. You can also ask your agent: "Give me the Studio link for the checkout page of store X." On a **CRM V2** store, open the page in the CRM V2 builder and connect your agent with the [local server](#local-server).

**2. Keep the tab open**

The tab connects by itself: there is nothing to click. Your agent works through it, so leave it open while you work. The badge at the top of Studio turns green when your agent reaches the tab.

**3. Check the connection**

Ask: "Which Studio tabs do I have open?" Your agent lists your tab with its store and page.

Then try a first edit:

* "Show me the structure of the page."
* "Change the main heading to 'Hello World'." The change appears live in the Studio tab.
* "Take a mobile screenshot of the page."
* "Save the page."

> [!WARNING]
>
> **Saving publishes.** Studio has no draft: a save puts the page live at its funnel address. Edits stay in the open tab until the page is saved, and you can undo them in Studio, so look at the result before you ask your agent to save.

## Local server (optional)

Studio can also take its commands from a server running on your computer, instead of through `api.tagada.io`. Your agent gets the **same Studio tools** either way, and the same rules for building pages, read from the Studio tab it is connected to. Choose local when you work from a desktop AI (Claude Code, Cursor, Codex, Gemini CLI, Claude Desktop) and want the tab to show at once whether the server is there. The web chats (Claude on the web, ChatGPT, Le Chat) cannot start a program on your computer: they use the connector above.

It is also how your agent edits the pages of a **CRM V2** store: the CRM V2 builder only reaches a local server, and finds it by itself on `ws://localhost:14333` (there is no switch to choose). Add the server to your AI as below, then open the page in the CRM V2 builder.

On a CRM V3 store, open the AI dialog in Studio from the badge at the top and choose **Local**. Studio remembers the choice in this browser and shows the steps for your AI:

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add tagada-studio -- npx -y @tagadapay/studio-mcp@latest --stdio
> ```

> [tab] Codex
>
> ```bash theme={null}
> codex mcp add tagada-studio -- npx -y @tagadapay/studio-mcp@latest --stdio
> ```

> [tab] Cursor, Gemini CLI, Claude Desktop, others
>
> Add this to the client's MCP config (`.cursor/mcp.json`, `~/.gemini/settings.json`, Claude Desktop's **Settings → Developer → Edit Config**), then restart the client:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "tagada-studio": {
>       "command": "npx",
>       "args": ["-y", "@tagadapay/studio-mcp@latest", "--stdio"]
>     }
>   }
> }
> ```

**1. Let your AI start the server**

Your AI starts it with Node 20 or later when it starts. The first start downloads the package, which can take up to 30 seconds. `@latest` keeps it current at every start.

**2. Allow local network access**

Chrome asks once whether Tagada may access devices on your local network: choose **Allow**. Studio then finds the server on `ws://localhost:14333`, and the badge at the top turns green.

**3. Say hello**

Ask: "Say hello to my Studio tab." A message appears in the tab when your agent reaches it.

The local server needs no sign-in: it edits the Studio tabs open in the browsers of your computer, as the account signed in there. Any program running on your computer can reach it, so only run it on a computer you trust. With **Local** chosen, the tab still listens to the hosted connector too.

To go back, choose **Hosted** in the same dialog.

## Troubleshooting

| What you see | What to do |
| - | - |
| No Tagada tools in your AI | Turn the connector on in the chat's tools menu. In a CLI or an editor, restart it after adding the connector. If it still does not show, remove the connector and add it again. |
| The sign-in window does not open | Allow pop-ups for your AI's site, then click **Connect** again. |
| Studio says "This store runs on CRM V2" | The page opened in Studio V3, which serves CRM V3 stores. Open it from the CRM V2 builder instead and connect your agent with the [local server](#local-server). The CRM tools work either way. |
| "No Studio tab is open" | Open the page in Studio with the same Tagada account as your agent, and keep the tab open. A tab in a sleeping laptop drops out until it wakes. |
| The edit went to the wrong page | With several Studio tabs open, ask "Which Studio tabs do I have open?" and tell your agent which one to use. |
| You set up `npx @tagadapay/studio-mcp` before | Studio uses it when you choose **Local** in its AI dialog. Update the entry to `@tagadapay/studio-mcp@latest` so it gets the current tools. |
| Local: "Your local Studio MCP is … out" | Your AI runs an older copy of the server. Make it start `@tagadapay/studio-mcp@latest` (the commands above), then restart your AI. |
| Local: "Waiting for the local server" | Check that your AI started the server (restart the AI after editing its config). In Chrome, allow **Local network access** for the site (the lock icon next to the address). Another program on port 14333 blocks it. |

## Next

* [Studio MCP tools](https://docs.tagada.io/developer-tools/studio-mcp/tools-reference.md): every Studio tool and its parameters
* [Config MCP](https://docs.tagada.io/developer-tools/crm-mcp/introduction.md): what the CRM tools check


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