Skip to content
MCP server

MCP Zenml

Query and manage ZenML pipelines, runs, stacks and models from an MCP client

Runs locally

MCP Zenml is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
What it can do
Can delete data (1 tool)
Access
Needs a secret key or token

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-zenml --env ZENML_STORE_URL='<ZENML_STORE_URL>' --env ZENML_STORE_API_KEY='<ZENML_STORE_API_KEY>' -- docker run -i --rm -e ZENML_STORE_URL -e ZENML_STORE_API_KEY docker.io/zenmldocker/mcp-zenml:2.1.1

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-zenml": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ZENML_STORE_URL",
        "-e",
        "ZENML_STORE_API_KEY",
        "docker.io/zenmldocker/mcp-zenml:2.1.1"
      ],
      "env": {
        "ZENML_STORE_URL": "<ZENML_STORE_URL>",
        "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-zenml": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ZENML_STORE_URL",
        "-e",
        "ZENML_STORE_API_KEY",
        "docker.io/zenmldocker/mcp-zenml:2.1.1"
      ],
      "env": {
        "ZENML_STORE_URL": "<ZENML_STORE_URL>",
        "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-zenml": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ZENML_STORE_URL",
        "-e",
        "ZENML_STORE_API_KEY",
        "docker.io/zenmldocker/mcp-zenml:2.1.1"
      ],
      "env": {
        "ZENML_STORE_URL": "<ZENML_STORE_URL>",
        "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-zenml": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ZENML_STORE_URL",
        "-e",
        "ZENML_STORE_API_KEY",
        "docker.io/zenmldocker/mcp-zenml:2.1.1"
      ],
      "env": {
        "ZENML_STORE_URL": "<ZENML_STORE_URL>",
        "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-zenml --env ZENML_STORE_URL='<ZENML_STORE_URL>' --env ZENML_STORE_API_KEY='<ZENML_STORE_API_KEY>' -- docker run -i --rm -e ZENML_STORE_URL -e ZENML_STORE_API_KEY docker.io/zenmldocker/mcp-zenml:2.1.1

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-zenml]
command = "docker"
args = ["run", "-i", "--rm", "-e", "ZENML_STORE_URL", "-e", "ZENML_STORE_API_KEY", "docker.io/zenmldocker/mcp-zenml:2.1.1"]
env = { ZENML_STORE_URL = "<ZENML_STORE_URL>", ZENML_STORE_API_KEY = "<ZENML_STORE_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-zenml": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ZENML_STORE_URL",
        "-e",
        "ZENML_STORE_API_KEY",
        "docker.io/zenmldocker/mcp-zenml:2.1.1"
      ],
      "env": {
        "ZENML_STORE_URL": "<ZENML_STORE_URL>",
        "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e ZENML_STORE_URL='<ZENML_STORE_URL>' -e ZENML_STORE_API_KEY='<ZENML_STORE_API_KEY>' mcp-zenml docker -- run -i --rm -e ZENML_STORE_URL -e ZENML_STORE_API_KEY docker.io/zenmldocker/mcp-zenml:2.1.1

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-zenml": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "ZENML_STORE_URL",
            "-e",
            "ZENML_STORE_API_KEY",
            "docker.io/zenmldocker/mcp-zenml:2.1.1"
          ],
          "env": {
            "ZENML_STORE_URL": "<ZENML_STORE_URL>",
            "ZENML_STORE_API_KEY": "<ZENML_STORE_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ZENML_STORE_URLBase URL of your ZenML server (e.g., https://<workspace-id>-zenml.cloudinfra.zenml.io).Required
  • ZENML_STORE_API_KEYAPI key used to authenticate with your ZenML server (ideally a service account key).Required
  • ZENML_MCP_PROFILETool registration profile: compact (default) or legacy.
  • ZENML_MCP_WRITE_POLICYMutation policy: read_write (default) or read_only.

About MCP Zenml

This server gives an assistant live access to a ZenML server's resources: users, stacks and components, pipelines, runs, steps, schedules, artifact metadata, snapshots, deployments, models and versions, projects, tags and builds. Version 2.x defaults to a compact profile of 16 tools, seven of them generic for describing, listing, getting, creating, updating, deleting and acting on resources.

The other nine cover setup diagnostics, active user and project, triggering pipelines, step logs and code, deployment logs and two dashboard views. A legacy profile restores the older entity-specific tool names, 57 in read-write mode, for clients still migrating. Setting ZENML_MCP_WRITE_POLICY to read_only removes the mutation tools and the pipeline trigger from discovery and dispatch.

It runs over stdio, from an OCI image, and needs ZENML_STORE_URL and an API key, ideally from a service account. Mutations are never retried after they may have reached ZenML, and results are marked completed, accepted or unknown. Secret values, ZenML Cloud administration and credential administration are excluded.

Tools this server provides (16)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 16 tools deletes data and 4 change data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

zenml_describe_resourcesName suggests: reads
Discovers supported resource types and operation schemas.
zenml_list_resourcesName suggests: reads
Lists one resource type with filters and pagination.
zenml_get_resourceName suggests: reads
Gets one resource.
zenml_create_resourceName suggests: changes
Creates a supported resource from a typed payload.
zenml_update_resourceName suggests: changes
Updates one resource by UUID.
zenml_delete_resourceName suggests: deletes
Deletes or archives one resource by UUID.
zenml_action_resource
Runs an allowlisted lifecycle or relation action.
diagnose_zenml_setup
Diagnoses the ZenML setup.
get_active_userName suggests: reads
Returns the active user.
get_active_projectName suggests: reads
Returns the active project.
trigger_pipeline
Triggers a pipeline run from a snapshot.
get_step_logsName suggests: reads
Returns step logs, up to 50,000 entries.
get_step_codeName suggests: reads
Returns a step's code.
get_deployment_logsName suggests: reads
Returns deployment logs.
open_pipeline_run_dashboardName suggests: changes
Opens a pipeline run dashboard view.
open_run_activity_chartName suggests: changes
Opens a run activity chart.

What it does

Compact generic tools
Seven resource tools describe, list, get, create, update, delete and act.
Read-only mode
A write policy setting removes all mutation tools and pipeline triggering.
Pipeline triggering
Run pipelines from snapshots.
Logs and code access
Step logs, step code and deployment logs are returned for debugging.
Legacy profile
Older entity-specific tool names remain for migration.
Honest mutation results
Outcomes are marked completed, accepted or unknown and are never retried.

Good for

  • Check why a pipeline run failed using step logs
  • List recent completed runs for a project
  • Trigger a pipeline from a snapshot
  • Inspect stacks and service connectors
  • Review model versions in the registry

Pricing

Open source

Open-source server for a ZenML instance you connect it to.

MCP Zenml FAQ

How does MCP Zenml connect to ZenML?

It needs ZENML_STORE_URL and an API key, preferably from a service account.

Can I stop MCP Zenml making changes?

Yes. Set ZENML_MCP_WRITE_POLICY to read_only.

How many tools does MCP Zenml advertise?

The compact profile advertises 16, or 11 in read-only mode; the legacy profile 57 or 52.

What does MCP Zenml not cover?

Cloud control-plane administration, user and credential administration, secret-value CRUD and raw webhook events.

How is MCP Zenml run?

Over stdio, from a docker image published on Docker Hub.

Is MCP Zenml free?

Yes. MCP Zenml is open source, so you can use and self-host it for free.

How do I add MCP Zenml to Claude Code?

Run this command in your terminal: claude mcp add mcp-zenml --env ZENML_STORE_URL='<ZENML_STORE_URL>' --env ZENML_STORE_API_KEY='<ZENML_STORE_API_KEY>' -- docker run -i --rm -e ZENML_STORE_URL -e ZENML_STORE_API_KEY docker.io/zenmldocker/mcp-zenml:2.1.1

What are the best alternatives to MCP Zenml?

The closest alternatives to MCP Zenml are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers