mcp-zenml
v2.1.1MCP server for discovering, reading, and changing ZenML resources with compact generic tools
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
diagnose_zenml_setup
Diagnose ZenML MCP server setup (env vars, connectivity, auth, versions). Returns structured diagnostics about the server's configuration and connectivity. This tool works even when the ZenML SDK is not installed or environment variables are missing - use it to troubleshoot setup issues.
get_step_logs
Get the logs for a specific step run. Returns ``{"logs": [...], "possibly_truncated": bool}`` with entries oldest first. At most 50,000 entries are returned. ``possibly_truncated`` is true when the step may have more log entries than were returned, and a ``note`` then says which entries are missing and why. Pass ``tail`` (for example 200) to get only the newest entries; that is usually where a failure shows up, and it keeps the response small. Log stores that can only read a log from its start (the default artifact store) return the newest of the first 50,000 e…
| Parameter | Type | Description |
|---|---|---|
step_run_id * | string | |
logs_id | ||
source | ||
tail |
zenml_describe_resources
Discover supported generic ZenML resources or one operation schema. With no arguments this returns a short catalog. Pass a canonical singular resource type to inspect its operations, and add an operation name for its bounded input schema and a small example.
| Parameter | Type | Description |
|---|---|---|
operation | ||
resource_type |
zenml_list_resources
List one allowlisted ZenML resource type with validated filters. Use ``zenml_describe_resources(resource_type, "list")`` to discover the accepted filters. Page sizes are capped at 200. Project-scoped reads use ``project_id`` when supplied and otherwise report the active project used.
| Parameter | Type | Description |
|---|---|---|
resource_type * | string | |
filters | ||
page | integer | |
project_id | ||
size |
zenml_get_resource
Get one allowlisted ZenML resource by its identifier. Artifact versions, model versions, and run steps require their parent identifier. Stack components require their fixed component type.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | |
resource_type * | string | |
artifact_id | ||
component_type | ||
hydrate | ||
model_id | ||
pipeline_run_id | ||
project_id |
zenml_create_resource
Create one allowlisted ZenML resource with a strict typed payload. Inspect ``zenml_describe_resources(resource_type, "create")`` first. Project-scoped creates require an exact project UUID and never change the client's active project.
| Parameter | Type | Description |
|---|---|---|
resource_type * | string | |
model_id | ||
payload | ||
project_id |
zenml_update_resource
Update one exact UUID through an allowlisted operation-specific payload.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | |
resource_type * | string | |
artifact_id | ||
component_type | ||
model_id | ||
payload | ||
project_id |
zenml_delete_resource
Delete or archive one exact UUID using bounded destructive options.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | |
resource_type * | string | |
artifact_id | ||
component_type | ||
model_id | ||
payload | ||
project_id |
zenml_action_resource
Run one finite ZenML lifecycle or relation action. Inspect ``zenml_describe_resources(resource_type, "action")`` for the exact action names and payload schema. Every identifier must be an exact UUID. Actions may have effects outside the ZenML server and are never retried.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
resource_id * | string | |
resource_type * | string | |
payload | ||
project_id |
get_active_user
Get the currently active user.
get_active_project
Get the currently active project. Projects are organizational containers for ZenML resources. Most SDK methods are project-scoped, and this tool returns the default project context.
trigger_pipeline
Trigger a pipeline to run from the server. Args: pipeline_name_or_id: Optional name or ID of the pipeline to trigger. A snapshot or template can be triggered without it. snapshot_name_or_id: The name or ID of a specific snapshot to run (preferred) stack_name_or_id: Optional stack override for the run template_id: Deprecated template-based trigger parameter. Use `snapshot_name_or_id` for new integrations. The supported ZenML version still retains run-template CRUD APIs. run_configuration: Optional ZenML run config…
| Parameter | Type | Description |
|---|---|---|
pipeline_name_or_id | ||
run_configuration | ||
snapshot_name_or_id | ||
stack_name_or_id | ||
template_id |
get_deployment_logs
Get logs for a specific deployment. Retrieves logs from the deployment's underlying infrastructure. This is useful for debugging deployment issues or monitoring deployment behavior. Note: Log availability depends on the deployer plugin being installed and the deployment infrastructure supporting log retrieval. Args: name_id_or_prefix: The name, ID or prefix of the deployment project: Optional project scope (defaults to active project) tail: Number of recent log lines to retrieve (default: 100, max recommended: 500) Returns: Dict with…
| Parameter | Type | Description |
|---|---|---|
name_id_or_prefix * | string | |
project | ||
tail | integer |
get_step_code
Get the code for a step. Args: step_run_id: The ID of the step to retrieve
| Parameter | Type | Description |
|---|---|---|
step_run_id * | string |
open_pipeline_run_dashboard
Open an interactive dashboard of recent ZenML pipeline runs. The dashboard shows pipeline runs with status indicators, expandable step details, filtering, and drill-down into step logs — all in an interactive UI. The dashboard fetches its own data dynamically.
open_run_activity_chart
Open an interactive chart showing pipeline run activity over the last 30 days. Shows a bar chart with daily run counts, hover tooltips, and status breakdown (completed in green, failed in red, other in amber).