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

## The server is disabled

Confirm that MCP is enabled for the instance and for the workspace under **Workspace > Settings > MCP**.

## The universal connection does not accept my instance

* For Cloud, enter only the subdomain, without `https://` or the domain suffix.
* For a self-hosted instance, enter the public HTTPS origin only, without a path.
* The instance must have an active license and be reachable over HTTPS with a trusted certificate.
* If you recently changed the instance URL, update `APP_URL` and refresh the license from **Admin > Server > License** so the license service learns the new address. See [License Activation](/self-hosting/license-activation#the-mcp-broker-does-not-recognize-the-instance-url).

## No workspace is offered during sign-in

Only workspaces with **Enable MCP access for this workspace** turned on, and that you belong to, are listed. Ask a workspace administrator to enable MCP.

## Authentication fails with an access token

* Copy the token without leading or trailing spaces.
* Include the `Bearer ` prefix before the token.
* Check that the token has not been revoked.
* Create a new token if the original value was lost. Existing tokens cannot be displayed again.
* In Cursor, open **Output**, select **MCP Logs**, and check whether the environment variable was loaded.

## No flows are returned

* Enable **Available in MCP** for the flow.
* Confirm that the connected user can view the flow.
* Check that the flow search tools are enabled in **MCP Tools**.

## A flow cannot be executed

* Confirm that the flow is exposed to MCP.
* Enable the flow execution tool in **MCP Tools**.
* Confirm that the connected user has permission to run the flow.

## A cloud client cannot reach a self-hosted instance

Localhost, private network addresses, firewalls, and invalid TLS certificates can prevent remote clients from reaching Puppetflow. Use a public HTTPS URL or connect from a client running inside the same network.
