Documentation

An MCP server that converts Airflow DAGs to Prefect flows.

Philosophy

Deterministic code templating is brittle. Airflow and Prefect are architecturally dissimilar—edge cases are inevitable.

Instead, we give the LLM raw source code and translation knowledge compiled from live sources. It generates the Prefect code. Not a scaffold with TODOs — working code.

Workflow

1
Read DAG
Raw source code
read_dag
2
Lookup
Translation rules
lookup_concept
3
Search Docsoptional
Live Prefect docs
search_prefect_docs
4
LLM Generates
Complete Prefect flow
5
Validate
Syntax + comparison
validate

We read. The LLM generates. We validate.

What the tools provide

ToolReturns
read_dagRaw source code, file path, size, line count
lookup_conceptPre-compiled Airflow→Prefect mappings (operators, patterns, connections)
search_prefect_docsLive Prefect documentation search results
validateSyntax check, both sources, comparison guidance
scaffoldProject directory structure following prefecthq/flows conventions
FastMCP LLM-Native