mcp-server-apache-airflow logo

mcp-server-apache-airflow

by yangkyeongmo

This project implements a Model Context Protocol (MCP) server for Apache Airflow, enabling seamless integration with MCP clients. It provides a standardized way to interact with Apache Airflow through the Model Context Protocol.

View on GitHub

Last updated: N/A

What is mcp-server-apache-airflow?

This is a Model Context Protocol (MCP) server that wraps Apache Airflow's REST API, allowing MCP clients to interact with Airflow in a standardized way. It utilizes the official Apache Airflow client library to ensure compatibility and maintainability.

How to use mcp-server-apache-airflow?

To use this server, set the required environment variables (AIRFLOW_HOST, AIRFLOW_USERNAME, AIRFLOW_PASSWORD). Then, configure your MCP client (e.g., Claude Desktop) to connect to the server. You can run the server manually using make run or install it via Smithery.

Key features of mcp-server-apache-airflow

  • Standardized interaction with Apache Airflow via MCP

  • Comprehensive API coverage for DAG management, DAG runs, tasks, variables, connections, pools, XComs, and datasets

  • Integration with Claude Desktop

  • Easy setup with environment variables

  • Support for selecting specific API groups

Use cases of mcp-server-apache-airflow

  • Integrating Apache Airflow with MCP-compatible tools and platforms

  • Automating Airflow workflows through a standardized protocol

  • Simplifying interaction with Airflow's REST API

  • Providing a consistent interface for managing Airflow resources

FAQ from mcp-server-apache-airflow

What is MCP?

MCP stands for Model Context Protocol, a standardized way for applications to interact with each other.

What dependencies are required?

The project depends on the official Apache Airflow client library (apache-airflow-client).

How do I set up the environment variables?

Set the AIRFLOW_HOST, AIRFLOW_USERNAME, and AIRFLOW_PASSWORD environment variables to connect to your Airflow instance.

How do I select specific API groups?

Use the --apis flag when running the server, e.g., uv run mcp-server-apache-airflow --apis "dag,dagrun".

How do I contribute to the project?

Contributions are welcome! Please submit a Pull Request.