Skip to main content
Glama
dagster-mcp

dagster-mcp

by fabdendev

Dagster MCP

PyPI version Downloads License: MIT Python 3.12+ Tests

An MCP server that gives AI agents full visibility and control over your Dagster instance — like an SRE for your data pipelines.

Works with any MCP client: Claude Code, Claude Desktop, Cursor, and more.

Dagster officially develops and supports their own Dagster Plus MCP server. See the documentation here.

Why this exists

Data pipelines break at 3 AM. Schedules silently stop firing. Assets go stale. Instead of waking up to a dashboard full of red, give your AI agent the tools to monitor, diagnose, and fix your Dagster instance autonomously.

Agent: Checking instance health...
       get_instance_status() -> healthy: false, daemon "SCHEDULER" unhealthy

Agent: Scheduler daemon is down. Let me check recent failures...
       get_runs(statuses=["FAILURE"], limit=5) -> 3 failed runs in the last hour

Agent: Diagnosing the most recent failure...
       get_run_failure_summary("run_abc123") ->
         failed_steps: ["transform_orders"]
         root_cause: "NullPointerError: column 'price' is null"
         suggestions: ["Single step failed — consider re-running from failure"]

Agent: Re-launching the failed job...
       launch_job("etl_pipeline", "my_project") -> run_id: "run_def456", status: STARTED

Agent: One sensor keeps firing on bad data. Checking its ticks...
       get_tick_history("orders_sensor", "SENSOR") -> 12 consecutive FAILURE ticks

Agent: Stopping it until the upstream fix lands...
       stop_sensor("orders_sensor") -> status: STOPPED

Related MCP server: ensemble-mcp

What it does

27 tools across 6 categories, designed for autonomous DataOps workflows:

Category

Tools

What an agent can do

Runs

get_runs get_run_status get_run_logs get_run_stats get_run_failure_summary

Find failures, diagnose root causes, inspect logs and step timing

Assets

search_assets resolve_asset_selection get_asset_details get_recent_materializations get_asset_health

Discover assets, preview lineage selections, check freshness, detect stale data

Jobs

list_jobs

Inventory jobs across code locations, with optional repository/location filters

Schedules & Sensors

list_schedules list_sensors get_tick_history

Detect silent failures, missed ticks, sensor errors

Instance

get_instance_status list_code_locations list_backfills

Global health check, daemon status, code location errors

Actions

materialize_assets backfill_assets launch_job launch_job_with_partitions terminate_run start_schedule stop_schedule start_sensor stop_sensor reload_code_location

Materialize concrete assets with config, backfill partitions, launch jobs, stop stuck runs, start or stop schedules and sensors, reload after deploy

Actions are opt-in: set DAGSTER_READ_ONLY=false to enable write operations.

Quick start

Prerequisites

  • Python 3.12+

  • uv (recommended) or pip

  • A running Dagster instance (self-hosted or Cloud)

Install

The package is published on PyPI.

Option A — run directly with uvx (no install needed):

uvx dagster-mcp

Option B — install with pip:

pip install dagster-mcp

Option C — clone and run:

git clone https://github.com/fabdendev/dagster-mcp.git
cd dagster-mcp
uv sync

Configure

Single environment

Variable

Description

Default

DAGSTER_URL

Base URL of your Dagster instance

http://localhost:3000

DAGSTER_API_TOKEN

Dagster Cloud API token (leave empty for self-hosted)

(empty)

DAGSTER_EXTRA_HEADERS

JSON object of additional request headers sent to Dagster GraphQL

(empty)

DAGSTER_READ_ONLY

When true, only read tools are exposed (no launch/terminate/reload, no schedule or sensor start/stop)

true

Self-hosted:

export DAGSTER_URL=http://localhost:3000

Dagster Cloud:

export DAGSTER_URL=https://myorg.dagster.cloud/prod
export DAGSTER_API_TOKEN=your-dagster-cloud-user-token

Custom auth / proxy headers:

export DAGSTER_EXTRA_HEADERS='{"Authorization":"Bearer your-token","X-My-Header":"value"}'

Multiple environments

Use DAGSTER_ENVS to configure several Dagster instances in one server. Every tool then accepts an optional env parameter so the LLM can target the right instance.

Variable

Description

Default

DAGSTER_ENVS

JSON object mapping env names to {url, token?, extra_headers?} configs

(empty)

DAGSTER_DEFAULT_ENV

Env name to use when env is not passed to a tool

(empty)

export DAGSTER_ENVS='{
  "prod": {"url": "https://myorg.dagster.cloud/prod", "token": "prod-token"},
  "staging": {"url": "https://myorg.dagster.cloud/staging", "token": "stg-token"},
  "dev": {"url": "http://localhost:3000"}
}'
export DAGSTER_DEFAULT_ENV=prod

When DAGSTER_ENVS is set, DAGSTER_URL / DAGSTER_API_TOKEN / DAGSTER_EXTRA_HEADERS are ignored. If only one env is defined, it is used automatically even without DAGSTER_DEFAULT_ENV.

Add to your MCP client

Add to ~/.claude/settings.json:

Single env:

{
  "mcpServers": {
    "dagster": {
      "command": "uvx",
      "args": ["dagster-mcp"],
      "env": {
        "DAGSTER_URL": "http://localhost:3000"
      }
    }
  }
}

Multiple envs:

{
  "mcpServers": {
    "dagster": {
      "command": "uvx",
      "args": ["dagster-mcp"],
      "env": {
        "DAGSTER_ENVS": "{\"prod\":{\"url\":\"https://myorg.dagster.cloud/prod\",\"token\":\"prod-token\"},\"dev\":{\"url\":\"http://localhost:3000\"}}",
        "DAGSTER_DEFAULT_ENV": "prod"
      }
    }
  }
}

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "dagster": {
      "command": "uvx",
      "args": ["dagster-mcp"],
      "env": {
        "DAGSTER_URL": "http://localhost:3000"
      }
    }
  }
}
{
  "mcpServers": {
    "dagster": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/dagster-mcp", "dagster-mcp"],
      "env": {
        "DAGSTER_URL": "http://localhost:3000"
      }
    }
  }
}

Tool reference

Runs

Tool

Description

get_runs

List recent runs, filter by job name and/or status

get_run_status

Get status, config, tags, and run lineage (re-execution chain via rootRunId/parentRunId)

get_run_logs

Get structured log events with pagination and optional level filtering (ERROR, WARNING, INFO); EngineEvent events include metadataEntries

get_run_stats

Get per-step execution stats: timing, materializations, expectation results

get_run_failure_summary

Consolidated failure diagnosis — failed steps, root cause error, step durations, and suggestions in one call

Assets

Tool

Description

search_assets

Discover assets by key prefix or group name

resolve_asset_selection

Resolve key/group/tag/kind/owner predicates, wildcards, boolean logic, roots/sinks, and lineage traversal into concrete asset keys without launching anything

get_asset_details

Get description, upstream/downstream dependencies, partitions, latest materialization

get_recent_materializations

Get materialization history with metadata for an asset

get_asset_health

Consolidated health view — staleness, freshness policy, last run status (works with single asset or entire group)

Two-step asset workflow

Start by resolving and reviewing a selection expression:

resolve_asset_selection(
  asset_selection="group:analytics and (kind:dbt or key:*benchmark)"
)

→ {
    "asset_keys": [
      "warehouse/analytics/orders",
      "warehouse/analytics/reranker_benchmark"
    ],
    "assets": [...]
  }

For concrete, unpartitioned assets, pass the returned keys to materialize_assets with any required launch config and tags:

materialize_assets(
  asset_keys=[
    "warehouse/analytics/orders",
    "warehouse/analytics/reranker_benchmark"
  ],
  run_config={"ops": {"benchmark": {"config": {"limit": 1000}}}},
  tags={"triggered_by": "agent"}
)

For partitioned assets, pass the same resolved keys to backfill_assets instead:

backfill_assets(
  asset_keys=["warehouse/analytics/daily_orders"],
  partition_start="2026-07-01",
  partition_end="2026-07-07",
  run_config={"resources": {"warehouse": {"config": {"pool": "benchmark"}}}}
)

resolve_asset_selection is available in both read-only and read-write modes. It returns external, observable, non-executable, and partitioned matches so the caller can inspect the complete result. The write tools re-fetch current asset definitions before execution. resolve_asset_selection and materialize_assets require Dagster 1.9+.

Jobs, Schedules & Sensors

Tool

Description

list_jobs

List jobs across code locations, optionally filtered by exact repository_name and/or location_name (use to find names for launch_job)

list_schedules

List schedules with status (RUNNING/STOPPED), cron, target job, next tick

list_sensors

List sensors with status and target jobs

get_tick_history

Tick-by-tick history for a schedule or sensor — essential for detecting silent failures. Accepts optional repository_name / location_name to disambiguate a name shared by several code locations

list_jobs filters are independent and use AND semantics when combined. For example, list_jobs(repository_name="example_repository") finds that repository across locations, while list_jobs(repository_name="example_repository", location_name="example_location") targets one repository and code-location pair. Calls with only one filter use a lightweight repository-discovery request followed by one batched job request — it isn't free: that's a second round-trip against Dagster, traded for a smaller payload when only a subset of repositories matches. Request counts per call: 1 for no filters, 1 for both filters, 2 for exactly one filter.

If a code location relevant to the filter failed to load or is still loading, list_jobs raises a RuntimeError naming the location instead of silently returning an empty result — an empty filtered result means no match among code locations Dagster could actually load. A non-empty filtered result can still be incomplete: if some repositories matched, list_jobs returns them rather than raising, even when another code location could not be searched. This check rides along in the same requests above (workspaceOrError, which list_code_locations already queries), so it adds no extra round-trip. The unfiltered call (list_jobs() with no filters) is unchanged: it omits this check and keeps returning whatever is loaded, since an agent won't misread a long inventory listing as "nothing exists" the way it would misread an empty filtered result — use list_code_locations or get_instance_status to check load health directly.

Instance & Code Locations

Tool

Description

get_instance_status

Start here — global health: daemon status, queued run count, code location errors

list_code_locations

List all code locations and their load status

list_backfills

List recent backfills with status and partition progress

Write Operations

Tool

Description

materialize_assets

Launch concrete, unpartitioned asset keys with run config and tags; infers one compatible repository/job, includes compatible checks, and expands required non-subsettable multi-asset neighbors. On a failed launch it returns the preflight context plus error and message rather than raising, and omits launched_asset_keys

backfill_assets

Launch a partition backfill by asset selection with optional run config; respects each asset's BackfillPolicy server-side

launch_job

Launch a named job; asset_keys remains supported for compatibility and is sent through GraphQL assetSelection, but the two-step asset workflow is preferred

launch_job_with_partitions

Launch a partitioned job for one or more partition keys; creates a backfill (supports from_failure to retry only failed steps)

start_schedule

Start (enable) a schedule so it launches runs on its cron

stop_schedule

Stop (disable) a schedule — persists across restarts; does not terminate in-flight runs

start_sensor

Start (enable) a sensor so it resumes evaluating

stop_sensor

Stop (disable) a sensor — the fix for a runaway or erroring sensor found via get_tick_history

Schedule/sensor names are unique only within a repository. If the same name exists in several code locations, the start/stop tools refuse to act and list the candidates; pass repository_name / location_name to disambiguate. Successful calls echo the resolved repository and location. | terminate_run | Stop a stuck or runaway run | | reload_code_location | Reload a code location after deploy |

Write tools require DAGSTER_READ_ONLY=false (default is true).

How it differs from Dagster's official AI tooling

Dagster builds and supports its own AI tooling. If you are a Dagster+ customer, start with theirs — it is first-party, needs no local runtime, and reaches Dagster+ platform objects (alerting, Issues, Insights) that this project cannot. This project exists mainly for people running open-source / self-hosted Dagster, which the official server's documented setup does not cover.

Everything in the "official" column comes from Dagster's own docs at https://docs.dagster.io/guides/labs/dagster-mcp (retrieved 2026-07-30), or from Dagster directly in #21. Dagster's docs nowhere state that open-source or self-hosted Dagster is unsupported; what they document is a Dagster-hosted URL, a required Dagster-Cloud-Organization header, and a Dagster+ user token. Their capability matrix is a snapshot of today and Dagster expects to keep adding to it, so treat the gaps below as current rather than permanent.

dagster-mcp (this project)

Dagster+ MCP server (official)

dagster-expert skill (official)

What it is

MCP server you run yourself (Python, MIT)

Dagster-hosted remote MCP endpoint at https://mcp.agent.dagster.cloud/mcp

An Agent Skill — markdown instructions loaded by your coding agent, not an MCP server

When you use it

Operations time, against a live instance

Operations time, against a Dagster+ deployment

Development time, against your local codebase

Works with self-hosted / OSS Dagster

Yes — points at any Dagster webserver (DAGSTER_URL, default http://localhost:3000; /graphql is appended). No token required

Not per the documented setup: the only URL given is Dagster-hosted, and connecting requires a Dagster-Cloud-Organization header plus a Dagster+ user token

Yes — Apache-2.0 markdown files you copy locally

Works with Dagster+

Yes — sends a Dagster-Cloud-Api-Token header; extra headers via DAGSTER_EXTRA_HEADERS

Yes — this is its only documented target

n/a

Setup

Local process launched by your MCP client (Python 3.12+, e.g. uvx dagster-mcp), configured with env vars

No local runtime: claude mcp add --transport http dagster-plus https://mcp.agent.dagster.cloud/mcp --header "Dagster-Cloud-Organization: …" --header "Authorization: Bearer …"

Copy the skill files into your agent

Maturity

v0.8.0 on PyPI (pre-1.0), MIT, single maintainer with occasional outside contributions, "AS IS, WITHOUT WARRANTY OF ANY KIND", no SLA

Labelled by Dagster as Preview: "under active development, and not considered ready for production use… the APIs may change", and published under /guides/labs/

Current, no preview label

Runs

View, launch, terminate, per-step stats, log retrieval, consolidated failure summary

View ✅, Create/Launch ✅, Delete/Terminate ✅, Insights metrics ✅, Update ❌ (Dagster's matrix); run logs View ✅

n/a

Assets

View, search, health, resolve selection syntax, and materialize specific assets (resolve_asset_selection → materialize_assets, with run config and partition ranges)

View ✅ and Insights metrics ✅; Create/Launch, Update and Delete marked ❌ — i.e. no asset-level materialization tool, though launching a run is supported

n/a

Schedules & sensors

List, tick history, start/stop

Not supported today — confirmed by Dagster, who expect to add it

n/a

Backfills & partitions

List backfills, launch partitioned jobs, backfill assets over a partition range

Not listed in Dagster's capability matrix

n/a

Code locations & instance health

List/reload code locations, instance status, daemon heartbeats, queued-run counts

Deployments View ✅ and Insights ✅; code locations and daemon health not listed (Dagster+ manages the daemon)

n/a

Alerting, Insights, Dagster+ Issues

Not supported — no alerting, cost/Insights metrics, or Issues equivalent

Alert policies and Dagster+ Issues: View / Create / Update / Delete all ✅. Insights metrics ✅ on Runs, Assets and Deployments. All three are documented Dagster+ features (Issues is in limited early access)

n/a

Multiple instances

Yes — DAGSTER_ENVS maps names to arbitrary URLs and tokens, with a per-tool env argument; you can mix OSS and Dagster+

Deployments within one Dagster+ organization, selected per tool call

n/a

Write safety

17 read tools always registered; the 10 write tools are registered only when DAGSTER_READ_ONLY=false (default true), so clients cannot even see them otherwise. This is a convenience guardrail, not a security boundary: it is a process-level env var read at import, and the API token you configure keeps whatever rights it has

Enforced server-side by Dagster+ token permissions. The docs default to a personal user token; a service user is offered as the alternative for scoped, non-human auth (service users are a Dagster+ Pro feature)

n/a

Support

Best-effort, community, GitHub issues; no SECURITY.md or documented disclosure process

First-party vendor

First-party vendor

Use the official Dagster+ MCP server if you are on Dagster+ and want alerting, Issues or Insights/cost analysis from an agent, want no local runtime, or need vendor support and a supplier your procurement process will accept.

Use this project if you run open-source or self-hosted Dagster, or you need asset-level materialization, schedule/sensor control, backfills, or code-location and daemon operations from an agent.

For Dagster+ users the two are complementary rather than competing — nothing stops you running both. This project is not affiliated with or endorsed by Dagster Labs.

Compatibility

The monitoring and existing action tools are tested with Dagster 1.6+. resolve_asset_selection and materialize_assets require Dagster 1.9+ and verify the required GraphQL capabilities before querying or launching. The RunsFilter field name (jobName vs pipelineName) is auto-detected via schema introspection. Configured asset backfills also feature-detect LaunchBackfillParams.runConfigData and return a clear compatibility error when an older schema does not expose it. Schedule and sensor start/stop work on Dagster 1.6+: the stop mutations are sent with the originId/selectorId argument pair sourced from InstigationState.id/selectorId, which modern Dagster re-parses as a compound id and older versions accept directly, so no version branch is needed. The mutations select error messages via the ... on Error interface fragment rather than per-type fragments, because ScheduleNotFoundError only joined ScheduleMutationResult in Dagster 1.9 and spreading it on 1.6-1.8 would fail document validation.

Development

uv sync --extra dev
uv run ruff check dagster_mcp/    # lint
uv run pytest                     # run the test suite
uv run python -m dagster_mcp      # start server locally

License

MIT

Available Tools

17 tools
get_asset_detailsGet Asset DetailsA

Get detailed metadata for one or more assets: description, lineage, and partitions.

  • asset_keys: list of asset name strings (e.g. ['my_extract', 'my_load'])

Returns per asset: assetKey, description, groupName, op name, isObservable, isPartitioned, partitionDefinition, dependencyKeys (upstream assets), dependedByKeys (downstream assets), and the latest materialization (runId + timestamp).

When to use: to understand an asset's lineage (what it depends on and what depends on it), check if it's partitioned, or get its description. Use search_assets first if you don't know the exact key.

Inputs: asset_keys (required), env. Returns: result

get_asset_healthGet Asset HealthA

Get a consolidated health view for a single asset or all assets in a group.

This is the BEST tool to assess whether assets are healthy and up-to-date.

  • asset_key_or_group: pass either a single asset key (e.g. 'my_report') or a group name (e.g. 'analytics'). If it matches a group, returns health for ALL assets in that group.

Returns per asset:

  • asset_key, group, description

  • last_materialization: {run_id, timestamp, status} of the latest run

  • freshness_policy: {maximum_lag_minutes, cron_schedule} if defined

  • staleness: {is_stale, reasons[]} explaining why the asset is stale

When to use: to check if critical assets are fresh, find stale assets in a group, or verify that recent materializations succeeded. Prefer this over get_recent_materializations when you need a health assessment rather than raw materialization history.

Inputs: asset_key_or_group (required), env. Returns: result

get_instance_statusGet Instance StatusA

Get a global health check of the Dagster instance. START HERE for any monitoring workflow.

Returns:

  • healthy: boolean — true only if all required daemons are healthy AND no code locations have errors

  • daemons: list of {type, healthy, last_heartbeat, required} for each daemon (scheduler, sensor, run coordinator, etc.)

  • queued_runs_count: number of runs waiting in queue (high count = bottleneck)

  • queued_runs_count_capped: true when the count is a floor rather than exact, which happens only on Dagster versions that do not report a total

  • code_location_errors: list of {name, error} for locations that failed to load

When to use: as the FIRST call in any diagnostic or monitoring flow. If healthy=false, check daemons for unhealthy entries and code_location_errors for loading failures. Follow up with list_code_locations or get_runs as needed.

Inputs: env. Returns: object

get_recent_materializationsGet Recent MaterializationsA

Get the most recent materializations for an asset, with metadata.

Returns a list of materializations, each with: runId, timestamp, assetKey, and metadataEntries (labels, numeric values, text).

  • asset_key: the asset name as a string (e.g. 'my_daily_report')

  • limit: max materializations to return (default 5)

When to use: to check when an asset was last materialized, track materialization frequency, or inspect metadata from recent runs. For a broader health view (including staleness and freshness), use get_asset_health instead.

Inputs: asset_key (required), env, limit. Returns: result

get_run_failure_summaryGet Run Failure SummaryA

Get a consolidated failure diagnosis for a run in a single call.

This is the BEST tool to use when investigating a failed or canceled run. It combines status, step stats, and error logs into one response, avoiding the need to call get_run_status + get_run_logs + get_run_stats separately.

Returns:

  • status, job_name, duration_seconds

  • failed_steps: list of {step_key, duration, error} for each failed step

  • root_cause_error: the RunFailureEvent error (if any)

  • all_step_durations: timing for every step (not just failed ones)

  • suggestions: automated diagnostic hints (e.g. 'Multiple steps failed', 'Step was retried before failing', 'Run was canceled')

If the run did not fail, returns {message: 'Run did not fail.'}.

When to use: always prefer this over get_run_logs for failed runs. Use get_run_logs only when you need the full event stream.

Inputs: run_id (required), env. Returns: object

get_run_logsGet Run LogsA

Get structured log events for a run, with optional severity filtering and pagination.

Returns events with __typename, timestamp, message, level, and (where applicable) stepKey and error details. Events include step starts/completions, failures, retries, materializations, and run-level events. EngineEvent events also carry metadataEntries — a list of {label, description, value} dicts (e.g. run worker image, k8s pod name, step keys) surfaced by the engine.

Parameters:

  • run_id: the run to fetch logs for

  • level_filter: only return events at this level or above, ordered DEBUG < INFO < WARNING < ERROR < CRITICAL. Filtering at 'WARNING' therefore also returns ERROR and CRITICAL events. ExecutionStepFailureEvent and RunFailureEvent are always included when filtering at 'ERROR' or below, regardless of their own level field. Default: None (return all events).

  • cursor: pagination cursor returned in previous response. Pass the cursor from the last call to get the next page.

  • limit: max events per page (default 100)

When to use: to investigate what happened during a run. For a quick failure diagnosis, prefer get_run_failure_summary instead — it returns a consolidated view in a single call. Use get_run_logs when you need the full event stream or want to filter by level.

Inputs: run_id (required), env, limit, cursor, +1 more. Returns: object

get_runsGet RunsA

List recent pipeline runs. Start here to discover what has been running.

Returns runId, status, jobName, startTime, endTime, and tags for each run. Use the returned runId to drill into details with get_run_status, get_run_logs, get_run_stats, or get_run_failure_summary.

Filtering:

  • job_name: filter by job (e.g. 'my_etl_job')

  • statuses: filter by one or more statuses. Valid values: 'SUCCESS', 'FAILURE', 'CANCELED', 'STARTED', 'QUEUED', 'STARTING', 'CANCELING', 'NOT_STARTED'. Examples: ['FAILURE'], ['FAILURE', 'CANCELED'], ['STARTED', 'QUEUED']

  • limit: max runs to return (default 10)

Typical workflows:

  • Find recent failures: get_runs(statuses=['FAILURE'])

  • Check if a job ran today: get_runs(job_name='my_job', limit=5)

  • Monitor active runs: get_runs(statuses=['STARTED', 'QUEUED'])

Inputs: env, limit, job_name, statuses. Returns: result

get_run_statsGet Run StatsA

Get per-step execution statistics for a run: timing, materializations, and expectations.

Returns runId, status, and a stepStats array where each entry has: stepKey, status, startTime, endTime, materializations (with labels), and expectationResults (with success flag and labels).

When to use: to find slow steps (compare startTime/endTime), check which steps materialized assets, or verify expectation results. For failed runs, prefer get_run_failure_summary which includes step stats alongside error details and suggestions.

Inputs: run_id (required), env. Returns: object

get_run_statusGet Run StatusA

Get full details for a single run: status, config, tags, and run lineage.

Returns: runId, status, startTime, endTime, jobName, tags, runConfigYaml, rootRunId, parentRunId, resolvedOpSelection.

Use rootRunId and parentRunId to understand re-execution chains — if parentRunId is set, this run was re-executed from another run. resolvedOpSelection shows which steps were selected for re-execution.

When to use: after get_runs to inspect a specific run, or to check whether a run is a re-execution of a previous one.

Inputs: run_id (required), env. Returns: object

get_tick_historyGet Tick HistoryA

Get recent tick history for a schedule or sensor — essential for detecting silent failures.

  • instigator_name: exact name of the schedule or sensor (from list_schedules/list_sensors)

  • instigator_type: 'SCHEDULE' or 'SENSOR'

  • limit: max ticks to return (default 20)

  • repository_name / location_name: optional, to disambiguate when the same name exists in several code locations (see list_schedules/list_sensors)

Returns per tick: tick_id, status (SUCCESS/FAILURE/SKIPPED), timestamp, error message (if failed), and run_ids (runs launched by this tick).

When to use: when a schedule or sensor is RUNNING but data is not being produced. Common patterns to look for:

  • All ticks SKIPPED: sensor condition not met, or misconfigured

  • Ticks with FAILURE status: the schedule/sensor code is erroring

  • Ticks with SUCCESS but empty run_ids: sensor evaluated but decided not to launch

  • Missing ticks: daemon may be unhealthy (check get_instance_status)

Inputs: instigator_name (required), instigator_type (required), env, limit, +2 more. Returns: object

list_backfillsList BackfillsB

List recent asset backfills with their status and partition progress.

Returns per backfill: backfillId, status, numPartitions, timestamp, partitionNames, and partitionSetName.

  • limit: max backfills to return (default 10)

When to use: to monitor in-progress backfills or review recent ones.

Inputs: env, limit. Returns: result

list_code_locationsList Code LocationsA

List all code locations and their load status.

Returns per location: name, loadStatus (LOADED/LOADING), and either the repositories within it or a PythonError if loading failed.

When to use: after a deployment to verify code locations loaded correctly, or when get_instance_status reports code location errors. If a location failed to load, use reload_code_location to retry.

Inputs: env. Returns: result

list_jobsList JobsA

List jobs across code locations, optionally filtered by repository or location.

Returns per job: repository name, code location name, job name, and description. repository_name and location_name are independent exact-match filters; when both are supplied, a job must match both.

An empty result when filtering means no match was found among loaded code locations. If a code location relevant to the filter failed to load or is still loading, list_jobs raises instead of silently reporting no jobs — check list_code_locations for details. Calling with no filters lists whatever is loaded and never raises for a broken location; use list_code_locations or get_instance_status to check load health directly.

When to use: as a starting point to explore what jobs exist, or to find the exact job name and repository_location needed for launch_job.

Inputs: env, location_name, repository_name. Returns: result

list_schedulesList SchedulesA

List all schedules with their status, cron expression, target job, and next tick.

Returns per schedule: name, cron expression, status (RUNNING/STOPPED), next_tick timestamp, target job name, repository, and code location.

When to use: to check which schedules are active, verify cron timing, or find schedules that are stopped and might need attention. If a schedule is RUNNING but jobs aren't executing, use get_tick_history to inspect recent ticks for errors. Raises when a code location is unavailable rather than returning a partial list that could be mistaken for the complete set of schedules.

Inputs: env. Returns: result

list_sensorsList SensorsA

List all sensors with their status and target jobs.

Returns per sensor: name, status (RUNNING/STOPPED), list of target job names, repository, and code location.

When to use: to check which sensors are active and what jobs they trigger. If a sensor is RUNNING but not producing runs, use get_tick_history to inspect recent ticks — it will show skipped ticks, errors, or runs launched. Raises when a code location is unavailable rather than returning a partial list that could be mistaken for the complete set of sensors.

Inputs: env. Returns: result

resolve_asset_selectionResolve Asset SelectionA

Resolve Dagster asset-selection syntax into concrete assets without launching a run.

Supported syntax:

  • key predicates (key:orders or bare orders) with * wildcards

  • group:, tag:, kind:, and owner: predicates

  • case-insensitive and, or, and not with parentheses

  • roots(...) and sinks(...)

  • upstream/downstream traversal such as +orders, 2+orders, orders+, orders+2, or 1+orders+2

Returns asset_keys as slash-delimited strings ready to pass to materialize_assets or backfill_assets, plus compact GraphQL-shaped asset summaries. This tool is read-only and does not filter external, observable, non-executable, or partitioned matches.

Inputs: asset_selection (required), env. Returns: object

search_assetsSearch AssetsA

Search and list assets by name prefix or group. Use this to discover assets.

Returns per asset: assetKey, groupName, description, isPartitioned, op name.

  • prefix: case-insensitive substring match on any part of the asset key (e.g. 'raw_' finds 'raw_orders', 'raw_users')

  • group: exact match on groupName (case-insensitive, e.g. 'analytics')

  • Both filters can be combined.

  • If neither is passed, returns ALL assets.

When to use: to discover available assets before calling get_asset_details or get_asset_health. Use prefix for fuzzy search, group for scoped listing.

Inputs: env, group, prefix. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 17 tools

    Disambiguation4/5

    Run-inspection tools (get_runs, get_run_status, get_run_logs, get_run_stats, get_run_failure_summary) overlap in scope, but the descriptions explicitly cross-reference each other and state when to prefer one over another (e.g. get_run_failure_summary over get_run_logs). Asset tools (search_assets, get_asset_details, get_asset_health, get_recent_materializations) are similarly well-delineated. Only mild potential confusion remains between stats/logs/failure_summary for a failed run.

    Naming Consistency5/5

    All tools follow a consistent snake_case verb_noun pattern (get_runs, list_schedules, search_assets, resolve_asset_selection, get_instance_status). Verbs are used predictably: list_/search_ for discovery, get_ for detail, resolve_ for computation. No mixed conventions.

    Tool Count4/5

    17 tools is on the heavier side but each covers a distinct slice of Dagster monitoring (runs, assets, schedules, sensors, ticks, code locations, instance health). Nothing feels redundant, though the set is slightly large for a read-only monitoring surface.

    Completeness3/5

    Read/observability coverage is strong, but several descriptions reference tools that are absent from the set (materialize_assets, backfill_assets, launch_job, reload_code_location), creating dead-end references an agent may follow. No write/action tools exist despite the server hinting at them, so lifecycle coverage is incomplete.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server providing intelligence infrastructure for AI agent pipelines, including vector memory, drift detection, model routing, skills discovery, session management, codebase indexing, and context compression, all running locally with zero LLM/API calls.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that gives AI agents real-time observability into Apache Kafka clusters, enabling natural language queries for broker health, consumer lag, and diagnostics.
      MIT