list_code_locations
List all code locations and their load status
How to use it
list_code_locations is exposed by the Dagster MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_code_locations tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Dagster MCP
uvx dagster-mcpOther tools in Dagster MCP (26)
Launch a partition backfill by asset selection with optional run config; respects each asset's BackfillPolicy server-side
Get description, upstream/downstream dependencies, partitions, latest materialization
Consolidated health view — staleness, freshness policy, last run status (works with single asset or entire group)
Start here — global health: daemon status, queued run count, code location errors
Get materialization history with metadata for an asset
Consolidated failure diagnosis — failed steps, root cause error, step durations, and suggestions in one call
Get structured log events with pagination and optional level filtering (ERROR, WARNING, INFO); EngineEvent events include metadataEntries
Get per-step execution stats: timing, materializations, expectation results
Get status, config, tags, and run lineage (re-execution chain via rootRunId/parentRunId)
List recent runs, filter by job name and/or status
Tick-by-tick history for a schedule or sensor — essential for detecting silent failures. Accepts optional repositoryname / locationname to disambiguate a name shared by several code locations
Launch a named job; assetkeys remains supported for compatibility and is sent through GraphQL assetSelection, but the two-step asset workflow is preferred
Launch a partitioned job for one or more partition keys; creates a backfill (supports fromfailure to retry only failed steps)
List recent backfills with status and partition progress
List jobs across code locations, optionally filtered by exact repositoryname and/or locationname (use to find names for launchjob)
List schedules with status (RUNNING/STOPPED), cron, target job, next tick
List sensors with status and target jobs
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
Reload a code location after deploy
Resolve key/group/tag/kind/owner predicates, wildcards, boolean logic, roots/sinks, and lineage traversal into concrete asset keys without launching anything
Discover assets by key prefix or group name
Start (enable) a schedule so it launches runs on its cron
Start (enable) a sensor so it resumes evaluating
Stop (disable) a schedule — persists across restarts; does not terminate in-flight runs
Stop (disable) a sensor — the fix for a runaway or erroring sensor found via gettickhistory
Stop a stuck or runaway run