mcp-remote module in compatible AI clients.
For enhanced agent capabilities such as Dag authoring, testing, and debugging, see the Astronomer AI Agent tooling repository.
MCP servers
Astro provides the following MCP servers:- Astro MCP server (
astro) is an authenticated remote MCP server for accessing your Astro control plane, including Deployments, Workspaces, environment objects, and Organization settings. It signs you in with your own Astro credentials and respects your existing permissions. This server replaces the deprecated Astro Cloud MCP server. - Astro Registry MCP server (
astro-registry) is an experimental remote MCP server for accessing the Astro Registry. - Astro Cloud MCP server (
astro-cloud) is deprecated and replaced by the Astro MCP server. See the following warning.
Set up the Astro MCP server
LabsThis feature is in Labs. Contact your account team to enable this feature.
- Claude Code
- Cursor
- Claude Desktop
- VS Code
- Codex
Claude Code connects to remote MCP servers natively without the The first time you use a tool from the server, your client opens a browser window so you can sign in with your Astro credentials.
mcp-remote module.Set up the Astro Registry MCP server
PreviewThis feature is in Preview.
- Windsurf
- Cursor
- Claude Code
-
Open Windsurf settings with
CTRL/CMD + ,. - Navigate to Cascade > Manage plugins.
- Select View raw config.
-
Add the following configuration:
- Click Save to save your configuration and check the Plugins section to verify that your server is connected.
Airflow MCP plugin
The Airflow MCP plugin (astro-airflow-mcp) is an open-source package that installs directly into an Airflow Deployment and exposes an MCP endpoint on the webserver. This gives AI tools direct access to Airflow’s REST API — Dags, task logs, connections, variables, and more — without running a separate server.
Unlike the Astro MCP server (which manages Astro-level resources like Deployments and Workspaces), the Airflow MCP plugin provides Airflow-level access for a single Deployment: listing Dags, viewing task logs, inspecting connections, diagnosing failures, and more.
The plugin auto-detects the installed Airflow version and registers the appropriate integration:
- Airflow 3.x: Mounts as a FastAPI app on the API server.
- Airflow 2.x (2.4 or later): Registers as a Flask blueprint on the webserver.
Prerequisites
- An Airflow Deployment on Astro. The plugin supports Airflow 3.x (Runtime 3.1 or later) and Airflow 2.x (2.4 or later).
- A Deployment API token with a role that allows POST requests (required by the MCP protocol). See Configure authentication for role options.
Install the plugin
Addastro-airflow-mcp to your Astro project’s requirements.txt:
Set environment variables
After deploying, set the following environment variable on your Deployment to block write operations:In plugin mode, the MCP server always runs in stateless HTTP mode, so Claude Code and other MCP clients work without additional configuration. The
FASTMCP_STATELESS_HTTP environment variable applies only when running the MCP server as a standalone process.Configure authentication
The MCP protocol uses POST requests for all operations, including read-only ones. Your Deployment API token does not need write permissions for read-only MCP access: authorization is still based on the underlying Airflow permissions, so a custom role with read permissions such as*.get is sufficient. The important exception is WORKSPACE_MEMBER, which Astro’s auth proxy blocks from making the POST requests the MCP protocol requires.
Option A: Use a built-in role
Create a Deployment API token with one of the following roles:DEPLOYMENT_ADMIN— Full access (works but overprivileged)WORKSPACE_OPERATORorWORKSPACE_AUTHOR— Moderate privilege
Option B: Create a custom MCP_VIEWER role (recommended)
For least-privilege access, create a custom Deployment role that includes only read permissions. This ensures the token can use all MCP read tools but cannot modify any Airflow resources.
- In the Astro UI, go to Settings, then in the Access Management section, click Roles & Permissions, click Custom, then click + New Custom Role (in the legacy UI, go to Organization Settings > Access Management > Roles, then click + Add Role).
- Set the Scope to Deployment.
-
Name the role
MCP_VIEWERwith a description like “Read-only access for Airflow MCP plugin.” -
Select all
deployment.airflow.*.getpermissions. See Custom role permissions reference for the full list. The role should include these 28 permissions: - Click Create role.
Connect your MCP client
After the plugin is deployed and a token is created, the MCP endpoint is available at:- Claude Code
- Cursor
- VS Code / Other Clients