Prefect MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PREFECT_API_KEY | No | API key to authenticate with your Prefect server or Prefect Cloud | |
| PREFECT_API_URL | No | The URL of the Prefect API server | http://localhost:4200/api |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_flow_by_idB | Get a flow by its ID. |
| get_flow_by_nameC | Get a flow by its name. |
| list_flowsB | Get a list of flows from the Prefect API. |
| search_flowsA | Search for flows by name and/or tags. |
| get_flow_run_by_idB | Get a flow run by its ID. |
| list_flow_runsB | Get a list of flow runs from the Prefect API. |
| search_flow_runs_by_stateB | Search for flow runs by state. |
| cancel_flow_runB | Cancel a flow run. |
| get_deployment_by_idB | Get a deployment by its ID. |
| get_deployment_by_nameB | Get a deployment by its name. |
| list_deploymentsB | Get a list of deployments from the Prefect API. |
| search_deployments_by_statusB | Search for deployments by schedule status. |
| create_flow_run_from_deploymentB | Create a new flow run for the specified deployment. |
| filter_flowsB | Filter flows based on specified criteria. |
| filter_flow_runsC | Filter flow runs based on specified criteria. |
| filter_deploymentsB | Filter deployments based on specified criteria. |
| create_flow_runB | Create a new flow run for the specified deployment (Legacy). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Most tools have distinct purposes targeting specific resources (flows, deployments, flow runs) with clear action verbs, but there is some overlap between filter_* and search_* tools that could cause confusion. For example, filter_deployments and search_deployments_by_status both filter deployments but use different approaches, and create_flow_run vs create_flow_run_from_deployment are similar with minor differences.
Tool names follow a highly consistent verb_noun pattern throughout, with clear conventions like get_*, list_*, create_*, filter_*, search_*, and cancel_*. All names use snake_case uniformly, making them predictable and easy to parse for an agent.
With 17 tools, the count is slightly high but reasonable for a workflow orchestration domain like Prefect, which requires operations across flows, deployments, and runs. It covers essential CRUD and query functions without being overwhelmingly bloated, though some tools could potentially be consolidated.
The tool set provides comprehensive coverage for managing Prefect workflows, including full CRUD/lifecycle operations for flows, deployments, and flow runs (e.g., create, get, list, filter, search, cancel). There are no obvious gaps that would hinder an agent from performing typical orchestration tasks, and the surface supports complex filtering and searching needs.