mcp-server-python MCP Server

You can run the MCP Server in a Docker container. This is useful if you want to avoid managing Python environments or dependencies on your local machine.

Local serverstdio

What is the mcp-server-python MCP Server?

mcp-server-python is an MCP project maintained in the kestra-io/mcp-server-python repository. The maintainer describes its purpose as “You can run the MCP Server in a Docker container. This is useful if you want to avoid managing Python environments or dependencies on your…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using docker. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares KESTRA_BASE_URL, KESTRA_TENANT_ID, KESTRA_MCP_DISABLED_TOOLS, KESTRA_MCP_LOG_LEVEL, KESTRA_USERNAME, KESTRA_PASSWORD. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mcp-server-python MCP Server

{
  "mcpServers": {
    "kestra": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull",
        "always",
        "-e",
        "KESTRA_BASE_URL",
        "-e",
        "KESTRA_TENANT_ID",
        "-e",
        "KESTRA_MCP_DISABLED_TOOLS",
        "-e",
        "KESTRA_MCP_LOG_LEVEL",
        "-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_MCP_LOG_LEVEL": "ERROR",
        "KESTRA_USERNAME": "admin@kestra.io",
        "KESTRA_PASSWORD": "YOUR_KESTRA_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
KESTRA_BASE_URLDeclared in the maintainer’s client configuration.Check documentation
KESTRA_TENANT_IDDeclared in the maintainer’s client configuration.Check documentation
KESTRA_MCP_DISABLED_TOOLSDeclared in the maintainer’s client configuration.Check documentation
KESTRA_MCP_LOG_LEVELDeclared in the maintainer’s client configuration.Check documentation
KESTRA_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
KESTRA_PASSWORDDeclared in the maintainer’s client configuration.Check documentation