Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Mwaa Server

БесплатноНе проверен

MCP server for Amazon MWAA that enables managing Airflow environments, DAGs, runs, task instances, and configurations through natural language, using secure AWS

GitHubEmbed

Описание

MCP server for Amazon MWAA that enables managing Airflow environments, DAGs, runs, task instances, and configurations through natural language, using secure AWS-native API access and read-only by default.

README

A Model Context Protocol (MCP) server for Amazon Managed Workflows for Apache Airflow (MWAA).

Features

  • MWAA Environment Management: List, describe, create, update, and delete MWAA environments
  • Airflow DAG Operations: List DAGs, view details, get source code, trigger runs, pause/unpause
  • DAG Run Monitoring: List and inspect DAG runs, task instances, and task logs
  • Configuration Access: View Airflow connections (with password redaction) and variables
  • Error Diagnostics: Retrieve DAG import/parsing errors
  • Secure by Design: All Airflow API operations go through AWS invoke_rest_api — no CLI or web tokens are exposed
  • Read-only by Default: Write operations require the --allow-write flag
  • Airflow 2.x and 3.x: The server detects each environment's Airflow major version and translates API differences (e.g. execution_date vs logical_date) transparently — tools keep one stable interface

Prerequisites

  • Python 3.10+
  • AWS credentials configured (via environment variables, AWS CLI profile, or IAM role)
  • An Amazon MWAA environment (Airflow 2.x or 3.x)

Installation

Using uvx (recommended)

uvx --from git+https://github.com/biswasbiplob/mwaa-mcp-server mwaa-mcp-server

Using pip

pip install git+https://github.com/biswasbiplob/mwaa-mcp-server

Using Docker

docker build -t mwaa-mcp-server .
docker run -it mwaa-mcp-server

Configuration

Environment Variables

Variable Description Default
AWS_REGION AWS region for API calls us-east-1
AWS_PROFILE AWS CLI profile name Default credential chain
MWAA_ENVIRONMENT Default MWAA environment name (avoids per-call specification) Auto-detect
FASTMCP_LOG_LEVEL Log level (ERROR, WARNING, INFO, DEBUG) WARNING

CLI Arguments

Argument Description
--allow-write Enable write operations (trigger DAG runs, pause/unpause DAGs, create/update/delete environments)

Usage with Claude Desktop

Add to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "mwaa-mcp-server": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/biswasbiplob/mwaa-mcp-server", "mwaa-mcp-server"],
      "env": {
        "AWS_REGION": "us-east-1",
        "AWS_PROFILE": "my-profile",
        "MWAA_ENVIRONMENT": "my-environment",
        "FASTMCP_LOG_LEVEL": "INFO"
      }
    }
  }
}

For write access:

{
  "mcpServers": {
    "mwaa-mcp-server": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/biswasbiplob/mwaa-mcp-server", "mwaa-mcp-server", "--allow-write"],
      "env": {
        "AWS_REGION": "us-east-1",
        "AWS_PROFILE": "my-profile",
        "MWAA_ENVIRONMENT": "my-environment",
        "FASTMCP_LOG_LEVEL": "INFO"
      }
    }
  }
}

Tool Reference

Environment Management Tools

Tool Description Access
list-environments List all MWAA environments in the region Read
get-environment Get detailed information about an environment Read
create-environment Create a new MWAA environment Write
update-environment Update an existing MWAA environment Write
delete-environment Delete an MWAA environment Write

Airflow Tools

Tool Description Access
list-dags List all DAGs in an environment Read
get-dag Get details of a specific DAG Read
get-dag-source Get the source code of a DAG by DAG ID Read
list-dag-runs List DAG runs for a specific DAG Read
get-dag-run Get details of a specific DAG run Read
list-task-instances List task instances for a DAG run Read
get-task-instance Get details of a specific task instance (supports map_index for mapped tasks) Read
list-mapped-task-instances List all mapped instances of a dynamically mapped task Read
get-task-logs Get logs for a task instance try (supports pagination for large logs) Read
list-connections List Airflow connections (passwords redacted) Read
list-variables List Airflow variables (sensitive values redacted) Read
get-import-errors Get DAG import/parsing errors Read
trigger-dag-run Trigger a new DAG run Write
pause-dag Pause a DAG Write
unpause-dag Unpause a DAG Write
clear-task-instances Clear task instances for a DAG, allowing re-runs Write

IAM Permissions

Minimum Read-only Policy

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "airflow:GetEnvironment",
        "airflow:ListEnvironments",
        "airflow:InvokeRestApi"
      ],
      "Resource": "*"
    }
  ]
}

Full Access Policy (Read + Write)

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "airflow:GetEnvironment",
        "airflow:ListEnvironments",
        "airflow:CreateEnvironment",
        "airflow:UpdateEnvironment",
        "airflow:DeleteEnvironment",
        "airflow:InvokeRestApi"
      ],
      "Resource": "*"
    }
  ]
}

Security

  • No token exposure: Unlike other MWAA tools, this server does not expose create_cli_token or create_web_login_token as tools. All Airflow API operations go through the AWS-native invoke_rest_api.
  • Password redaction: Connection passwords and extra fields are automatically redacted in responses.
  • Variable redaction: Variable values with sensitive keys (matching patterns like secret, password, token, api_key) are automatically redacted.
  • Input validation: Environment names and path parameters are validated to prevent injection.
  • Read-only by default: Write operations are disabled unless --allow-write is explicitly passed.

License

Apache-2.0

from github.com/biswasbiplob/mwaa-mcp-server

Установка Mwaa Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/biswasbiplob/mwaa-mcp-server

FAQ

Mwaa Server MCP бесплатный?

Да, Mwaa Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Mwaa Server?

Нет, Mwaa Server работает без API-ключей и переменных окружения.

Mwaa Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Mwaa Server в Claude Desktop, Claude Code или Cursor?

Открой Mwaa Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Notion

Read and write pages in your workspace

Notionавтор: Notion

Linear

Issues, cycles, triage — from Claude

Linearавтор: Linear
Pro

Google Drive

Search and read your Drive files

Googleавтор: Google

mindsdb/mindsdb

Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).

mindsdbавтор: mindsdb

fulcradynamics/fulcra-context-mcp

MCP server for accessing personal health and biometric data including sleep stages, heart rate, HRV, glucose, workouts, calendar, and location via the Fulcra Li

fulcradynamicsавтор: fulcradynamics

aymericzip/intlayer

A MCP Server that enhance your IDE with AI-powered assistance for Intlayer i18n / CMS tool: smart CLI access, access to the docs.

aymericzipавтор: aymericzip

rinadelph/Agent-MCP

A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.

rinadelphавтор: rinadelph

WhenLabs-org/when

Developer toolkit: auto-detect stack for AI context files, catch port conflicts, validate .env schemas, spot docs drift, audit dependency licenses, and time cod

WhenLabs-orgавтор: WhenLabs-org

Beltran12138/wecom-docs-mcp-server

WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server

Beltran12138автор: Beltran12138

madbonez/caldav-mcp

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),

madbonezавтор: madbonez

Compare Mwaa Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity