Borrowing it
Nothing to install: this file belongs to call518/MCP-Airflow-API. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/call518/MCP-Airflow-API/main/.github/copilot-instructions.mdgit 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.1 | $0.00769 | $0.00769 |
| Opus 5.5 | $0.00308 | $0.00308 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (54 stars, last pushed 4d ago), licensed MIT. It adds 769 tokens to every session, about $0.0031 per session on Opus 5.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.
MCP-Airflow-API copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| MCP-Airflow-API copilot-instructions.mdcall518/MCP-Airflow-API | Instructions file | 54 | 4d ago | MIT | A | 769 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |