topdesk-mcp-server: Instructions file for GitHub Copilot

.github/copilot-instructions.md

topdesk-mcp-server copilot-instructions.md is an instructions file for GitHub Copilot from gabrielsribas/topdesk-mcp-server. It costs 4,417 tokens per session, scanned A, original, MIT.

Project-specific coding instructions for a TypeScript server that connects GitHub Copilot to TOPdesk, an IT service-management system, through the Model Context Protocol.

In plain words
What is it for?
Use it when working on the MCP server, TOPdesk API client, TypeScript types, tool definitions, or request handlers.
Why use it?
It explains the project structure and expected implementation standards, reducing guesswork when changing the server.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gabrielsribas/topdesk-mcp-server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/gabrielsribas/topdesk-mcp-server/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,417 This file is loaded in full into every session.
When invoked 4,417 The same file — it is already loaded in full.
Security scan A 1 finding. 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.04417 $0.04417
Opus 5.5 $0.01767 $0.01767
Sonnet 5.5 $0.00883 $0.00883
Haiku 4.5 $0.00442 $0.00442

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

Security

Grade A, and why

topdesk-mcp-server copilot-instructions.md scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST \
.github/copilot-instructions.md · 567 lines

How it starts

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

GitHub Copilot Instructions - TOPdesk MCP Server

🎯 Visão Geral do Projeto

Este é um servidor Model Context Protocol (MCP) especializado em integração com TOPdesk IT Management. O projeto é desenvolvido em TypeScript com foco em:

  • Qualidade de código enterprise-grade
  • Tipos fortemente tipados seguindo a especificação OpenAPI do TOPdesk
  • Arquitetura modular e escalável
  • Seguir rigorosamente a especificação MCP
  • Não inventar, não alucinar, não criar ambiguidades

🏗️ Arquitetura do Projeto

Estrutura de Diretórios

topdesk-mcp-server/
├── src/
│   ├── index.ts              # Ponto de entrada do servidor MCP
│   ├── client/
│   │   └── topdesk-client.ts # Cliente HTTP para API TOPdesk
│   └── types/
│       └── topdesk.ts        # Definições de tipos TypeScript
├── dist/                     # Código compilado (gerado)
├── .github/
│   └── copilot-instructions.md # Este arquivo
├── package.json
├── tsconfig.json
├── .env.example
├── README.md
└── CHANGELOG.md

Componentes Principais

1. index.ts - Servidor MCP
  • Responsável pela inicialização do servidor MCP
  • Define todos os tools disponíveis
  • Implementa handlers para ListToolsRequest e CallToolRequest
  • Gerencia lifecycle do servidor (start, shutdown)
  • Usa StdioServerTransport para comunicação
2. topdesk-client.ts - Cliente API
  • Encapsula toda comunicação HTTP com TOPdesk
  • Usa Axios para requisições HTTP
  • Implementa autenticação (Basic Auth ou Token)
  • Possui interceptors para logging e tratamento de erros
  • Métodos organizados por módulo (Incidents, Changes, Services, General)
3. topdesk.ts - Tipos TypeScript
  • Define interfaces TypeScript baseadas na OpenAPI spec do TOPdesk
  • Tipos para entidades: Incident, Change, Service, etc.
  • Tipos para requests: CreateBody, UpdateBody, ListParams
  • Tipos auxiliares: IdAndName, Dropdown, Operator, etc.

📋 Escopo do Projeto

APIs Focadas (Prioridade Alta)

  1. General - APIs gerais (versão, busca, categorias)
  2. Incidents - Gerenciamento completo de incidents
  3. Change - Gerenciamento completo de changes
  4. Services - Gerenciamento de services

Read the full file on GitHub · 567 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. 2mo ago First seen · 567 lines · 4,417 tokens per session scan A f1029d92cfdc

Subscribe to this mod's changes

topdesk-mcp-server copilot-instructions.md is an instructions file published in the GitHub repository gabrielsribas/topdesk-mcp-server (2 stars, last pushed 5mo ago), licensed MIT. It adds 4,417 tokens to every session, about $0.0177 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

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

topdesk-mcp-server copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
topdesk-mcp-server copilot-instructions.mdgabrielsribas/topdesk-mcp-serverInstructions file25mo agoMITA4,417GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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