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.