SuperAPIAI Directory

mcp-server-python

github.com · AI developer platforms

Kestra Python MCP Server is the official Python-based MCP server provided by Kestra. It can be used as a tool in Kestra's AI Agents and is also supported in MCP-enabled AI development environments such as Cursor, Windsurf, VS Code, and Claude Desktop. It offers a Docker run method, making it easy to avoid local Python environment and dependency management; it also supports local development and extension. The server is compatible with Kestra 1.x and 2.x, reads the Kestra version, and constructs requests according to the corresponding major version. In terms of configuration, it supports OSS users using a username and password or an API Token, and EE/Cloud users using an API Token, and enterprise tools can be disabled or the log level adjusted via environment variables.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Kestra Python MCP Server is a Python-implemented MCP server provided by Kestra, intended to let AI agents or MCP-enabled AI development tools invoke Kestra-related capabilities. The material states that it can be used as a tool for Kestra's AI Agents and can also be used in Cursor, Windsurf, VS Code, or Claude Desktop.

Main capabilities and run methods:

  • It can run via a Docker container, suitable for scenarios where you want to avoid managing a Python environment or dependencies locally.
  • It supports local development runs, making it easy to extend with new tools; local development requires first creating a virtual environment and creating a .env file by referring to .env_example.
  • When using stdio transport, the AI IDE/chat interface starts the MCP server as a subprocess and communicates via JSON-RPC messages over standard input/output, so there is no need to manually start the server as a persistent process.
  • It uses uv to manage the environment, so there is no need to manually activate the virtual environment.

Configuration and version support:

  • OSS installations can use KESTRA_USERNAME and KESTRA_PASSWORD, or use KESTRA_API_TOKEN; EE/Cloud installations use KESTRA_API_TOKEN.
  • KESTRA_MCP_DISABLED_TOOLS=ee can be used to disable enterprise tools in OSS; multiple tools can also be disabled separated by commas.
  • The same image supports Kestra 1.x and 2.x. On the first tool call, the server reads the version from GET /api/v1/configs and constructs subsequent requests according to the major version; if that endpoint is unreachable, the major version can be set explicitly.
  • By default, logs output only at the ERROR level; the log level can be controlled via KESTRA_MCP_LOG_LEVEL.

Usage:

  • The Docker method requires filling in the configuration in the MCP settings and replacing <your_kestra_api_token>, <your_google_api_key>, and <your_helicone_api_key> with actual credentials; the Docker container can access host services via host.docker.internal, and macOS and Windows canbe used; Linux may require host network mode or a custom bridge network.
  • The local method requires first creating a uv virtual environment and installing dependencies, then configuring the command path and repository directory in Cursor, Windsurf, VS Code, or Claude Desktop; in VS Code, the configuration file is .vscode/mcp.json, and the key name is servers.

Applicable scenarios and limitations:

  • Suitable for tasks such as operating Kestra flows in AI agents or AI IDEs, for example the material's example prompt "List all flows in the tutorial namespace".
  • The enterprise tool group applies only to EE/Cloud versions; OSS users can disable it.
  • Some endpoints have changed in Kestra 2.x; 1.x query parameters sent to a 2.x server will be ignored rather than rejected, which may cause requests to appear successful while results are not filtered.
  • On OSS 2.x, auto_create in generate_dashboard returns the generated YAML with a warning; in Kestra 2.x, namespace file moves have limitations involving versioned naming and subsequent moves returning 500.
  • The material does not provide a specific tool list, complete installation commands, or pricing or cost information.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools