P

Prefect MCP server (local/self-hosted)

MCP discovered

Details
Transport
streamable-http
Docs
https://docs.prefect.io/v3/how-to-guides/ai/use-prefect-mcp-server
Authentication
Prefect Cloud API key bearer discovered Get token ↗
env PREFECT_API_KEY, PREFECT_API_URL

Create an API key in How to manage API keys. You can then configure it with Connect to Prefect Cloud by setting PREFECT_API_KEY and PREFECT_API_URL, or by running prefect cloud login / prefect cloud login --key <YOUR-KEY> as described in Settings and profiles.

Self-hosted Prefect API basic auth string basic discovered Get credentials ↗
env PREFECT_API_AUTH_STRING, PREFECT_API_URL

For a self-hosted Prefect server, enable Basic Authentication by setting server.api.auth_string="admin:pass" on the server, then configure the same value on clients as api.auth_string="admin:pass" or environment variable PREFECT_API_AUTH_STRING, as documented in How to secure a self-hosted Prefect server. This is configured by the server operator; there is no hosted minting flow from Prefect Cloud.