Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/call518/mcp-airflow-api/copilot-instructionsgit clone --depth 1 https://github.com/call518/MCP-Airflow-APIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/call518/mcp-airflow-api/copilot-instructions)<a href="https://agentmods.dev/instructions/call518/mcp-airflow-api/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/call518/mcp-airflow-api/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00769 | $0.00769 |
| Opus 5 | $0.00385 | $0.00385 |
| Sonnet 5 | $0.00154 | $0.00154 |
| Haiku 4.5 | $0.00077 | $0.00077 |
Grade A, and why
MCP-Airflow-API copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- mcp-airflow-api copilot-instructions.md — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions for MCP-Airflow-API
Project Architecture
Core Pattern: MCP (Model Context Protocol) server exposing Apache Airflow REST API as LLM-friendly tools.
Key Components:
src/mcp_airflow_api/airflow_api.py: 40+@mcp.tool()decorators defining Airflow operationssrc/mcp_airflow_api/functions.py: Global session management with connection poolingsrc/mcp_airflow_api/prompt_template.md: Canonical English instructions for LLMspyproject.toml: Entry pointmcp-airflow-api = "mcp_airflow_mcp_main:main"
Transport Logic: Environment variable FASTMCP_TYPE controls stdio vs http mode:
transport_type = args.transport_type or os.getenv("FASTMCP_TYPE", "stdio")
if transport_type == "streamable-http":
mcp.run(transport="streamable-http", host=host, port=port) # Docker mode
else:
mcp.run(transport='stdio') # Local mode
Critical Patterns
Connection Pooling: Use global _airflow_session for performance:
# functions.py - persistent session with retry strategy
_airflow_session = requests.Session() # Reused across all API calls
Pagination Strategy: All tools return {data, total_entries, limit, offset, has_more_pages, next_offset}:
# Standard pattern in airflow_api.py
def list_dags(limit=20, offset=0):
# Returns pagination metadata for large environments (1000+ DAGs)
Configuration Files: Multiple configs for different deployment modes:
mcp-config.json.stdio: Localpython -m mcp_airflow_mcp_mainmcp-config.json.http: Docker"url": "http://host.docker.internal:18002/mcp"
Docker Multi-Service Pattern
docker-compose.yml orchestrates 3 services:
mcp-server: FastMCP server (port 18002→8080 internal)mcpo-proxy: MCP-to-REST converter (Swagger at :8002/docs)open-webui: Web interface (port 3002)
Build Commands: Use versioned Docker images:
./build-mcp-server-docker-image.sh # Builds call518/mcp-server-airflow-api:1.0.0
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 69 lines · 769 tokens per session scan A 21632f08c01e
MCP-Airflow-API copilot-instructions.md is an instructions file published in the GitHub repository call518/MCP-Airflow-API (51 stars, last pushed 1mo ago), licensed MIT. It adds 769 tokens to every session, about $0.0038 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
mcpelevator CLAUDE.md
Instructions for pacnpal/mcpelevator, covering commands, architecture, conventions, agent skills and issue tracker.
mcpelevator AGENTS.md
Instructions for pacnpal/mcpelevator, covering commands, architecture and conventions.
appwrite AGENTS.md
AGENTS.md instructions for appwrite/appwrite, covering appwrite, commands, stack, layout and libraries.
netdata AGENTS.md
AGENTS.md instructions for netdata/netdata, covering agents.md, goals, requirement language, working with the user and development principles.
selfhost-ai CLAUDE.md
Claude Code instructions for kossakovsky/selfhost-ai, covering claude.md, project overview, core architecture, key files and installation flow.
adeu GEMINI.md
Gemini CLI instructions for dealfluence/adeu, covering adeu — native track changes for ai, available tools, readdocx, processdocumentbatch and applytextrevision.