---
url: https://docs.puppetflow.com/guide/mcp/connection-modes.md
---
# MCP connection modes

The **MCP** tab in **Workspace > Settings** offers three ways to connect an AI client, from the simplest to the most manual. All three expose the same tools and the same flows: only the way the client authenticates and the way the workspace is chosen differ.

## Universal MCP Connection (recommended)

Use `https://mcp.puppetflow.com/mcp` for Claude, ChatGPT, and any client that supports remote MCP with OAuth. The address is the same for every Puppetflow Cloud and self-hosted instance, so it is also what the Puppetflow listings in the Claude and ChatGPT catalogs use.

When the client connects:

1. Puppetflow asks for your instance: a Cloud subdomain or the HTTPS URL of your self-hosted installation.
2. You sign in on your own instance. Your password is never shared with the client or with the broker.
3. You choose the MCP-enabled workspace to connect.

No URL specific to your workspace and no access token needs to be copied. The connection appears under **OAuth connected clients** in the workspace settings, where it can be revoked.

For self-hosted instances, the broker only accepts URLs that an active license instance reports as its public address. See [Troubleshooting](/guide/mcp/troubleshooting#the-universal-connection-does-not-accept-my-instance) if your instance is refused.

## Direct OAuth

Use a direct endpoint when the client should talk to your instance without going through `mcp.puppetflow.com`, for example on a private network. Both endpoints are shown in the **Direct OAuth** card:

* **Instance OAuth MCP endpoint**, `https://your-puppetflow.example/mcp`: the user signs in and picks the workspace during authorization, like the universal connection.
* **Workspace OAuth MCP endpoint**, `https://your-puppetflow.example/api/workspaces/work_your_workspace/mcp-server/http`: the connector is locked to this exact workspace.

The client discovers the **Authorize URL** and **Token URL** automatically and registers itself through Dynamic Client Registration. These two URLs are only needed for clients that do not support OAuth discovery and must be configured by hand.

Create a **fixed OAuth client** only when a client requires a pre-registered client ID and redirect URI. Fixed clients are bound to the workspace where they are created. Connected clients and fixed clients can be revoked at any time from the same card.

## Manual Access Token

Use an access token for clients that cannot run an OAuth flow and need a fixed bearer header, such as [Cursor](/guide/mcp/cursor).

1. In the **Manual Access Token** card, copy the **Manual MCP endpoint**.
2. Enter a client name such as `Cursor`.
3. Click **Create token**.
4. Copy the generated `mcp_...` token immediately. It is only displayed once.

The token carries the workspace, so the endpoint is the same for every workspace of the instance.

::: warning
An MCP token acts with the permissions of the user who created it. Do not commit it to a repository, paste it into chat, or share it with another user. Revoke unused tokens from the workspace MCP settings.
:::
