Skip to main content
Glama

Prefect MCP Server

by allen-munsch

Servidor MCP Prefect

Una implementación de servidor de Protocolo de contexto de modelo (MCP) para Prefect , que permite a los asistentes de IA interactuar con Prefect a través del lenguaje natural.

Características

Este servidor MCP proporciona acceso a las siguientes API de Prefect:

  • Gestión de flujos : enumerar, obtener y eliminar flujos
  • Gestión de ejecuciones de flujo : crear, supervisar y controlar ejecuciones de flujo
  • Gestión de implementaciones : administre las implementaciones y sus programaciones
  • Gestión de ejecución de tareas : supervisar y controlar las ejecuciones de tareas
  • Gestión de colas de trabajo : crear y gestionar colas de trabajo
  • Gestión de bloques : acceso a tipos de bloques y documentos
  • Gestión de variables : crear y gestionar variables
  • Gestión de espacios de trabajo : Obtenga información sobre los espacios de trabajo

Configuración

Establezca las siguientes variables de entorno:

export PREFECT_API_URL="http://localhost:4200/api" # URL of your Prefect API export PREFECT_API_KEY="your_api_key" # Your Prefect API key (if using Prefect Cloud)

Uso

Ejecute el servidor MCP y perfeccione:

docker compose up

Ejemplo de entrada

Una vez conectado, un asistente de IA puede ayudar a los usuarios a interactuar con Prefect usando lenguaje natural. Ejemplos:

  • "Muéstrame todos mis flujos"
  • "Enumerar todos los flujos fallidos de ayer"
  • Activar la implementación del 'procesamiento de datos'
  • "Pausar la programación para la implementación de 'informes diarios'"
  • "¿Cuál es el estado de mi última ejecución de flujo ETL?"

Desarrollo

Varios de los puntos finales aún no se han implementado

Agregar nuevas funciones

Para agregar una nueva función a una API existente:

  1. Agregue la función al módulo apropiado en src/mcp_prefect
  2. Agregue la función a la lista get_all_functions() en el módulo

Para agregar un nuevo tipo de API:

  1. Agregue el nuevo tipo a APIType en enums.py
  2. Crea un nuevo módulo en src/prefect/
  3. Actualice main.py para incluir el nuevo tipo de API

Ejemplo de uso:

{ "mcpServers": { "mcp-prefect": { "command": "mcp-prefect", "args": [ "--transport", "sse" ], "env": { "PYTHONPATH": "/path/to/your/project/directory" }, "cwd": "/path/to/your/project/directory" } } }
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Un servidor de protocolo de contexto de modelo que permite a los asistentes de IA interactuar con la plataforma de automatización de flujo de trabajo de Prefect a través del lenguaje natural, lo que permite a los usuarios administrar flujos, implementaciones, tareas y otros recursos de Prefect a través de comandos conversacionales.

  1. Características
    1. Configuración
      1. Uso
        1. Ejemplo de entrada
          1. Desarrollo
            1. Agregar nuevas funciones

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An enhanced Model Context Protocol server that enables AI assistants to interact with ClickUp workspaces, supporting task relationships, comments, checklists, and workspace management through natural language.
            Last updated -
            40
            605
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants to interact with Coolify instances through natural language, allowing management of servers, applications, databases, and deployments.
            Last updated -
            85
            2
            TypeScript
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, supporting actions like listing, creating, updating, executing and monitoring workflows.
            Last updated -
            388
            464
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, providing access to n8n's complete API functionality including workflow management, user administration, and credential handling.
            Last updated -
            95
            JavaScript
            MIT License
            • Linux
            • Apple

          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/allen-munsch/mcp-prefect'

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