Skip to main content

mcp-dagster: A Dagster MCP Server

The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. This repository provides an MCP server for interacting with Dagster, the data orchestration platform.

Overview

A Model Context Protocol server that enables AI agents to interact with Dagster instances, explore data pipelines, monitor runs, and manage assets. It serves as a bridge between LLMs and your data engineering workflows.

Read our launch post to learn more.

PyPI version Tests

Components

Tools

The server implements several tools for Dagster interaction:

  • list_repositories: Lists all available Dagster repositories
  • list_jobs: Lists all jobs in a specific repository
  • list_assets: Lists all assets in a specific repository
  • recent_runs: Gets recent Dagster runs (default limit: 10)
  • get_run_info: Gets detailed information about a specific run
  • launch_run: Launches a Dagster job run
  • materialize_asset: Materializes a specific Dagster asset
  • terminate_run: Terminates an in-progress Dagster run
  • get_asset_info: Gets detailed information about a specific asset

Configuration

The server connects to Dagster using these defaults:

  • GraphQL endpoint: http://localhost:3000/graphql
  • Transport: SSE (Server-Sent Events)

Quickstart

Running the Example

  1. Start the Dagster instance with your pipeline:
uv run dagster dev -f ./examples/open-ai-agent/pipeline.py
  1. Run the MCP server with SSE transport:
uv run examples/open-ai-agent/run_sse_mcp.py
  1. Start the agent loop to interact with Dagster:
uv run ./examples/open-ai-agent/agent.py

Example Interactions

Once the agent is running, you can ask questions like:

  • "What assets are available in my Dagster instance and what do they do?"
  • "Can you materialize the continent_stats asset and show me the result?"
  • "Check the status of recent runs and provide a summary of any failures"
  • "Create a new monthly aggregation asset that depends on continent_stats"

The agent will use the MCP server to interact with your Dagster instance and provide answers based on your data pipelines.

Metadata

Release files for iflow-mcp_kyryl-opens-ml_mcp-server-dagster 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_kyryl-opens-ml_mcp-server-dagster 0.1.2
File Size Uploaded
iflow_mcp_kyryl_opens_ml_mcp_server_dagster-0.1.2.tar.gz 86.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_kyryl-opens-ml_mcp-server-dagster 0.1.2
File Interpreter ABI Platform
iflow_mcp_kyryl_opens_ml_mcp_server_dagster-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 97.7 kB

Release files / iflow_mcp_kyryl_opens_ml_mcp_server_dagster-0.1.2.tar.gz

Download URL iflow_mcp_kyryl_opens_ml_mcp_server_dagster-0.1.2.tar.gz
Size 86.8 kB
Tags Source
SHA-256 checksum
How to use checksums
83d305cd1c0a9f5a0ddd4bd57348ab715cb14237ba6f28ed2732e6c7ec2de7af
BLAKE2b-256 checksum
How to use checksums
16cd5d6c66917fd7fd553b9314991aed1815227426ae56bb59efd4543d116caa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_kyryl_opens_ml_mcp_server_dagster-0.1.2-py3-none-any.whl

Download URL iflow_mcp_kyryl_opens_ml_mcp_server_dagster-0.1.2-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd58a9bb43a87ae807986ad01bcc76dd02531dd359c93ab7717b5b24f25720a9
BLAKE2b-256 checksum
How to use checksums
1b0b778cfd14b755cf0a7102a9157a8a0031925642ff76899be4e9b3a8138d76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page