Skip to main content
Glama

Prefect MCP Server

by fortunto2

Prefect MCP サーバー

このリポジトリはprefect-mcp-serverパッケージを使用したPrefect MCPサーバー設定を提供しますuvxによる信頼性の高い実行メカニズムを備えています。この設定は、Cursor IDEでの使用に合わせてカスタマイズされています。

前提条件

  • Python 3.9 以降。
  • Python 環境を管理するための推奨仮想環境ツール (uv など)。
  • Prefect 3 (インストール手順についてはPrefect のドキュメントを参照してください)。

インストール

仮想環境を作成してアクティブ化し、Prefect MCP Server をインストールします。

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

構成

サーバーは.cursor/mcp.jsonファイルで設定されます。更新された設定は次のとおりです。

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

この設定により、サーバーはuv pip installでインストールされたパッケージバージョンと正確に一致するuvxコマンドを使用することが保証されます。このアプローチにより、開発環境の信頼性と一貫性が向上します。

環境変数

Prefect環境を構成するには、以下の環境変数を設定します。プロジェクトルートに.envというファイルを作成し、次のようなエントリを記述します。

PREFECT_API_URL=http://localhost:4200/api

さらに、必要に応じて、Prefect サーバーまたは Prefect Cloud で認証するために、 PREFECT_API_KEYなどの他の環境変数を設定します。

サーバーの実行

サーバーを起動するには、次のコマンドを実行します。

uv run <script>

あるいは、Cursor IDE をその構成で使用している場合、サーバーは.cursor/mcp.jsonで指定されたコマンドで自動的に呼び出されます。

ドキュメント

Prefect MCP Serverの機能と使用方法に関する詳細なドキュメントは、docs/prefect_mcp_documentation.mdファイルでご覧いただけます。ドキュメントの内容は以下の通りです。

  • 利用可能なツールとそのパラメータの完全なリスト
  • インストールと設定の手順
  • さまざまなMCPクライアントでの使用例
  • Prefect 3.0 互換性情報

カーソルルール

このリポジトリには、Prefect MCPサーバーを操作するためのカーソルルールが含まれています。これは.cursor/rules/ディレクトリにあります。これらのルールは、Cursor IDEでPrefect MCPを操作する際に、コンテキストに応じたヘルプとガイダンスを提供します。

追加情報

  • Prefect のインストールと使用方法の詳細については、 Prefect のドキュメントを参照してください。
  • モデル コンテキスト プロトコル (MCP) の詳細については、 MCP ドキュメントを参照してください。
  • Cursor の推奨に従って構成された環境内でスクリプトを実行するには、 uv runを使用します。

楽しいコーディングを!

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

モデル コンテキスト プロトコルを介して Prefect ワークフロー自動化ツールとの対話を可能にするサーバー。uvx 実行メカニズムと Cursor IDE とのシームレスな統合により、信頼性が向上します。

  1. 前提条件
    1. インストール
      1. 構成
        1. 環境変数
          1. サーバーの実行
            1. ドキュメント
              1. カーソルルール
                1. 追加情報

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that provides seamless interaction with Workato's API through custom AI tools, enabling management of recipes, connections, connectors, folders, and activity logs.
                    Last updated -
                    TypeScript
                    MIT License
                    • Apple
                    • Linux
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A server implementation that enables integration of Dify workflows with Model Context Protocol (MCP), allowing users to access Dify's capabilities through MCP-compatible clients.
                    Last updated -
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A server based on Model Context Protocol that provides predefined prompt templates for tasks like code review and API documentation generation, enabling more efficient workflows in Cursor/Windsurf editors.
                    Last updated -
                    10
                    5
                    JavaScript
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A lightweight Python-based server designed to run, manage and create CrewAI workflows using the Model Context Protocol for communicating with LLMs and tools like Claude Desktop or Cursor IDE.
                    Last updated -
                    1
                    Python

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/fortunto2/prefect-mcp-server'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server