What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external tools and data sources. MCP servers expose capabilities through a standardized interface, allowing AI assistants to access real-time information and perform operations on your behalf.Get Started
Choose the option that fits your needs:Prefect Docs MCP
Documentation-only access via hosted server at docs.prefect.io/mcp. No installation or credentials required.
Prefect MCP Server
Full integration with your Prefect instance. Monitor deployments, debug runs, and access docs. Requires installation.
What the Prefect MCP Server Provides
The Prefect MCP server gives AI assistants powerful capabilities:- Monitor & inspect: View system health, query deployments, flow runs, task runs, work pools, and execution logs
- Debug intelligently: Get contextual guidance for troubleshooting failed flows and deployment issues
- Access documentation: Query up-to-date Prefect documentation through an integrated docs proxy
Why Use MCP with Prefect?
Integrating the Prefect MCP server with your AI assistant provides several benefits:- Faster Development: Get instant access to Prefect documentation and examples without leaving your editor
- Intelligent Debugging: Receive contextual guidance when troubleshooting failed flows and deployments
- Real-time Monitoring: Query your Prefect instance to check deployment status, view logs, and track flow runs
- Reduced Context Switching: Keep your workflow in one place by accessing Prefect directly through your AI assistant
Security Considerations
The Prefect MCP server is designed with security in mind:- Provides read-only access to your Prefect instance using your existing credentials
- Can only access information available to the account you authenticate with
- Runs locally on your machine or can be deployed to secure cloud environments