ZenML MCP Server

Interact with your MLOps and LLMOps pipelines through your ZenML MCP server

Remote serverstreamable-httpPython

What is the ZenML MCP Server?

Interact with your MLOps and LLMOps pipelines through your ZenML MCP server.

What ZenML does

This project implements a Model Context Protocol (MCP) server for interacting with the ZenML API.

The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). It acts like a "USB-C port for AI applications" - providing a standardized way to connect AI models to different data sources and tools.

Requirements

You will need to have access to a deployed ZenML server. If you don't have one, you can sign up for a free trial at ZenML Pro and we'll manage the deployment for you. > Tip: Once you have a ZenML server, check out the MCP Settings page in your dashboard for the easiest setup experience. > Compatibility: This MCP server is

Practical notes

  • Written in Python.

Recorded tools

  • stack_components_analysis — Analyze stack component usage
  • recent_runs_analysis — Analyze recent pipeline runs
  • most_recent_runs — Get N most recent runs
  • get_run_template — Use get_snapshot instead
  • list_run_templates — Use list_snapshots instead

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
diagnose_zenml_setupget_active_user and get_active_project
trigger_pipelineget_step_logs, get_step_code, and get_deployment_logs
zenml_describe_resourcesDiscover supported resource types and bounded operation schemas
zenml_list_resourcesList one resource type with validated filters and pagination
zenml_get_resourceGet one resource, with parent and project scope where required
zenml_create_resourceCreate a supported resource from a typed payload
zenml_update_resourceUpdate one exact resource UUID
zenml_delete_resourceDelete or archive one exact resource UUID
zenml_action_resourceRun an allowlisted lifecycle or relation action without retries
ProfilePolicy
compactread_only
legacyread_only

How to install the ZenML MCP Server

{
  "mcpServers": {
    "zenml": {
      "command": "/usr/local/bin/uv",
      "args": [
        "run",
        "path/to/server/zenml_server.py"
      ],
      "env": {
        "LOGLEVEL": "WARNING",
        "NO_COLOR": "1",
        "ZENML_LOGGING_COLORS_DISABLED": "true",
        "ZENML_LOGGING_VERBOSITY": "WARN",
        "ZENML_ENABLE_RICH_TRACEBACK": "false",
        "ZENML_MCP_PROFILE": "compact",
        "ZENML_MCP_WRITE_POLICY": "read_write",
        "PYTHONUNBUFFERED": "1",
        "PYTHONIOENCODING": "UTF-8",
        "ZENML_STORE_URL": "https://your-zenml-server-goes-here.com",
        "ZENML_STORE_API_KEY": "YOUR_ZENML_STORE_API_KEY"
      }
    }
  }
}

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

Configuration

You will need to have access to a deployed ZenML server. If you don't have one, you can sign up for a free trial at ZenML Pro and we'll manage the deployment for you. > Tip: Once you have a ZenML server, check out the MCP Settings page in your dashboard for the easiest setup experience. > Compatibility: This MCP server is

VariableDescriptionRequired
LOGLEVELDeclared in the maintainer’s client configuration.Check documentation
NO_COLORDeclared in the maintainer’s client configuration.Check documentation
ZENML_LOGGING_COLORS_DISABLEDDeclared in the maintainer’s client configuration.Check documentation
ZENML_LOGGING_VERBOSITYDeclared in the maintainer’s client configuration.Check documentation
ZENML_ENABLE_RICH_TRACEBACKDeclared in the maintainer’s client configuration.Check documentation
ZENML_MCP_PROFILEDeclared in the maintainer’s client configuration.Check documentation
ZENML_MCP_WRITE_POLICYDeclared in the maintainer’s client configuration.Check documentation
PYTHONUNBUFFEREDDeclared in the maintainer’s client configuration.Check documentation
PYTHONIOENCODINGDeclared in the maintainer’s client configuration.Check documentation
ZENML_STORE_URLDeclared in the maintainer’s client configuration.Check documentation
ZENML_STORE_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use ZenML to stack components analysis.”
  • “Use ZenML to recent runs analysis.”
  • “Use ZenML to most recent runs.”

Frequently asked questions

Interact with your MLOps and LLMOps pipelines through your ZenML MCP server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.