Prefect MCP server

Ask in plain English to check Prefect flow runs, logs, deployments and work pools in your workspaces.

Tools
15
Transport
Remote (HTTP)
Sign-in
Sign in with Prefect
Made by
Prefect Technologies
RevampKey connects Prefect in one click and adds its 4 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open Prefect in RevampKey

Get RevampKey to connect Prefect

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Prefect is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials deployment-and-work-pool-health-check docs-and-release-briefing failed-flow-run-diagnosis; do
  curl -fsSL --create-dirs -o .claude/skills/prefect-$s/SKILL.md https://revampkey.com/marketplace/prefect/skills/$s/SKILL.md
done
All Prefect skills

What the Prefect MCP server does

Prefect is a workflow orchestration platform for data, ML, and agents. You write workflows as plain Python functions. Prefect runs them durably, handling scheduling, retries, and recovery. Data engineers, ML teams, and agent builders use it to run production pipelines. Its open-source framework and Prefect Cloud share the same core engine.

Connect Prefect by clicking Connect in RevampKey, then approve access on Prefect's own sign-in page. Choose the workspaces the agent may read. After that, ask about flow runs and the logs behind a failed run. Ask which deployments and work pools you have, or which automations are set up. The agent calls the matching Prefect tools and reports back in plain English.

The connection is read-only. The agent sees only what your Prefect account can see in the workspaces you picked. It cannot change runs, deployments, or work pools. You can also ask how a Prefect feature works, and the agent searches Prefect's documentation and release notes.

What you can do with Prefect and an AI agent

Find out why a flow run failed

A flow run failed overnight and nobody knows why. Ask the agent why the most recent failed run failed. It looks up the flow run, reads its logs, and checks the task runs. Then it tells you what the logs show. Nothing gets restarted or changed.

Review deployments and work pools

Before a release, you want to see which deployments exist. Ask the agent to list your deployments and the flows behind them. Then ask which work pools you have. It pulls both lists from your workspace and summarizes them in one place for you to review.

Scan recent events and automations

Something changed in a workspace, but you do not know what. Ask the agent to read recent events and list the automations. It reads the events, lists the automations, and summarizes what it found, naming the objects involved.

How to set up the Prefect MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · Sign in with Prefect

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for Prefect and click Connect. Approve access on Prefect's own sign-in page. RevampKey never sees your password.

  3. Ask in plain language. The 4 Prefect skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect Prefect · 1 click

    Get RevampKey to connect Prefect

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Prefect is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    for s in essentials deployment-and-work-pool-health-check docs-and-release-briefing failed-flow-run-diagnosis; do
      curl -fsSL --create-dirs -o .claude/skills/prefect-$s/SKILL.md https://revampkey.com/marketplace/prefect/skills/$s/SKILL.md
    done
    All Prefect skills

Using a different MCP client?

Add a new remote (HTTP) MCP server in its settings and paste this URL. Sign in with Prefect the first time it connects.

Server URLhttps://prefect.fastmcp.app/mcp

Skip the config file

In RevampKey, Prefect is one click: sign-in and the server and the 4 skills are set up for you.

Download RevampKey

Prefect agent skills

Playbooks that teach the agent how to do real Prefect work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 4 skills in detail →

What to ask once Prefect is connected

Plain words work. Copy one to try it.

  • “Which Prefect workspaces can you access right now?”
  • “Why did my most recent failed flow run fail? Show me the logs.”
  • “List my deployments and the flows they belong to.”
  • “What work pools do I have, and which deployments run on them?”
  • “How do I set retries on a Prefect task? Search the Prefect docs.”
  • “Is anything in my Prefect workspace stuck or paused that should be running?”Check Prefect deployment and work pool health
  • “I'm on Prefect 3.2. Did anything change in how work pool concurrency limits are set before I upgrade to the next release?”Prefect docs and release briefing
  • “Why did last night's ingest-orders run fail? It's in the prod workspace.”Diagnose a failed Prefect flow run

What the agent can do in Prefect

15 tools in 5 groups. Reading needs no approval; RevampKey asks before every change.

Flow runs and logs
Look up flow runs, read the logs for a run, and check its task runs. Ask why a run failed and get the answer from the logs. List the flows that exist in your workspace.get_flow_runsget_flow_run_logsget_task_runsget_flows
Deployments and work pools
List the deployments in your workspace and the work pools they run on. Ask which deployments belong to which pool, or which pools you have set up.get_deploymentsget_work_pools
Automations and events
Read recent events from your workspace and list the automations that are set up. Ask what happened recently or which automations are configured.get_automationsread_events
Workspace overview
Check which workspaces you authorized, see the identity the connection uses, and view the workspace dashboard. Look up the structure of Prefect objects before you ask about them.list_authorized_workspacesget_identityget_dashboardget_object_schemaorientation
Prefect docs and release notes
Search Prefect's documentation to learn how a feature works. Read the release notes to see what changed in a Prefect version.docs_search_prefectdocs_get_release_notes

All 15 Prefect MCP tools

Show all 15 tools15 read

Read (15) Run without asking

  • docs_get_release_notes
  • docs_search_prefect
  • get_automations
  • get_dashboard
  • get_deployments
  • get_flow_run_logs
  • get_flow_runs
  • get_flows
  • get_identity
  • get_object_schema
  • get_task_runs
  • get_work_pools
  • list_authorized_workspaces
  • orientation
  • read_events

Prefect MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
Prefect skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

Prefect MCP server FAQ

What do I need to connect Prefect to RevampKey?

You need a Prefect Cloud account with access to at least one workspace. In RevampKey, click Connect. Then approve access on Prefect's own sign-in page. Select the workspaces the agent may read, and authorize the connection. Once it is connected, you can ask questions in plain English.

What can the agent do in Prefect, and what can't it do?

The agent can look up flow runs, flow logs, task runs, deployments, work pools, automations, and recent events. It can also search Prefect's docs and release notes. It cannot create, edit, or delete anything in Prefect through this connection, because every tool it has only reads data.

Does the agent change anything, and what data can it see?

The agent asks before it changes anything. The connection only reads data. It sees only what your Prefect account can see in the workspaces you selected during sign-in. Check the agent's answers against the Prefect UI before you act on them.

Which Prefect objects can I ask the agent about?

You can ask about flows, flow runs, task runs, and flow run logs. You can also ask about deployments, work pools, automations, and recent events. For questions about how a Prefect feature works, the agent searches Prefect's documentation.

What is the Prefect MCP server URL?

The Prefect MCP server URL is https://prefect.fastmcp.app/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

How does the Prefect MCP server authenticate?

With Prefect's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

What can an AI agent do with the Prefect MCP server?

It exposes 15 tools: 15 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for Prefect?

Yes. 4 SKILL.md playbooks teach an agent how to do real Prefect work step by step. RevampKey installs them when you connect Prefect; for Claude Code, Cursor or Codex you can copy them into your project.

Connect Prefect in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and Prefect is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect Prefect · 1 click

Get RevampKey to connect Prefect

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Prefect is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials deployment-and-work-pool-health-check docs-and-release-briefing failed-flow-run-diagnosis; do
  curl -fsSL --create-dirs -o .claude/skills/prefect-$s/SKILL.md https://revampkey.com/marketplace/prefect/skills/$s/SKILL.md
done
All Prefect skills