HL

hipposys-ltd/airflow-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 4 forks 质量 59 趋势 18MIT

This repository and all associated open-source packages have been moved to a new GitHub organization.

概览

This repository and all associated open-source packages have been moved to a new GitHub organization. - ✅ continues at the new location - ✅ and releases are published there - ✅ should be submitted to the new repository - ⚠️ will no longer receive updates Please visit https://github.com/ponderedw to: - Access the latest version of this package - Report issues or contribute - View updated documentation - Get support from the maintainers This project implements an MCP server for Apache Airflow, enabling users to interact with their orchestration platform using natural language. With a few minutes of setup, you should be able to use Claude Desktop or any MCP-enabled LLM to ask questions like: - "What DAGs do we have in our Airflow cluster?" - "What is our latest failed DAG?" The Model Context Protocol (MCP) is an open standard creating secure connections between data sources and AI applications.

README

以下为原文 README 节选,完整内容请查看原文。

⚠️ REPOSITORY MOVED - NO LONGER MAINTAINED HERE

This repository has been transferred to new ownership and is no longer actively maintained in this location.

🔄 Migration Notice

This repository and all associated open-source packages have been moved to a new GitHub organization.

New Location: https://github.com/ponderedw

📍 What This Means

  • ✅ Active development continues at the new location
  • ✅ Latest updates and releases are published there
  • ✅ Issues and pull requests should be submitted to the new repository
  • ⚠️ This repository will no longer receive updates

🔗 Find the Updated Repository

Please visit https://github.com/ponderedw to:

  • Access the latest version of this package
  • Report issues or contribute
  • View updated documentation
  • Get support from the maintainers

Thank you for your understanding during this transition.

Airflow MCP

This project implements an MCP server for Apache Airflow, enabling users to interact with their orchestration platform using natural language.

With a few minutes of setup, you should be able to use Claude Desktop or any MCP-enabled LLM to ask questions like:

  • “What DAGs do we have in our Airflow cluster?”
  • “What is our latest failed DAG?”

And more!

About MCP and Airflow MCP

The Model Context Protocol (MCP) is an open standard creating secure connections between data sources and AI applications. This repository provides a custom MCP server for Apache Airflow that transforms how teams interact with their orchestration platform through natural language.

🚀 Features

  • Query pipeline statuses through natural language
  • Troubleshoot DAG failures efficiently
  • Retrieve comprehensive DAG information
  • Trigger DAGs based on their status
  • Monitor execution results
  • Analyze DAG components and configurations

🛠️ Getting Started

Prerequisites

If you already have an Airflow instance and want to use our prebuilt Docker image, you only need:

  • Docker
  • Access to your Apache Airflow instance
  • LLM access (Claude, ChatGPT, or AWS Bedrock)

This repository also provides a local setup for Apache Airflow, which you can use for demo purposes.

You can also build the MCP server from source, detailed below.

Quick Start - Using the Prebuilt Docker Image

If you have an Airflow instance and want to use our prebuilt Docker image, simply follow these steps:

You’ll need to configure Claude Desktop to connect to your Airflow instance. If you haven’t configured Claude Desktop for use with MCP before, we recommend following the Claude Desktop documentation.

Here are the steps to configure Claude Desktop to connect to your Airflow instance, using our prebuilt Docker image:

  • Open Claude Desktop
  • Go to Settings → Developer tab
  • Edit the MCP config with:
{
   "mcpServers": {
         "airflow_mcp": {
            "command": "docker",
在 GitHub 查看完整 README

安装

docker run -i --rm -e airflow_api_url -e airflow -e airflow hipposysai/airflow-mcp:latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "airflow_mcp": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "airflow_api_url", "-e", "airflow", "-e", "airflow", "hipposysai/airflow-mcp:latest"], "env": { "airflow_api_url": "http://host.docker.internal:8088/api/v1", "airflow_username": "airflow", "airflow_password": "airflow" } } } }