Airflow MCP server data privacy

What data an Airflow MCP server returns to an AI client, which tools send data to Astronomer, and what reviewers should restrict before connecting an assistant.

On this page

Does the Airflow MCP server meet our data privacy requirement?

The requirement is only partly met by the Airflow MCP server data privacy picture as it stands. The standalone open-source astro-airflow-mcp package and the Astro MCP server are different products with different data paths, and the Astro server hides secret values of environment objects such as Airflow connections and variables. Retention and training terms, however, are not set by either server: they depend on the AI client or model provider your staff use, so those terms must be checked separately.

Before approval, decide which server is in scope, since a self-hosted standalone server that reaches the Airflow REST API on your own infrastructure has a different exposure than the Astro server, which returns Deployment details, Airflow component logs for windows of up to 24 hours, task logs, and Dag and Dag run data to the connected client. Decide which of those categories an AI assistant may receive at all, and whether task logs and Dag run data may contain customer identifiers or other regulated fields. Confirm with the vendor which Astro tools send data to Astronomer, including submit_feedback and start_investigation, and whether a request can include log or Dag content.

Then set the restriction rules: which Dags, Deployments and log windows are visible, whether connections and variables stay hidden, and who approves the AI client. Get the AI client or model provider's written retention and training terms before any Airflow data reaches it, because the MCP server pages do not state them.

Data privacy controls by server and deployment

This table compares the standalone astro-airflow-mcp package with the Astro MCP server on what data reaches the AI client, secret masking, whether data goes to Astronomer, and retention or training terms. Read each cell as a question to confirm: a built-in or outside-component answer tells you where the data path sits, and a not-stated answer means you must get the term from the vendor or the AI model provider before approval.

ControlStandalone astro-airflow-mcp (plugin or standalone)Astro MCP server (Astro-only, Labs)
Data returned to the AI clientBuilt in: whatever the Airflow REST API returns for the tools you expose, including Dag and task metadata, as the package reaches the instance named in AIRFLOW_API_URLAstro-only: Deployment details, Airflow component logs for windows of up to 24 hours, task logs, and Dag and Dag run data, all sent to the connected AI client
Secret masking for connections and variablesNot stated in the sources reviewed, so confirm in the package README and by testing a connection and variable read in your own instanceStated: the docs say secret values of environment objects such as Airflow connections and variables are hidden
Data sent to Astronomer via submit_feedbackNot applicable: the standalone package does not document a submit_feedback tool, so confirm the tool list in the version you installAstro-only: submit_feedback sends bug reports or requests to Astronomer, so review what a user might type into it
Data sent to Astronomer via start_investigationNot applicable: no Otto investigation tool is documented for the standalone packageAstro-only: start_investigation starts an Otto investigation of a failed Dag run, so confirm what run data it sends and where it is processed
Runs on your own infrastructureOutside component: can run on your own infrastructure against your Airflow instanceOutside component: the Astro MCP server is a remote server operated by Astronomer, so data passes through Astronomer's service
Retention terms stated in the docsNot stated in the sources reviewed: ask Astronomer and check what your AI client or model provider keepsNot stated in the sources reviewed: ask Astronomer for the retention period for data passed through the server
Training use stated in the docsNot stated in the sources reviewed: depends on the AI client or model provider, so check that provider's termsNot stated in the sources reviewed: depends on the AI client or model provider, so check that provider's terms

What Dag metadata, task logs and environment objects reach the AI client

The first question for reviewers is which categories of Airflow data leave the Deployment once an AI client is connected. Astronomer's docs for the Astro MCP server say it can return Deployment details, Airflow component logs for windows of up to 24 hours, task logs, and Dag and Dag run data, all to the connected AI client. Those are the four categories to map against your own data classification before approval. The standalone astro-airflow-mcp server works differently: it reads Airflow's REST API at the instance named in AIRFLOW_API_URL, so what it returns depends on what that API exposes to the credentials you give it. Confirm which of these two paths your team would use, because the data surface differs.

Metadata is usually the least sensitive of these categories. Logs and Dag run payloads can carry more. A task log may print a query result, a file path, a stack trace with a customer identifier, or an error message echoing a request body. Dag run data can include conf values passed at trigger time, which teams often use for dates, account IDs or file locations. Component logs cover the scheduler, webserver and workers, so they can expose data from many Dags at once. The docs say secret values of environment objects such as Airflow connections and variables are hidden. They do not list every field that is hidden, so do not assume that anything outside connection and variable secret values is masked. Ask Astronomer for the complete field list for each tool, and check whether the masking applies to the standalone server too.

Test before anyone connects production. Create a non-production Deployment with a Dag that imitates your real patterns (including sensitive-looking trigger conf, a failing task that writes a realistic error, and a connection and a variable marked as secret). Connect the AI client you plan to approve, ask it to list Dags, fetch the logs of the failing run, and read the environment objects, then inspect the raw output the client received. Record what appeared, what was masked, and what was missing. Use those results to decide which tools to disable, which log windows to limit, and whether Dag conf or task logs need redaction at the source. Confirm the model provider's retention and training terms for that client separately, since the Astronomer docs do not state them.

How data moves from Airflow to the AI client and to Astronomer

The diagram starts with the AI client sending a request to the MCP endpoint at /mcp/v1/ on the Airflow webserver when the plugin is installed, or to a standalone server that reads the Airflow REST API address set in AIRFLOW_API_URL. Responses, including Dag metadata, task logs and environment objects, flow back to the client. Two optional tools send data outward to Astronomer: submit_feedback and start_investigation. The model provider sits at the end of the client path, and retention and training terms apply there, so check that provider's terms as well as Astronomer's.

Data paths from Airflow to the AI client, with the two tools that send data to Astronomer.

Which data categories to restrict before connecting an assistant

An Airflow MCP server returns whatever the connected identity can read, so the exposure depends on which categories of data the assistant can reach. The cards below cover the categories reviewers most often need to narrow, the control to consider for each, and the questions to put to the vendor before approval.

Dag run and task logs

Task logs often contain query text, file paths, API responses and occasionally values that a task printed by mistake. The Astro MCP server can return task logs and Dag and Dag run data to the connected AI client, so anything a task logged becomes readable to the assistant. Check which Airflow role the MCP identity holds and whether that role can read every Dag or only a named set. Ask Astronomer whether task log output is filtered before it reaches the client.

Astro MCP server docs

Airflow component logs

Component logs for the scheduler, webserver and triggerer show platform activity across the whole Deployment rather than one Dag. The Astro MCP server can return these for windows of up to 24 hours, so a single request may expose more than the requester needs. Restrict the window the assistant may request where the setup allows it, and limit access to the identities that run operational troubleshooting. Confirm with Astronomer how component logs are scoped for each user.

Deployment details

Deployment details describe the environment layout, including the names of Deployments, versions and configuration. This is useful for troubleshooting but maps your platform to an outside AI client. Decide which teams may ask the assistant about production Deployments at all, and keep read access to non-production Deployments separate from production. Ask the vendor which Deployment fields are returned and whether they can be filtered by the caller's permissions.

Environment objects: connections and variables

Airflow connections and variables often hold credentials for databases, cloud accounts and APIs. The Astro MCP server's docs say it hides secret values of these objects, but the object names, types and non-secret fields may still be returned. Review which connections exist before the assistant connects, move high-value credentials to a secrets backend where possible, and confirm the masking behavior in your Airflow version and in the standalone server you run. Test with a non-production Deployment first.

Tools that send data to Astronomer

The submit_feedback tool sends bug reports or requests to Astronomer, and start_investigation starts an Otto investigation of a failed Dag run. Both move Airflow data outside the Deployment, and the content of what is sent depends on the tool and the request. Decide whether these tools are allowed for your environment, and disable or omit them where your configuration allows it. Ask Astronomer what data an investigation includes, where it is processed and how long it is kept.

AI client and model provider retention

Once Airflow data reaches the assistant, its retention and training terms are set by the AI client and the model provider, not by the Airflow MCP server. The Astronomer MCP pages do not state a retention period or training use for that data. Ask the AI client vendor for its retention period, whether prompts or tool results are used for training, and which region processes them. Record the answer before approving any connection that returns logs or environment data.

How the answer changes by deployment and data sensitivity

The standalone astro-airflow-mcp server runs on infrastructure you control and connects to the Airflow instance named in AIRFLOW_API_URL, which defaults to ` Metadata, task output and environment details the tools return travel from your Airflow API to the MCP server and then to the AI client you connect. Astronomer is not in that path, so its terms do not govern this traffic. Retention is set by your own logging and by whatever the AI client or model provider keeps, so the review focuses on those parties.

  • Data path: Responses move from your Airflow REST API to the MCP server and then to the AI client, all within your network if the client runs locally.
  • Endpoint setting: Confirm AIRFLOW_API_URL points to the intended instance and not to a shared or production cluster by default.
  • Credentials: Check which Airflow account the server uses, since its role limits what every connected client can read.
  • Retention: Your own logs keep what the server writes, while the AI client and model provider set retention for what they receive.

Before approval, confirm with the AI client vendor where prompts and tool results are stored and whether they are used for training.

What retention and training terms the sources leave open

The Astronomer documentation for the Astro MCP server does not state a retention period or a training use for data that reaches the connected AI client. The same is true of the astro-airflow-mcp README. That silence matters because the server only fetches Deployment details, component logs, task logs, and Dag and Dag run data. Once those results enter the AI client, the storage, reuse and deletion rules come from whichever client or model provider your staff use, not from the Airflow tooling. Reviewers should treat retention and training as open questions until the chosen provider answers them in writing.

Ask the client or model provider for a written statement covering four points: the retention period for prompts, tool results and logs, whether customer content is used for model training and how to opt out, where the data is stored and processed (including any region or sub-processors), and whether the provider offers zero data retention or an equivalent for your plan. Confirm these against the provider's current terms, since they can differ by plan, and record the answers in your approval file. Also confirm whether any log data in the Airflow deployment itself, outside the AI client, has a retention setting your team controls.

Separately, confirm whether Astronomer receives content through the Astro MCP server's submit_feedback and start_investigation tools. The docs say submit_feedback sends bug reports or requests to Astronomer, and start_investigation starts an Otto investigation of a failed Dag run. Ask Astronomer in writing what content those tools send, whether task logs or environment details are included, how long Astronomer keeps it, and whether it is used for training. If those answers are unacceptable, restrict or block both tools in your MCP client configuration before connecting anyone.

Order of checks before approving the connection

This sequence confirms which server and Airflow version are in play, proves its behavior in a non-production Deployment, and ends with written approval that names the data each tool may return to an AI client.

  1. Confirm which MCP server is in use

    Identify the exact server before any other check. The options are the official astro-airflow-mcp package from Astronomer, the Astro MCP server (a remote server that signs users in with their own Astro credentials and is marked as a Labs feature), or a community project such as madamak/apache-airflow-mcp-server, which is not published by the Apache Airflow project or Astronomer. Ask the requesting team to name the package, repository, and version they plan to install. The step is done when the server name, publisher, and version appear in the request record and the publisher is confirmed against the source repository and PyPI listing. Treat anything else as a separate review.

  2. Confirm the Airflow version range

    Record the Airflow version and runtime of the target Deployment. The Astronomer plugin supports Airflow 3.x (Astro Runtime 3.1 or later) and Airflow 2.x (2.4 or later), and it mounts differently on each (a FastAPI app on Airflow 3, a Flask blueprint on Airflow 2). Confirm the Python requirement of 3.10 or later for the standalone package. Check that the chosen server supports the exact version in use. The step closes when the version pairing is written down and the reviewer has checked it against the server's own documentation. An unsupported pairing sends the request back to the engineering owner.

  3. Test in a non-production Deployment

    Install the server in a non-production Airflow Deployment that holds no sensitive Dags, connections, or variables. For the standalone package, point AIRFLOW_API_URL at that instance instead of the default localhost address. The reviewer or security engineer runs each tool from a test AI client and records what came back. The step is complete when the test log shows which tools responded, what categories of data appeared (Dag metadata, task logs, Deployment details, environment objects), and whether any secret values were visible. Any secret exposure stops the rollout until it is fixed.

  4. Review what each tool returns

    Go through the tool list and, for each tool, note what it returns to the connected client: Dag and Dag run metadata, task logs, Airflow component logs for windows of up to 24 hours, Deployment details, and environment objects such as connections and variables. Check whether secret values are masked for connections and variables, and confirm that masking was observed in the test rather than assumed. Mark any tool that can return logs containing business or personal data. The step is done when every tool has a documented data class in the review sheet.

  5. Decide tool-level restrictions

    Using the data classes from the previous step, decide which tools stay enabled, which are restricted, and which are blocked. Note that the Astro MCP server can send bug reports or requests through submit_feedback and can start an Otto investigation through start_investigation, so decide whether those tools may send Deployment information to Astronomer. Apply the restrictions the server supports, such as tool allowlists or read-only roles, and confirm each one by repeating the test and seeing the blocked call fail. The step closes when the approved tool list is signed off by the platform owner and the security reviewer.

  6. Obtain the AI provider's written terms

    The Astronomer pages reviewed do not state a retention period or a training use for data passed to an AI client. Those terms belong to the AI client or model provider. Request the provider's written data retention, training, and sub-processor terms for the plan the team will use, and confirm they cover the Airflow data classes approved in the review. Record the document name, version, and date received. The step is done when the reviewer has read the terms and confirmed that the approved data classes fall within them, or has escalated any gap.

  7. Document approval and conditions

    Write the approval record. It should name the server and version, the Airflow version range, the approved and blocked tools, the test evidence, the AI provider terms reviewed, the accounts permitted to connect, and the conditions for re-review, such as a server upgrade or a change in provider terms. Have the head of engineering, IT, or security sign it. The step is complete when the signed record is stored with the request and the deployment team has a written list of the restrictions to apply.

Evidence a security reviewer should request

This table lists the evidence a reviewer should ask for on each data privacy control, and where that evidence usually comes from. Read it as a request list: a row marked with a vendor source tells you what the vendor documents, while a row that points to your own testing or your AI provider's contract tells you what you still have to verify yourself before approval.

ControlEvidence to requestWhere it comes from
Data returned per toolWritten list of each Astro MCP tool and the Deployment, log, task, Dag and Dag run fields it returns to the clientAstronomer docs for the Astro MCP server, confirmed by a test run in your own environment
Secret maskingTest result showing that Airflow connection and variable values are hidden in every tool response, including logs and error messagesAstronomer docs state values are hidden; your team must verify this with test objects
Standalone plugin behaviorConfirmation of which data the standalone astro-airflow-mcp server reads from AIRFLOW_API_URL and whether any call leaves your networkastro-airflow-mcp README and your own network capture
Outbound data to AstronomerNamed list of tools that send data to Astronomer, such as submit_feedback and start_investigation, with the payload each sendsAstronomer docs for the Astro MCP server, verified against the tool definitions in your version
Otto investigation scopeDescription of which Dag run and log data start_investigation shares with Astronomer, and whether your Deployment is part of that flowAstronomer docs and a written answer from Astronomer
AI provider retention termsRetention period, training use and data location for the AI client and model provider your staff useThe AI provider's own data terms, since the MCP server pages do not state them
Version testedExact package version and Airflow version (2.4 or later, or 3.x with Astro Runtime 3.1 or later) used in the reviewPyPI lists version 0.9.2 when read in November 2026; confirm the version you deploy
Audit loggingRecords showing which client and user made each MCP call, and where those logs are keptYour Airflow logging configuration and a test call, since the docs do not describe MCP call logs

Questions buyers ask before approving Airflow MCP data access

Does the standalone Airflow MCP server send data to Astronomer?

The standalone astro-airflow-mcp server does not need Astronomer in the path. It connects to the Airflow instance named in AIRFLOW_API_URL, which defaults to and it reaches that instance's REST API. It can run on your own infrastructure, so the data it returns stays between your Airflow deployment and the AI client you connect. Confirm this by reading the package source and watching outbound traffic from a test host, because the answer changes if you use the Astro MCP server instead. The Astro MCP server is a separate remote service that signs users in with Astro credentials.

Which Airflow MCP tools send data to Astronomer?

The Astro MCP server is the one that involves Astronomer's own services. Its submit_feedback tool sends bug reports or requests to Astronomer, and start_investigation starts an Otto investigation of a failed Dag run. Reviewers should treat both as outbound data flows and decide whether they are allowed for each team. Read the Astronomer docs for the current list of tools on the Astro MCP server, since tool names can change between releases, and confirm in writing what each tool sends and where it is processed.

Can an Airflow MCP server return secret values from connections and variables?

Astronomer's docs say the Astro MCP server hides secret values of environment objects such as Airflow connections and variables. That protects the values in that server's responses, but it does not tell you what other servers or plugins expose. Before approving access, confirm the masking behavior for the exact package and version you run, then test it by listing connections and variables with a test account and checking the response. Also check that Airflow's own secrets backend and task logs do not print credentials, because logs are a separate path to the AI client.

What data can an Airflow MCP server return to the AI client?

The Astro MCP server can return Deployment details, Airflow component logs for windows of up to 24 hours, task logs, and Dag and Dag run data, all to the connected AI client. Logs are often the most sensitive part, since they can contain query text, file paths, customer identifiers or error payloads. Reviewers should list each data type, decide which teams may see it, and restrict log access first. Confirm the same list for the standalone package, because its tools map to Airflow's REST API and may expose different fields.

How long does Astronomer or the AI provider keep Airflow data?

The Astronomer MCP server pages do not state a retention period or training use for data passed to an AI client. Retention depends on the AI client and the model provider you use, so the answer sits in that provider's terms, not in the Airflow server documentation. Ask your AI vendor for its retention period, whether prompts and tool results are used for training, and whether a zero data retention option applies to your plan. Ask Astronomer the same questions for any data its services receive, including feedback and investigation requests.

How much effort does a privacy review of an Airflow MCP server take?

Effort depends mostly on how many Airflow deployments and teams are in scope, how many tools each team will enable, and how many AI clients connect to the server. A single read-only test on one development environment is much smaller than a review covering production Dags, logs and connections across several clients. Other drivers include how many data owners must sign off, whether the AI provider contract needs changes, and how much evidence your compliance team requires. Ask for a written scope that lists environments, tools, clients and the data types covered before agreeing on effort.

Can our own team run the privacy review, or do we need outside help?

Your own security or platform team can run the review if it has access to the Airflow deployment, the package source, network logs and the AI vendor's terms. The work is mostly reading documentation, testing tool responses with a test account, and recording what each tool returns. Outside help adds value when you need an independent test of prompt injection, tool permissions and credential handling, or when evidence must be prepared for an assessment. DeployOpen runs security testing of AI agents and MCP setups, delivers a findings report with fixes and a retest, and works from a written fixed scope. DeployOpen does not issue audit reports or certifications.

What should we restrict before connecting an AI assistant to Airflow?

Start with the data types that carry the most risk, then the tools that can change state. Restrict or exclude these before the first connection:

  • Task and component logs, especially for Dags that handle customer or regulated data
  • Connection and variable objects, and confirm that secret values stay hidden
  • Dag run data for production deployments, using a separate test deployment for early trials
  • Any tool that sends data to an Astronomer service, until its use is approved

Record each decision, then retest after every package upgrade, since the Airflow MCP package version you approve is the one you must review.

Official pages to check each claim against

Start with the Astronomer MCP servers docs page, because it is the vendor source that defines what the Astro MCP server and the Airflow MCP plugin can return to an AI client. It confirms that the plugin installs into an Airflow Deployment and exposes an MCP endpoint on the webserver at /mcp/v1/, that the Astro MCP server can return Deployment details, component logs for windows of up to 24 hours, task logs, and Dag and Dag run data, and that it hides secret values of environment objects such as connections and variables. It also documents submit_feedback and start_investigation, which send data to Astronomer. Read it alongside the Astronomer docs: MCP servers page and confirm which of these behaviors apply to the edition and Runtime version you plan to run.

Next, the astro-airflow-mcp README describes the standalone server. It confirms that the server connects to the Airflow instance named in AIRFLOW_API_URL, which defaults to ` and that it reaches Airflow's REST API and can run on your own infrastructure. This is the page to check when the question is where the server sends requests and which credentials it uses. The README does not describe a retention period or training use for data passed to an AI client, so those terms must come from your AI client or model provider. The PyPI page for astro-airflow-mcp confirms the Apache 2.0 license, the Python 3.10 minimum, the version listed when it was read in November 2026 (0.9.2), and the standalone or plugin modes. Pin the version you review and record it in your approval file.

Finally, the Apache Airflow common AI provider MCP toolset page covers a different direction. It documents an MCPToolset that lets Airflow tasks call an MCP server configured as an Airflow connection, which makes Airflow an MCP client. Reviewers should not count it as an Airflow MCP server when mapping data flows, but should check it separately if any Dag would send Airflow data to an external MCP server. Community servers such as madamak/apache-airflow-mcp-server are not published by Apache Airflow or Astronomer, so their data handling needs its own review.

How DeployOpen tests Airflow MCP data exposure

DeployOpen plans, implements, tests and documents self-hosted platforms inside the client's own infrastructure, and the same approach applies to Airflow MCP server data privacy. We start from the exact data each connected client can reach, then test and document what leaves the environment and what the team should restrict before approval.

How we scope

  • Written scope listing which Airflow MCP server, plugin or Astro MCP server is in use and which environments it reaches
  • Inventory of the tools enabled, including Dag, task log, environment object and component log reads
  • Agreed list of AI clients, users and data categories that the review must cover before approval
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts

How we build

  • Self-hosted Airflow MCP deployment inside the client's infrastructure, with access limited to the configured AIRFLOW_API_URL
  • Test cases for secret exposure in connections and variables, log content leakage and Dag metadata returned to the AI client
  • Review of which tools send data to a vendor endpoint, such as feedback or investigation tools, and how they can be disabled
  • Documented role and token settings so the client's security team can confirm least-privilege access to the Airflow REST API

How we hand over

  • Findings report that maps each exposed data category to its risk, the fix applied and the owner responsible
  • Configuration record listing enabled tools, restricted tools, network paths and the AI client settings that were tested
  • Retest of the restricted setup, with results recorded so reviewers can compare before and after
  • Evidence package that the client's compliance and security teams can use in their own review

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for the Airflow MCP deployment
  • Re-review when the server, plugin or AI client version changes, so new tools or data paths are tested before use
  • Periodic retests scoped with the client, covering new Dags, connections and team members who connect AI clients
  • DeployOpen prepares evidence for compliance assessments but does not issue audit reports or certifications; independent auditors do

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.