mcp-server-ppt: Instructions file for GitHub Copilot

.github/instructions/mcp-server-guide.instructions.md

mcp-server-ppt mcp-server-guide.instructions.md is an instructions file for GitHub Copilot from trsdn/mcp-server-ppt. It costs 3,384 tokens per session, scanned A, original, from a forked repository, MIT.

A set of coding instructions for building an MCP server that exposes PowerPoint actions to an AI coding agent. It covers how actions are routed, documented, and reported when errors occur.

In plain words
What is it for?
Use it when implementing or updating PowerPoint MCP tools, action routing, error handling, tool comments, prompts, or other AI-facing documentation.
Why use it?
It gives maintainers consistent rules for server behavior and for text that an AI agent reads. This reduces unclear tool descriptions, incorrect asynchronous code, and unusable error responses.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

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

Reuse

Borrowing it

Nothing to install: this file belongs to trsdn/mcp-server-ppt. 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/trsdn/mcp-server-ppt/main/.github/instructions/mcp-server-guide.instructions.md
Clone the repo
git clone --depth 1 https://github.com/trsdn/mcp-server-ppt

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-server-ppt mcp-server-guide.instructions.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/trsdn/mcp-server-ppt/mcp-server-guide"><img src="https://agentmods.dev/badge/instructions/trsdn/mcp-server-ppt/mcp-server-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,384 This file is loaded in full into every session.
When invoked 3,384 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 fork From a forked repository.
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.03384 $0.03384
Opus 5.5 $0.01354 $0.01354
Sonnet 5.5 $0.00677 $0.00677
Haiku 4.5 $0.00338 $0.00338

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

Security

Grade A, and why

mcp-server-ppt mcp-server-guide.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/instructions/mcp-server-guide.instructions.md · 385 lines

How it starts

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

MCP Server Development Guide

All action methods are synchronous. Tool signatures are async Task<string> only to satisfy MCP SDK requirements, but action method implementations use NO async/await.

LLM-Facing Content Rules

NO EMOJIS in LLM-consumed content - Never use emoji characters in:

  • Tool XML comments (/// <summary>) - MCP SDK extracts these
  • MCP Prompt files (Prompts/Content/*.md and skills/shared/*.md) - Direct LLM consumption
  • Any code documentation consumed by LLMs

Use plain text markers: "IMPORTANT:", "WARNING:", "NOTE:", "CRITICAL:", "TIP:"

DO keep emojis in user-facing content: READMEs, FEATURES.md, user documentation, examples - humans appreciate visual aids.

Implementation Patterns

Action-Based Routing

[McpServerTool]
public async Task<string> PptSlide(string action, string pptPath, ...)
{
    return action.ToLowerInvariant() switch
    {
        "list" => List(...),      // Synchronous methods
        "view" => View(...),      // No await!
        _ => ThrowUnknownAction(action, "list", "view", ...)
    };
}

The file tool is hand-written — parity is NOT structural there

Every other MCP tool is generated from a Core interface marked [ServiceCategory], so the CLI counterpart appears by construction and cannot drift. PptFileTool.cs is the one exception, and its own header comment says so: "hand-coded because session management is not generated."

That makes it the only tool where adding an action to MCP silently leaves the CLI behind — and it is the bootstrap layer every workflow calls first. This already happened: test shipped on MCP and never reached the CLI (#131), while the CLI README documented a file test command that did not exist.

When you touch PptFileAction:

  1. Add the matching command in src/PptMcp.CLI/Commands/SessionCommands.cs
  2. Register it in the session branch in src/PptMcp.CLI/Program.cs
  3. Run scripts\check-session-parity.ps1 — it is a pre-commit gate and will fail otherwise

Read the full file on GitHub · 385 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 · +21 lines · +261 tokens per session c1d0634de20f
  2. 1mo ago First seen · 364 lines · 3,123 tokens per session scan A b4afec52f38a

Subscribe to this mod's changes

mcp-server-ppt mcp-server-guide.instructions.md is an instructions file published in the GitHub repository trsdn/mcp-server-ppt (41 stars, last pushed yesterday), licensed MIT. It adds 3,384 tokens to every session, about $0.0135 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.