---
url: https://docs.puppetflow.com/guide/mcp/claude.md
---
# Connect Claude

Puppetflow supports Claude's native remote connector flow. It uses OAuth 2.0 with PKCE, so users sign in to Puppetflow and approve access without copying a long-lived token into Claude.

All Claude surfaces use the [Universal MCP Connection](/guide/mcp/connection-modes#universal-mcp-connection-recommended):

```text
https://mcp.puppetflow.com/mcp
```

Claude connects from Anthropic's infrastructure. A self-hosted Puppetflow instance therefore needs a public HTTPS endpoint and an active license.

Use [Direct OAuth](/guide/mcp/connection-modes#direct-oauth) to lock the connector to one workspace or connect through a private network.

## Claude on the web

If Puppetflow is listed in the Claude connector directory, enable it from there. Otherwise add it as a custom connector:

1. In Claude, open **Customize > Connectors**.
2. Select **Add custom connector**.
3. Enter `Puppetflow` as the name and `https://mcp.puppetflow.com/mcp` as the URL.
4. Select **Connect**, enter your Cloud subdomain or self-hosted URL, sign in to Puppetflow, and choose the workspace.

For Team and Enterprise organizations, an Owner must first add the connector under **Organization settings > Connectors**. Each member then authorizes their own Puppetflow access and picks their own workspace.

## Claude Desktop

Claude Desktop uses the same connector configuration as Claude on the web:

1. Open **Customize > Connectors**.
2. Add a custom connector with `https://mcp.puppetflow.com/mcp`.
3. Select **Connect**, then complete the instance, sign-in, and workspace steps.
4. Open the tools menu and confirm that Puppetflow tools are available.

The connection is associated with your Claude and Puppetflow accounts. You can revoke it from either Claude or **Workspace > Settings > MCP**.

## Claude Code

Run:

```bash
claude mcp add --transport http puppetflow https://mcp.puppetflow.com/mcp
```

Then open Claude Code and run:

```text
/mcp
```

Select **Authenticate** if prompted. Claude Code opens Puppetflow in your browser so you can choose your instance, sign in, and pick the workspace. The `puppetflow` server should then show as connected.

By default, Claude Code saves the server for the current project. Add `--scope user` if you want it available across your projects. Replace the URL with a Direct OAuth endpoint to bypass the universal broker.
