foaas-mcp: Instructions file for GitHub Copilot

.github/copilot-instructions.md

foaas-mcp copilot-instructions.md is an instructions file for GitHub Copilot from gusztavvargadr/foaas-mcp. It costs 2,118 tokens per session, scanned A, original, MIT.

Repository-specific instructions for the FOAAS MCP project, a Docker-based service that exposes the Fuck Off As A Service API to Visual Studio Code. The instructions include code-review rules and the project's architecture.

In plain words
What is it for?
Reviewing and developing the FOAAS MCP server, including its TypeScript tools, Docker setup, standard-input communication, and direct API mappings.
Why use it?
They tell an agent what to check before suggesting changes, including planned work in the roadmap. This helps reviews stay focused on the current code and project conventions.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is gusztavvargadr/foaas-mcp's own configuration. It tells GitHub Copilot how to work on foaas-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything foaas-mcp configures โ†’

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { fromParam, toParam, formatFoaasResponse } from '../shared/schemas.js';.

Reuse

Borrowing it

Nothing to install: this file belongs to gusztavvargadr/foaas-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gusztavvargadr/foaas-mcp/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/gusztavvargadr/foaas-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 foaas-mcp copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gusztavvargadr/foaas-mcp/copilot-instructions/github.svg)](https://agentmods.dev/instructions/gusztavvargadr/foaas-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/gusztavvargadr/foaas-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/gusztavvargadr/foaas-mcp/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.

agentmods 80ร—15 button for foaas-mcp copilot-instructions.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/gusztavvargadr/foaas-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/gusztavvargadr/foaas-mcp/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,118 This file is loaded in full into every session.
When invoked 2,118 The same file โ€” it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file โ€” not that it is safe.
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.1 $0.02118 $0.02118
Opus 5 $0.01059 $0.01059
Sonnet 5 $0.00424 $0.00424
Haiku 4.5 $0.00212 $0.00212

Measured 9d ago against content hash 441b4c7ab07b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

foaas-mcp 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 9d 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.

.github/copilot-instructions.md ยท 211 lines

How it starts

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

GitHub Copilot Instructions for FOAAS MCP

๐Ÿšจ CRITICAL: Code Review Guidelines (READ FIRST)

Before suggesting improvements in PR reviews:

  1. โœ… Check docs/roadmap/backlog/ - Is it already planned?
  2. โœ… Check docs/roadmap/next/ - Is it in progress?
  3. โŒ Don't suggest improvements already documented in the roadmap

Example: Don't flag "CI is too complex" - it's tracked in build-script-externalization.md

Why? Keep reviews focused on current PR quality, not rehashing known future work.


Project Overview

MCP server exposing FOAAS (Fuck Off As A Service) via Docker. Uses stdio transport for VS Code integration.

โš ๏ธ Content Warning: Intentionally contains explicit language.

Architecture

Transport: stdio only (no HTTP) - simpler, more secure, sufficient for VS Code demo
Runtime: Docker (Debian 12 Bookworm Slim + Node.js 20.19.5 + dumb-init)
Language: TypeScript 5.9.3 (ES2022 modules, strict mode)
Tools: 23 individual tools (all foaas_* prefix, direct 1:1 API mapping)

Tool Design Pattern

Individual tools only (foaas_*): Direct 1:1 mapping to FOAAS API operations

  • Example: foaas_legend โ†’ GET /legend/{name}/{from}
  • Example: foaas_logs โ†’ GET /logs/{from}
  • Direct, predictable, AI picks best contextual fit
  • No randomization - precise control over responses

Why individual tools only?

  • Consistent parameters within each tool
  • AI can select the perfect response for context
  • Simpler architecture (1 tool = 1 operation)
  • Better demo of MCP's smart tool selection
  • Removed group tools due to parameter inconsistency

Key Files

  • src/server.ts - MCP server setup, tool registration (import โ†’ array โ†’ register)
  • src/foaas/client.ts - FOAAS API client (all operations, URL encoding, error handling)
  • src/tools/shared/schemas.ts - Shared Zod schemas (fromParam, toParam, formatFoaasResponse)
  • src/tools/individual/*.ts - Individual tool implementations (1 file = 1 tool)

Read the full file on GitHub ยท 211 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. 9d ago First seen ยท 211 lines ยท 2,118 tokens per session scan A 441b4c7ab07b

Subscribe to this mod's changes

foaas-mcp copilot-instructions.md is an instructions file published in the GitHub repository gusztavvargadr/foaas-mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 2,118 tokens to every session, about $0.0106 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-31.

Related

Other instructions, from other repositories

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.

vercel/next.js ยท 7,296 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,153 tokens

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

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

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,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness ยท 3,735 tokens