Prefect

by fortunto2

1 stars
2.3k downloads
Not rated
GitHub

About

Enables interaction with Prefect workflow orchestration platform for retrieving flow information, managing flow runs, searching deployments, and executing workflows directly from conversational interfaces.

Details

Author
fortunto2
Repository
fortunto2/prefect-mcp-server
GitHub stars
1
Downloads
2,269
License
MIT License
Categories
Developer Tools, Productivity, Design, Workplace, AI, Search, Infrastructure, Knowledge Base, Other
Tags
#integration

- Integrates Prefect with the Model Context Protocol (MCP)
- Configured for Cursor IDE via .cursor/mcp.json
- Uses uvx for reliable package execution
- Supports environment variables for API connection
- Includes Cursor Rules for contextual assistance
- Compatible with Prefect 3.0

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Prefect
    Command (node, npx, python, etc.) uvx
    Arguments
    • Argument 1 prefect-mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server is configured via the .cursor/mcp.json file. The updated configuration is as follows:

{
  "mcpServers": {
    "prefect": {
      "command": "uvx",
      "args": [
        "prefect-mcp-server"
      ],
      "env": {}
    }
  }
}

This configuration ensures that the server uses the uvx command with the exact package version installed via uv pip install. This approach provides enhanced reliability and consistency in your development environment.

Set the following environment variables to configure your Prefect environment. You can create a file named .env in the project root with entries such as:

PREFECT_API_URL=http://localhost:4200/api

Additionally, if needed, set other environment variables like PREFECT_API_KEY to authenticate with your Prefect server or Prefect Cloud.

To start the server, you can run the following command:

uv run <script>

Alternatively, if you are using the Cursor IDE with its configuration, the server will be automatically invoked with the command specified in .cursor/mcp.json.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "prefect": {
            "env": {},
            "args": [
                "prefect-mcp-server"
            ],
            "command": "uvx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "prefect-mcp-server"
    ],
    "command": "uvx"
}

Macos

{
    "env": [],
    "args": [
        "prefect-mcp-server"
    ],
    "command": "uvx"
}

Windows

{
    "env": [],
    "args": [
        "prefect-mcp-server"
    ],
    "command": "uvx"
}

This repository provides a Prefect MCP server configuration using theprefect-mcp-serverpackage with a reliable running mechanism viauvx. The configuration is tailored for use with the Cursor IDE.

- Python 3.9 or newer.
- A preferred virtual environment tool (such as uv) for managing Python environments.
- Prefect 3 (seePrefect Documentationfor installation instructions).

Create and activate your virtual environment, then install Prefect MCP Server:

uv venv --python 3.12 && source .venv/bin/activate uv pip install -U prefect-mcp-server

The server is configured via the.cursor/mcp.jsonfile. The updated configuration is as follows:

{ "mcpServers": { "prefect": { "command": "uvx", "args": [ "prefect-mcp-server" ], "env": {} } } }

This configuration ensures that the server uses theuvxcommand with the exact package version installed viauv pip install. This approach provides enhanced reliability and consistency in your development environment.

Set the following environment variables to configure your Prefect environment. You can create a file named.envin the project root with entries such as:

PREFECT_API_URL=http://localhost:4200/api

Additionally, if needed, set other environment variables likePREFECT_API_KEYto authenticate with your Prefect server or Prefect Cloud.

To start the server, you can run the following command:

Alternatively, if you are using the Cursor IDE with its configuration, the server will be automatically invoked with the command specified in.cursor/mcp.json.

Detailed documentation on the Prefect MCP Server functionality and usage is available in thedocs/prefect_mcp_documentation.mdfile. The documentation includes:

- Complete list of available tools and their parameters
- Instructions for installation and configuration
- Examples of usage with different MCP clients
- Prefect 3.0 compatibility information

This repository includes Cursor Rules for working with the Prefect MCP Server, located in the.cursor/rules/directory. These rules provide contextual help and guidance when working with Prefect MCP in the Cursor IDE.

- For further details on Prefect installation and usage, please refer to thePrefect Documentation.
- For information about the Model Context Protocol (MCP), see the
MCP Documentation.
- Useuv runfor running scripts within the configured environment as recommended by Cursor.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.