Borrowing it
Nothing to install: this file belongs to fastmcp-me/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/fastmcp-me/mcp-airflow-api/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/fastmcp-me/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/fastmcp-me/mcp-airflow-api/copilot-instructions)<a href="https://agentmods.dev/instructions/fastmcp-me/mcp-airflow-api/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/fastmcp-me/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.1 | $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 5d 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.
This is a copy
100% identical to MCP-Airflow-API copilot-instructions.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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.
- 5d 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 fastmcp-me/mcp-airflow-api (0 stars, last pushed 10mo 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. It is 100% identical to MCP-Airflow-API copilot-instructions.md, differing in 0 lines, and is treated as a copy.
Other instructions, from other repositories
vibe-coding-prompt-template backend.instructions.md
Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.