multi-mcp copilot-instructions.md

multi-mcp copilot-instructions.md is an instructions file for GitHub Copilot from itstanner5216/multi-mcp. It costs 981 tokens per session, scanned A, original, MIT.

A set of GitHub Copilot instructions for reviewing code in a Python MCP proxy server. MCP is a standard way for applications to connect AI tools to external services.

In plain words
What is it for?
Use it to check pull requests for blocking operations in asynchronous code, unsafe API-key handling, bypassed configuration settings, tight backend coupling, and unwanted global state.
Why use it?
It gives reviews consistent rules for architecture, security, configuration, code quality, and logging.

Instructions file for GitHub Copilot

Install

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.

agentmods
npx agentmods add instructions/itstanner5216/multi-mcp/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/itstanner5216/multi-mcp

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for multi-mcp copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/itstanner5216/multi-mcp/copilot-instructions.svg)](https://agentmods.dev/instructions/itstanner5216/multi-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/itstanner5216/multi-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/itstanner5216/multi-mcp/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 981 This file is loaded in full into every session.
When invoked 981 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00981 $0.00981
Opus 5 $0.00491 $0.00491
Sonnet 5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

Measured 3d ago against content hash 33a1d42092b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

multi-mcp copilot-instructions.md scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`requests.get()`, `time.sleep()`) made outside of an executor — suggest `anyio`/`asyncio`
.github/copilot-instructions.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Code Review Instructions

These instructions define how GitHub Copilot should review pull requests in this repository. This is a production-grade Python MCP (Model Context Protocol) proxy server built on asyncio, anyio, Starlette, Pydantic, and loguru. Apply the following standards on every review.


Architecture & Design

  • This codebase uses an async-first architecture. Flag any blocking I/O calls (e.g., open(), requests.get(), time.sleep()) made outside of an executor — suggest anyio/asyncio async equivalents instead.
  • All configuration must flow through Pydantic models (pydantic-settings). Flag any raw os.environ or os.getenv calls that bypass the settings layer.
  • The proxy pattern (aggregating multiple MCP backends into one endpoint) is core to this project. Flag any code that tightly couples business logic to a specific backend transport (stdio vs SSE) — these should be abstracted.
  • Prefer dependency injection over global state. Flag module-level mutable globals.

Security

  • Flag any place where the --api-key value could be logged, printed, or exposed in tracebacks. API keys must never appear in log output at any level.
  • Flag any use of subprocess or shell=True without explicit input sanitisation.
  • Flag any dynamic eval(), exec(), or __import__() usage.
  • Flag any file path construction that uses raw string concatenation instead of pathlib.Path.
  • Ensure all external HTTP calls use httpx (the project standard) — flag use of requests in new code since requests is synchronous and not appropriate for this async codebase.

Code Quality

  • All public functions and classes must have docstrings. Flag missing docstrings on anything that is not a private helper (_ prefix).
  • Type annotations are required on all function signatures. Flag unannotated parameters or return types.
  • Pydantic v2 patterns must be used throughout. Flag any Pydantic v1 patterns such as .dict(), .parse_obj(), validator decorators — suggest v2 equivalents (.model_dump(), .model_validate(), @field_validator).
  • Flag bare except: or except Exception: clauses without logging or re-raising — silent swallowing of exceptions is not acceptable in a proxy server.
  • Flag any TODO, FIXME, or HACK comments introduced in the PR diff.

Read the full file on GitHub · 83 lines

Changes

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.

  1. 3d ago First seen · 83 lines · 981 tokens per session scan A 33a1d42092b6

Subscribe to this mod's changes

multi-mcp copilot-instructions.md is an instructions file published in the GitHub repository itstanner5216/multi-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 981 tokens to every session, about $0.0049 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

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).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

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.

openai/codex · 5,182 tokens

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.

langchain-ai/langchain · 4,345 tokens

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).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens