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 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 mcp-server-dagster 0.1.2
File Size Uploaded
mcp_server_dagster-0.1.2.tar.gz 84.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-dagster 0.1.2
File Interpreter ABI Platform
mcp_server_dagster-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 94.1 kB

Release files / mcp_server_dagster-0.1.2.tar.gz

Download URL mcp_server_dagster-0.1.2.tar.gz
Size 84.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a9e881245861d4c404a77d38f8774b6accf9a677ca3252d002ca03203d86dfec
BLAKE2b-256 checksum
How to use checksums
64c00cf32f023485ef04f041cbbdc9e6da06965d4c3529e17de322d4dfa510b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.13

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

Download URL mcp_server_dagster-0.1.2-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eaa05cf6d7c0935d845947ad3d45326e3d5c53bf1baf75dba8f0e0d74e24069c
BLAKE2b-256 checksum
How to use checksums
06cb15b456585be32b4806e24a0f4666e91f6b67b28b344c5a1145447a42fe72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.13

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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