dpc-mcp-server: Instructions file for GitHub Copilot

.github/copilot-instructions.md

dpc-mcp-server copilot-instructions.md is an instructions file for GitHub Copilot from Dans-Plugins/dpc-mcp-server. It costs 624 tokens per session, scanned A, original, MIT.

Repository-specific instructions for dpc-mcp-server, an MCP server that provides a cited knowledge base about Dans-Plugins Minecraft plugins. It explains the project structure, conventions, and rules for generated files and dependencies.

In plain words
What is it for?
Use it when modifying the dpc-mcp-server repository, particularly its protocol, tools, handlers, tests, or synchronization workflow.
Why use it?
It gives coding agents the project context needed to avoid changing generated files, adding runtime dependencies, or breaking the server’s communication and testing setup.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is Dans-Plugins/dpc-mcp-server's own configuration. It tells GitHub Copilot how to work on dpc-mcp-server 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 dpc-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Dans-Plugins/dpc-mcp-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.

Copy the file
curl -O https://raw.githubusercontent.com/Dans-Plugins/dpc-mcp-server/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/Dans-Plugins/dpc-mcp-server

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 dpc-mcp-server copilot-instructions.md

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

agentmods 80×15 button for dpc-mcp-server copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dans-plugins/dpc-mcp-server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/dans-plugins/dpc-mcp-server/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 624 This file is loaded in full into every session.
When invoked 624 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.00624 $0.00624
Opus 5.5 $0.00250 $0.00250
Sonnet 5.5 $0.00125 $0.00125
Haiku 4.5 $0.00062 $0.00062

Measured 1mo ago against content hash bc79a178e0de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dpc-mcp-server 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 1mo 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 · 63 lines

How it starts

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

Copilot instructions

This repository follows the DPC (Dans Plugins Community) conventions defined at https://github.com/Dans-Plugins/dpc-conventions.

What this is

An MCP (Model Context Protocol) server that serves the DPC Zettelkasten — a knowledge base about the DPC Minecraft plugins where every claim cites a file in a Dans-Plugins repository, pinned at a commit SHA.

Node 18+, CommonJS, no build step.

Two hard rules

No runtime dependencies. MCP's stdio transport is implemented directly in src/protocol.js (JSON-RPC 2.0, newline-delimited). Do not add a runtime dependency, including the official SDK — it is a dev dependency used by the tests to drive this server as a real client would.

The GraphQL schema is not maintained here. vendor/zk-graphql.js and vendor/dataset.json are generated copies from the zettelkasten, refreshed by npm run sync. Schema changes belong in that repository's lib/zk-graphql.js. Editing vendor/ directly is reverted by the next sync.

Layout

  • src/protocol.js — the transport. Change with care; the live-client tests are what prove it still works.
  • src/tools.js — tools, their descriptions, and their handlers.
  • src/server.js — data loading, resources, wiring.
  • tools/sync.js — refreshes vendor/, and refuses a snapshot whose engine and data disagree.
  • test/run.js — data, raw-protocol, and live-client layers.

Conventions that matter here

stdout is the protocol. Every human-facing message goes to stderr. A single stray line on stdout desynchronises the client. Never console.log in src/.

Tool descriptions say when to use the tool, not just what it does. They are the only documentation the model receives.

Tool failures return text(message, true), not a thrown exception, so the model sees isError and can recover. Throw only for malformed calls.

Nothing is written and nothing is fetched at request time. The graph is read once at startup. The server has no write path of its own; keep it that way. The one exception is the vendored trace client creating its installation-ID file (<user data dir>/dpc-mcp-server/trace-install-id) once at startup, and only when usage reporting is on.

Read the full file on GitHub · 63 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. 1mo ago Changed · +3 lines · +47 tokens per session bc79a178e0de
  2. 2mo ago First seen · 60 lines · 577 tokens per session scan A bafaffdde5ec

Subscribe to this mod's changes

dpc-mcp-server copilot-instructions.md is an instructions file published in the GitHub repository Dans-Plugins/dpc-mcp-server (0 stars, last pushed today), licensed MIT. It adds 624 tokens to every session, about $0.0025 per session on Opus 5.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

dpc-mcp-server copilot-instructions.md compared with instructions from other repositories

dpc-mcp-server copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dpc-mcp-server copilot-instructions.mdDans-Plugins/dpc-mcp-serverInstructions file0todayMITA624GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode