This release is a pre-release and may not be stable for production use.
astro-mcp
Model Context Protocol (MCP) server for interacting with the Astro and Airflow APIs.
Installation
uv pip install mcp[cli]
python -m mcp.server install git+https://github.com/astronomer/astro-mcp.git
Usage
To use the Astro MCP server with the MCP CLI:
# Set your API key
export ASTRO_API_KEY=your_api_key
# Start a chat with the server
mcp chat --server astro
# Or specify the server directly
mcp chat --server astro --server-args api_key=your_api_key
Development
# Clone the repo
git clone https://github.com/astronomer/astro-mcp.git
cd astro-mcp
# Install dependencies
uv pip install -e "."
# Download the API specs
python scripts/download_specs.py
# Run the server directly
python -m src
Build and Distribute
To build the package with the API specs bundled:
# First make sure the API specs are downloaded
python scripts/download_specs.py
# Build the package
uv pip install build
python -m build
# The built package will be in the dist/ directory
# Install it directly
uv pip install dist/*.whl
# Or publish to PyPI
uv pip install twine
twine upload dist/*
Metadata
Release files for astro-mcp 0.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| astro_mcp-0.0.0a5.tar.gz | 62.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| astro_mcp-0.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.2 kB
Release files / astro_mcp-0.0.0a5.tar.gz
| Download URL | astro_mcp-0.0.0a5.tar.gz |
|---|---|
| Size | 62.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
385f0a8e829f13cf52035ec72efe341538ab8a4257a7ee2abedf5dd90c8b38cb
|
|
BLAKE2b-256 checksum How to use checksums |
3d5a64a5ca3974d8f0fb1e4418657c6ff4a2a24923cf53d1e77ab8dac1e59871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.18
|
Release files / astro_mcp-0.0.0a5-py3-none-any.whl
| Download URL | astro_mcp-0.0.0a5-py3-none-any.whl |
|---|---|
| Size | 29.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c9425d210ebd979210f81fd7db12c3729003dca030ceb27c4bcd05faeba08e1
|
|
BLAKE2b-256 checksum How to use checksums |
ef9ed42a05d39af4987f242b20a46d609c29c57f45b06591fe895c500fad32ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.18
|
Security for astro-mcp 0.0.0a5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.