# Connect Taggor to MCP

> Connect an MCP client to Taggor's remote server, sign in and approve access to a workspace.

Taggor has a remote Model Context Protocol (MCP) server. Any MCP client can use it to create components, publish versions and manage sites in your workspace, within the permissions you approve.

|                |                                                                                                      |
| -------------- | ---------------------------------------------------------------------------------------------------- |
| Server URL     | `https://mcp.taggor.dev/mcp`                                                                         |
| Transport      | Streamable HTTP                                                                                      |
| Authentication | OAuth 2.0 through Taggor's sign-in page. Clients register themselves: there is nothing to configure. |

## Connect a client

1. In your client, add a remote MCP server (some clients call it a custom connector) with the URL `https://mcp.taggor.dev/mcp`.
2. The client opens the Taggor sign-in page. Sign in, or create your account.
3. Ask the client to use Taggor, for example "List my Taggor components". The first time, Taggor answers that it needs your approval and gives you a link. Continue with [Approve access](#approve-access).

### Example: Claude

On the web or in the desktop app, open **Plugins** in the sidebar, click **Add**, then **Add custom connector**. Enter the name `Taggor` and the URL above, and click **Continue**. You can also add the connector in the Claude mobile app, from its connectors screen.

## Approve access

The first time a client uses Taggor, Taggor returns a link instead of data. Open it in the browser where you are signed in to the Taggor portal.

1. Check the application and the permissions the screen lists.
2. Choose the permissions. **Read only** is selected to start: the client can look at your sites, components, data and usage and change nothing. **Read and publish** also lets it create and publish components, promote versions and change sites, and, with an owner or admin role, delete collected data and invite people. The screen lists each one.
3. Choose the workspace the client may use. The approve button stays disabled until you choose one.
4. Approve, go back to the client and repeat your request.

The link is valid for 10 minutes and works once. If it expired or was already used, ask the client again and it gives you a new one. A client never gets more than your own role allows in the workspace (a viewer can only choose **Read only**), and it acts only in the workspace you chose.

If the client later needs more than you approved, for example to publish after you chose **Read only**, it tells you which set is missing and gives you a new link to the same screen, with **Read and publish** selected. Approving it replaces the earlier choice for that workspace. To go back to **Read only**, revoke the access (see below) and approve again.

## Preview a version

Ask the client for a preview of a component. It calls `get_preview_link`, which makes a new private link every time for a version you pick (the latest by default), builds nothing and spends no build. The link opens the component on a test page with a light and a dark background and panels for props, CSS variables and live events. It works for 7 days and anyone who has it can open it, so share it on purpose; ask again for a new one.

## Revoke access

In the portal, open **Settings**, then **Connected agents**, find the application under **Agents via MCP** and click **Revoke**. Access stops at once. The next request from that client asks for your approval again, with a new link.

## Troubleshooting

- **The client says Taggor needs your approval.** Open the link it gives you; see [Approve access](#approve-access).
- **The link expired or was already used.** Ask the client again to get a new one.
- **iOS asks to allow sign-in with `romantic-market-90.authkit.app`.** This is the sign-in service Taggor uses. Continue.
- **The client returns an authentication error.** Disconnect the server in the client and connect it again.

## Use the component on your site

Once a component is published, paste its snippet on your site. Platform guides: [WordPress](https://taggor.dev/docs/platforms/wordpress.md), [Wix](https://taggor.dev/docs/platforms/wix.md) and [other platforms](https://taggor.dev/docs/platforms.md).
