Borrowing it
Nothing to install: this file belongs to mcpambassador/server. 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/mcpambassador/server/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/mcpambassador/serverWrote 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/mcpambassador/server/copilot-instructions)<a href="https://agentmods.dev/instructions/mcpambassador/server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/mcpambassador/server/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/mcpambassador/server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/mcpambassador/server/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.01101 | $0.01101 |
| Opus 5.5 | $0.00440 | $0.00440 |
| Sonnet 5.5 | $0.00220 | $0.00220 |
| Haiku 4.5 | $0.00110 | $0.00110 |
Grade A, and why
server 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
execSync(`command ${userParam}`) How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Ambassador Server — Copilot Instructions
Repo Context
This is the mcpambassador_server repository — a pnpm monorepo containing the Ambassador Server. It is the core of the platform: a Fastify HTTP server with a React SPA, SQLite database, and a plugin-based architecture for auth, authorization, and audit.
Version: 0.10.4
Stack: Node.js 22+, TypeScript strict, pnpm workspaces, Fastify, Zod, Drizzle ORM (SQLite), React 19, Tailwind v4, Vite, Docker
Monorepo Package Structure
packages/
core/ # Database schema (Drizzle), migrations, shared types
protocol/ # MCP protocol types and wire format
contracts/ # Shared Zod schemas for API contracts
authn-ephemeral/ # SPI implementation: authentication (ephemeral sessions)
authz-local/ # SPI implementation: authorization (local RBAC)
audit-file/ # SPI implementation: audit logging (append-only file)
server/ # Main Fastify server, routes, plugin wiring
spa/ # React 19 SPA (admin + user UI)
Architecture Patterns
SPI (Service Provider Interface)
AuthN, AuthZ, and Audit are injected as SPI plugins — never hardcoded. The server core depends on interfaces (IAuthnProvider, IAuthzProvider, IAuditProvider), not implementations. When adding auth-related code, always work through these interfaces.
Fastify Conventions
- All routes must use
schema: { body: ZodSchema, params: ZodSchema }— never skip validation - Error responses use the canonical format:
{ error: { code: string, message: string } } - Never expose stack traces, internal error messages, or Zod validation internals in responses
- Use Fastify's
reply.code(n).send(...)pattern consistently
Drizzle ORM
- Schema lives in
packages/core/src/schema.ts - Migrations live in
packages/core/drizzle/ - Any schema change requires a migration — do NOT use
pushin production - Sensitive columns (credentials, tokens) are encrypted at the application layer before storage
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.
- 3d ago Changed 852e15400f89
- 5d ago Changed 2a144da4178b
- 6d ago Changed · -3 tokens per session d8b49f9bce28
- 2mo ago First seen · 99 lines · 1,104 tokens per session scan A d071f4d5b255
server copilot-instructions.md is an instructions file published in the GitHub repository mcpambassador/server (3 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,101 tokens to every session, about $0.0044 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
server copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| server copilot-instructions.mdmcpambassador/server | Instructions file | 3 | 4d ago | Apache-2.0 | A | 1,101 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | 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 | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |