mcp-badge-creator: Instructions file for GitHub Copilot

.github/copilot-instructions.md

mcp-badge-creator copilot-instructions.md is an instructions file for GitHub Copilot from jamesmontemagno/mcp-badge-creator. It costs 4,017 tokens per session, scanned A, original, MIT.

Project instructions for an MCP badge creator, a React and TypeScript web app that generates one-click installation badges for Model Context Protocol servers. The badges target VS Code, VS Code Insiders, and Visual Studio.

In plain words
What is it for?
Use them when modifying the app’s pages, badge and README generation, CSS Modules, TypeScript setup, Vite configuration, or GitHub Pages deployment.
Why use it?
They give a coding agent the project structure, important files, styling approach, build settings, and deployment rules needed to change the app safely.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is jamesmontemagno/mcp-badge-creator's own configuration. It tells GitHub Copilot how to work on mcp-badge-creator 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 mcp-badge-creator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jamesmontemagno/mcp-badge-creator. 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/jamesmontemagno/mcp-badge-creator/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/jamesmontemagno/mcp-badge-creator

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 mcp-badge-creator copilot-instructions.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jamesmontemagno/mcp-badge-creator/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jamesmontemagno/mcp-badge-creator/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,017 This file is loaded in full into every session.
When invoked 4,017 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.04017 $0.04017
Opus 5 $0.02008 $0.02008
Sonnet 5 $0.00803 $0.00803
Haiku 4.5 $0.00402 $0.00402

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

Security

Grade A, and why

mcp-badge-creator 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 10d 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 · 443 lines

How it starts

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

MCP Badge Creator - AI Coding Agent Instructions

Project Overview

A Vite + React + TypeScript single-page application that generates one-click install badges for Model Context Protocol (MCP) servers. Users fill a form, and the app generates markdown badges with encoded JSON configurations for VS Code, VS Code Insiders, and Visual Studio.

Architecture & Key Files

Multi-Page React App (CSS Modules)

  • Routing: App.tsx provides shell + navigation; pages live in src/pages/ (Home, MCP, Extensions, Packages, Settings).
  • Styling: Migrated from monolithic App.css to CSS Modules + design tokens.
  • Server Config Logic: Still centralized inside MCP.tsx for badge + README generation.
  • Badge Utilities: Extension + package badge helpers in src/utils/.

Build & Deploy Pipeline

  • Vite bundler: Fast dev server and optimized production builds
  • GitHub Actions: .github/workflows/deploy.yml auto-deploys to GitHub Pages on push to main
  • Base path: vite.config.ts sets base: '/mcp-badge-creator/' for GitHub Pages hosting
  • TypeScript: Strict mode with separate configs (tsconfig.app.json, tsconfig.node.json)

MCP Badge URL Patterns (Critical Domain Knowledge)

The core business logic encodes MCP server configurations into URL parameters:

VS Code URLs

// VS Code stable
https://vscode.dev/redirect/mcp/install?name={NAME}&config={ENCODED_JSON}

// VS Code Insiders
https://insiders.vscode.dev/redirect/mcp/install?name={NAME}&config={ENCODED_JSON}&quality=insiders

Visual Studio URL

https://vs-open.link/mcp-install?{ENCODED_JSON}

Configuration JSON Structures

See generateConfig() in App.tsx for exact patterns:

  • HTTP: { name, type: "http", url }
  • NPX: { name, command: "npx", args: ["-y", package], env: {} }
  • UVX: { name, command: "uvx", args: ["--from", from, package] || [package], env: {} }
  • Docker: { name, command: "docker", args: ["run", "-i", "--rm", image], env: {} }
  • Local: { name, command, args: [...], env: {} }

Read the full file on GitHub · 443 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. 10d ago First seen · 443 lines · 4,017 tokens per session scan A e59371b6f9ee

Subscribe to this mod's changes

mcp-badge-creator copilot-instructions.md is an instructions file published in the GitHub repository jamesmontemagno/mcp-badge-creator (20 stars, last pushed 4mo ago), licensed MIT. It adds 4,017 tokens to every session, about $0.0201 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-30.

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

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

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