Agent Switchboard

Prefect MCP

by Prefect

Verified

Inspects and debugs Prefect flows, deployments, flow runs, work pools and logs from AI assistants, read-only, and looks up current Prefect docs.

Use it now

Keep it with up to 9 other tools you're setting up, then share them all as one link.

Try this first

Ask your assistant, with Prefect MCP connected:

  • Query Runs

    Use Prefect MCP to query deployments, flow runs, task runs and work pools: ‹what you're looking for›

  • Flow Run Logs

    Use Prefect MCP to retrieve detailed execution logs from Prefect flow runs: ‹what you're looking for›

  • Debug Failures

    Use Prefect MCP to diagnose failed flow runs and deployment issues: ‹what you need›

Connect it over MCP

Cursor, Claude Desktop and other MCP clients
{
  "mcpServers": {
    "prefect-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "prefect-mcp",
        "prefect-mcp-server"
      ]
    }
  }
}
Claude Code
claude mcp add prefect-mcp -- uvx --from prefect-mcp prefect-mcp-server

It runs on your computer, so web assistants such as Grok and ChatGPT can’t start it.

It may ask you to sign in to Prefect or for a key when you add it; the setup guide says which.

Setup guide: prefect.io/docs/v3/how-to-guides/ai/use-prefect-mcp-server

Compare

Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.

Access
MCP
Auth
OAuth 2.0
Skills
5

Skills

  • Query Runs

    Queries deployments, flow runs, task runs and work pools with filtering, plus dashboard overviews of run statistics.

  • Flow Run Logs

    Retrieves detailed execution logs from Prefect flow runs so an assistant can see what happened and why it failed.

  • Debug Failures

    Diagnoses failed flow runs and deployment issues, including concurrency problems, to find root causes of failures.

  • Docs Proxy

    Looks up current Prefect documentation and the right prefect CLI commands through a built-in docs proxy.

  • Review Automations

    Reviews Prefect automations and their configurations, and tracks events across your workflow ecosystem.

OrchestrationData & Analyticsprefectworkflow-orchestrationdata-pipelinesflow-runspipeline-monitoringdebuggingpython
Visit Agent
prefect-mcp
Inspects and debugs Prefect flows, deployments, flow runs, work pools and logs from AI assistants, read-only, and looks up current Prefect docs.
try this first
Ask your assistant, with Prefect MCP connected:
Use Prefect MCP to query deployments, flow runs, task runs and work pools: ‹what you're looking for›query-runs
Use Prefect MCP to retrieve detailed execution logs from Prefect flow runs: ‹what you're looking for›flow-run-logs
Use Prefect MCP to diagnose failed flow runs and deployment issues: ‹what you need›debug-failures
use it now
uvx --from prefect-mcp prefect-mcp-servermcp.command
{"mcpServers":{"prefect-mcp":{"command":"uvx","args":["--from","prefect-mcp","prefect-mcp-server"]}}}mcp.config
claude mcp add prefect-mcp -- uvx --from prefect-mcp prefect-mcp-servermcp.claude-code
fields
namePrefect MCP
providerPrefect
urlhttps://www.prefect.io/docs/v3/how-to-guides/ai/use-prefect-mcp-server
categoriesorchestration · data-analytics
accessmcp
authoauth2
streamingfalse
pushfalse
verifiedtrue
officialfalse
sponsoredfalse
tagsprefect, workflow-orchestration, data-pipelines, flow-runs, pipeline-monitoring, debugging, python
skills
query-runsQuery RunsQueries deployments, flow runs, task runs and work pool…
flow-run-logsFlow Run LogsRetrieves detailed execution logs from Prefect flow run…
debug-failuresDebug FailuresDiagnoses failed flow runs and deployment issues, inclu…
docs-proxyDocs ProxyLooks up current Prefect documentation and the right pr…
review-automationsReview AutomationsReviews Prefect automations and their configurations, a…
alternatives
/agents/prefect-mcp/alternatives8 listedkestra, dagster-mcp, fastgpt
compare
/compare?a=prefect-mcp&b=kestra&c=dagster-mcpwith kestra, dagster-mcp