devserver-mcp copilot-instructions.md

A set of Copilot instructions for the devserver-mcp project, including its development commands, coding rules, and testing guidance.

In plain words
What is it for?
Guiding dependency management, Python coding, linting, formatting, security practices, and tests for devserver-mcp.
Why use it?
It gives an AI coding agent project-specific rules so changes follow the repository's setup and standards.

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/uninen/devserver-mcp/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/Uninen/devserver-mcp

Made for: GitHub Copilot.

Per session 689 This file is loaded in full into every session.
When invoked 689 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00689 $0.00689
Opus 5 $0.00345 $0.00345
Sonnet 5 $0.00138 $0.00138
Haiku 4.5 $0.00069 $0.00069

Measured yesterday against content hash e00841d8f444, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devserver-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 yesterday.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.github/copilot-instructions.md · 60 lines

How it starts

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

Project Instructions

Project: Devserver MCP

This project is a Model Context Protocol (MCP) server that manages development servers (Django, Vue, Celery, etc.) for LLM-assisted development workflows. Provides programmatic control over multiple development servers through a unified interface with a beautiful TUI.

Quick Reference

  • Dependency and environment management: uv
    • uv add [package] -- add dependency
    • uv add --dev [package] -- add dev dependency
    • uv run [command in .venv context] -- run a command in the project environment
    • pyproject.toml -- Python project configuration
  • Tests:
    • Run with: use your run_tests tool or uv run pytest
    • In tests/
  • Use Ruff for linting and formatting:
    • uv run ruff check --fix path/to/file.py -- fix all fixable linting errors
    • uv run ruff format path/to/file.py -- format
  • Test the server implementation using the test app (see details below): uv run devservers

Coding Guidelines

  • Python 3.13+, type hints, PEP 8
  • Handle errors explicitly
  • Never add any comments or doctsrings unless asked to
  • Always follow security best practices. Never introduce code that exposes or logs secrets and keys
  • Always lint and format all the code you write using Ruff

Testing Guidelines

  • Adhere to the general testing guidelines in docs/writing_tests.md
  • Write meaningful tests, not coverage fillers
  • Always use pytest functions, never use classes
  • When creating or fixing tests, always run the full test suite to make sure all tests pass

Test App Structure

testapp/
├── front/          # simple Vite app
└── backend.py      # simple FastAPI app
devservers.yml       # Test configuration

Documentation

Change Logging

Read the full file on GitHub · 60 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. yesterday First seen · 60 lines · 689 tokens per session scan A e00841d8f444

Subscribe to this mod's changes

devserver-mcp copilot-instructions.md is an instructions file published in the GitHub repository Uninen/devserver-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 689 tokens to every session, about $0.0034 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.