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
{
"mcpServers": {
"prefect-mcp": {
"command": "uvx",
"args": [
"--from",
"prefect-mcp",
"prefect-mcp-server"
]
}
}
}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.