Zum Inhalt springen
Skillpedia
Agenten40k · #7283

mcp-release-qa

Was er macht

Prüft, ob ein KI-Server (MCP genannt) bereit für die öffentliche Nutzung ist. Es wird getestet, ob der Server wie erwartet funktioniert, ob seine Informationen korrekt sind und ob er Fehler sauber behandelt.

Wann du ihn nutzt

  • ✓Wenn du kurz davor bist, einen neuen KI-Server zu veröffentlichen.
  • ✓Wenn du einen bestehenden KI-Server überprüfst.
  • ✓Um sicherzustellen, dass die Dokumentation eines KI-Servers zu seinem tatsächlichen Verhalten passt.

Link zum Skill

https://github.com/github/awesome-copilot/blob/main/skills/mcp-release-qa/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/github/awesome-copilot/blob/main/skills/mcp-release-qa/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Prüfe, ob der KI-Server 'my-cool-server' vor der Veröffentlichung korrekt funktioniert.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das System startet den KI-Server, interagiert mit ihm wie ein Nutzer, prüft, ob er korrekt antwortet, und kontrolliert, ob seine Dokumentation (etwa was er tut und wie man ihn nutzt) stimmt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

MCP Release QA

Test the server that users will run. A schema review or a passing unit test is not runtime evidence.

This skill complements security review. It focuses on protocol behavior, published-contract drift, transport correctness, and reproducible release evidence.

Rules

  • Run checks against a fresh server process built from the candidate revision.
  • Keep initialize, notifications/initialized, discovery, and invocation in the same session. A new process is a new STDIO session.
  • Treat source registrations as implementation truth and public documentation as a contract that must match it.
  • Record exact commands and raw responses. Do not replace missing evidence with "looks correct."
  • Do not invoke mutation-capable tools against production data. Use fixtures, a sandbox, or stop and name the missing safe test environment.
  • Derive the expected capability inventory from the candidate source on every run.

1. Establish the release surface

Identify:

  • candidate commit and build command;
  • server entry point and transport: STDIO, Streamable HTTP, or SSE;
  • supported MCP protocol versions;
  • source files that register tools, resources, resource templates, and prompts;
  • generated catalogs, manifests, README tables, and install instructions;
  • existing protocol, integration, and smoke-test commands.

Prefer repository-native commands. Inspect package.json, pyproject.toml, Makefile, CI workflows, and contributor instructions before inventing a test harness.

2. Start a clean server

Build the candidate and start the documented entry point with test-safe configuration. Capture:

  • the exact command;
  • commit SHA;
  • environment variable names, with values redacted;
  • stdout, stderr, and exit status;
  • the endpoint or child-process transport used by the client.

For STDIO, stdout is protocol-only. Logs, banners, and stack traces belong on stderr. For HTTP transports, record the status, relevant MCP headers, and session identifier handling without printing credentials.

If the server cannot start from its documented instructions, report that as a release failure and preserve the startup error verbatim.

3. Exercise one complete session

Run this sequence through a real MCP client or the repository's integration harness:

  1. initialize with a protocol version the server claims to support.
  2. Confirm the negotiated version and advertised capabilities.
  3. Send notifications/initialized.
  4. Call ping.
  5. Call each supported discovery method:
    • tools/list
    • resources/list
    • resources/templates/list
    • prompts/list
  6. Exercise at least one representative read-only item from every advertised capability class.
  7. Follow pagination until no cursor remains when a list method is paginated.

Do not send post-initialization requests through separate one-shot processes. That accidentally tests several incomplete sessions instead of one valid session.

4. Prove inventory parity

Build four inventories from current evidence:

Surface Evidence
Source Registered tool, resource, template, and prompt definitions
Runtime Results from the live discovery methods
Generated metadata Catalogs, manifests, or generated indexes
Documentation README, reference pages, and install output

Compare by stable identifier. Report:

  • source entries missing at runtime;
  • runtime entries absent from metadata or documentation;
  • stale names, descriptions, arguments, URIs, or prompt parameters;
  • documented install commands that do not start the candidate server.

Regenerate derived files with the repository's own build command, then fail if the working tree still contains unexplained generated changes.

5. Check published contracts

For every discovered item, verify the runtime definition against its source:

Tools

  • Name and description are stable and specific.
  • inputSchema defines types, required fields, enums, and bounds where needed.
  • Unknown properties are rejected when the tool contract is closed.
  • Mutation, idempotence, read-only, and open-world annotations match behavior.
  • Successful calls conform to outputSchema when one is published.
  • Errors are protocol errors or structured tool failures, not leaked stack traces.

Resources and templates

  • URIs and MIME types match the registered definitions.
  • Static resources are readable.
  • Template parameters are validated before resolution.

…

Häufige Fragen

Warum reicht es nicht, nur den Code zu testen?

Code-Tests (Unit-Tests) sind wichtig, garantieren aber nicht, dass der Server auch dann korrekt arbeitet, wenn echte Nutzer mit ihm interagieren. Dieser Test prüft das tatsächliche Verhalten des Servers.

Was ist 'MCP'?

MCP ist ein Protokoll, also ein Regelwerk für die Kommunikation zwischen Computerprogrammen. In diesem Zusammenhang ist damit ein KI-Server gemeint, der dieses Protokoll verwendet.

Was sind 'Fehlerpfade'?

Das sind Situationen, in denen etwas schiefgeht, etwa ein falscher Befehl oder ein interner Fehler. Wenn du diese Pfade testest, stellst du sicher, dass der Server Fehler richtig behandelt und den Nutzer klar informiert.

Details

Originalbeschreibung des Autors

Verify an MCP server before release by exercising a real protocol session, comparing runtime capabilities with source and documentation, testing failure paths, and recording reproducible evidence. Use when shipping or reviewing an MCP server, tool, resource, prompt, catalog, or install path.

repo: github/awesome-copilot

Beliebtheit

GitHub-Sterne
40k
Platz im Ranking
#7283
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills