M

MCP Server Python

The Kestra Python MCP Server is a Beta - version tool server for interacting with the Kestra workflow platform. It supports running through Docker containers or local development environments and provides various tool functions such as workflow management and execution control.
2 points
2

What is the Kestra Python MCP Server?

The Kestra Python MCP Server is a tool server for interacting with the Kestra platform, allowing users to call Kestra's functions via the command line or IDE (such as VS Code, Cursor), for example, managing workflows, executing tasks, viewing logs, etc.

How to use the Kestra Python MCP Server?

The Kestra Python MCP Server can be run through a Docker container or started in a local development environment. Users can set environment variables through a configuration file and integrate the server in the IDE to directly interact with Kestra.

Applicable scenarios

Suitable for developers who need to interact with the Kestra workflow platform, including scenarios such as workflow management, task execution, log viewing, and dependency analysis.

Main features

Workflow managementCan create, update, delete, execute, and view workflows.
Task executionSupports executing specific tasks and provides execution status and log information.
Dependency analysisCan display the dependency relationship between workflows to help understand the entire workflow structure.
Log viewingProvides access and viewing functions for workflow and task execution logs.
Multi - platform supportSupports integration and use in various development environments such as VS Code, Cursor, and Claude.

Advantages and limitations

Advantages
Simplifies the interaction method with the Kestra platform
Supports multiple development environments for easy integration
Provides rich commands and functions to meet daily development needs
Limitations
Currently in the Beta stage, there may be instability
Some advanced features are only available in the enterprise version
Requires certain configuration and environment settings

How to use

Install dependencies
Ensure that uv and Python 3.13 are installed, then create a virtual environment and install dependencies.
Configure environment variables
Set the corresponding environment variables according to the Kestra version (OSS or EE) in use.
Run the MCP Server
Use uv to run the server.py file to start the MCP server.
Integrate in the IDE
Configure the MCP server path and parameters in IDEs such as VS Code and Cursor, and then you can start using it.

Usage examples

List workflow dependenciesUsers want to understand the workflow dependency structure under a certain namespace to optimize workflow design.
Re - execute a failed taskUsers find that a certain task execution has failed and hope to re - run the task.
View workflow logsUsers need to view the logs of a certain workflow execution to troubleshoot problems.

Frequently Asked Questions

Do I need to manually start the MCP server?
Does the MCP server support enterprise - edition features?
How to solve the problem that the Docker container cannot connect to the Kestra API?
What is the performance of the MCP server?

Related resources

Kestra official documentation
The official documentation of the Kestra platform, containing detailed function descriptions and API documentation.
Kestra MCP Server GitHub
The source code repository of the Kestra Python MCP Server, which can be used for local development and extension.
Kestra community forum
A community platform for Kestra users and developers to communicate, where you can get help and support.
Google ADK tutorial
A quick - start tutorial for the Google Agent Development Kit, suitable for integrating the MCP service.
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "kestra": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull",
        "always",
        "-e", "KESTRA_BASE_URL",
        "-e", "KESTRA_TENANT_ID",
        "-e", "KESTRA_MCP_DISABLED_TOOLS",
        "ghcr.io/kestra-io/mcp-server-python:latest"
      ],
      "env": {
        "KESTRA_BASE_URL": "http://host.docker.internal:8080/api/v1",
        "KESTRA_TENANT_ID": "main",
        "KESTRA_MCP_DISABLED_TOOLS": "ee"
      }
    }
  }
}

{
  "mcpServers": {
    "kestra": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull",
        "always",
        "-e",
        "KESTRA_MCP_DISABLED_TOOLS",
        "-e",
        "KESTRA_BASE_URL",
        "-e",
        "KESTRA_TENANT_ID",
        "-e",
        "KESTRA_USERNAME",
        "-e",
        "KESTRA_PASSWORD",
        "ghcr.io/kestra-io/mcp-server-python:latest"
      ],
      "env": {
        "KESTRA_BASE_URL": "http://host.docker.internal:8080/api/v1",
        "KESTRA_TENANT_ID": "main",
        "KESTRA_MCP_DISABLED_TOOLS": "ee",
        "KESTRA_USERNAME": "admin@kestra.io",
        "KESTRA_PASSWORD": "your_password"
      }
    }
  }
}

{
  "mcpServers": {
    "kestra": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull",
        "always",
        "-e", "KESTRA_BASE_URL",
        "-e", "KESTRA_API_TOKEN",
        "-e", "KESTRA_TENANT_ID",
        "-e", "KESTRA_MCP_DISABLED_TOOLS",
        "ghcr.io/kestra-io/mcp-server-python:latest"
      ],
      "env": {
        "KESTRA_BASE_URL": "http://host.docker.internal:8080/api/v1",
        "KESTRA_API_TOKEN": "<your_kestra_api_token>",
        "KESTRA_TENANT_ID": "main"
      }
    }
  }
}

{
  "mcpServers": {
    "kestra": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull",
        "always",
        "-e", "KESTRA_BASE_URL",
        "-e", "KESTRA_API_TOKEN",
        "-e", "KESTRA_TENANT_ID",
        "-e", "KESTRA_USERNAME",
        "-e", "KESTRA_PASSWORD",
        "-e", "KESTRA_MCP_DISABLED_TOOLS",
        "ghcr.io/kestra-io/mcp-server-python:latest"
      ],
      "env": {
        "KESTRA_BASE_URL": "http://host.docker.internal:8080/api/v1",
        "KESTRA_API_TOKEN": "<your_kestra_api_token>",
        "KESTRA_TENANT_ID": "main",
        "KESTRA_USERNAME": "admin",
        "KESTRA_PASSWORD": "admin",
        "KESTRA_MCP_DISABLED_TOOLS": "ee"
      }
    }
  }
}

{
  "mcpServers": {
    "kestra": {
      "command": "/Users/annageller/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/annageller/gh/mcp-server-python/src",
        "run",
        "server.py"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
17
5 points
C
Container Use
Container Use is an open-source tool that provides a containerized isolated environment for coding agents, supporting parallel development of multiple agents without interference.
Go
12
5 points
S
Search1api
The Search1API MCP Server is a server based on the Model Context Protocol (MCP), providing search and crawling functions, and supporting multiple search services and tools.
TypeScript
374
4 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
889
4.3 points
M
MCP Alchemy
Certified
MCP Alchemy is a tool that connects Claude Desktop to multiple databases, supporting SQL queries, database structure analysis, and data report generation.
Python
359
4.2 points
P
Postgresql MCP
A PostgreSQL database MCP service based on the FastMCP library, providing CRUD operations, schema inspection, and custom SQL query functions for specified tables.
Python
147
4 points
M
MCP Scan
MCP-Scan is a security scanning tool for MCP servers, used to detect common security vulnerabilities such as prompt injection, tool poisoning, and cross-domain escalation.
Python
658
5 points
A
Agentic Radar
Agentic Radar is a security scanning tool for analyzing and assessing agentic systems, helping developers, researchers, and security experts understand the workflows of agentic systems and identify potential vulnerabilities.
Python
583
5 points
Featured MCP Services
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
150
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
199
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.8K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
889
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
613
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
332
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
795
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase