lifecycle-test-initialize-then-tools
/lifecycle-test-initialize-then-tools
Sprawdza, że serwer przechodzi uzgadnianie połączenia przed listą narzędzi, bo klient nigdy nie wywołuje narzędzi po nieudanym initialize.
- Autor
- Wsh7Ash ↗
- Repozytorium
- skillmcp ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 29.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Sprawdza, że serwer przechodzi uzgadnianie połączenia przed listą narzędzi, bo klient nigdy nie wywołuje narzędzi po nieudanym initialize.
Oryginalny opis (EN)
Prove the handshake before the tool list, because a client never calls tools on a failed initialize. Use when a new server is being validated against a real client for the first time
Jak działa
- Procedure
- Signals
- Patterns
- Pitfalls
- Done when
- References
Podgląd SKILL.md
--- name: lifecycle-test-initialize-then-tools description: "Prove the handshake before the tool list, because a client never calls tools on a failed initialize. Use when a new server is being validated against a real client for the first time" pack: skillmcp version: 1.0.0 category: ai-tool tags: [verify, lifecycle, handshake] --- # Lifecycle Test Initialize Then Tools > Prove the handshake before the tool list, because a client never calls tools on a failed initialize **Use when:** a new server is being validated against a real client for the first time **Avoid when:** the transport is already proven and only a single tool changed ## Procedure 1. Send initialize with a supported protocolVersion and client info 2. Assert protocolVersion, capabilities and serverInfo in the reply 3. Send the initialized notification and expect no reply 4. Send tools/list and assert every tool has a name, description and schema 5. Call one tool and assert the result shape 6. Record the whole sequence as a transcript fixture ## Signals - initialize returns before any tool call is attempted - the initialized notification produces no response line - tools/list returns a non-empty array with schemas - the first tool call succeeds on the same connection ## Patterns **1. Handshake** ```text initialize -> initialized -> tools/list -> tools/call ``` **2. No reply** ```text notifications never produce a response id ``` **3. Schema check** ```text each tool has inputSchema.type == 'object' ``` ## Pitfalls - Skipping the notification and wondering why a strict client stalls - Calling a tool before initialize completes - Asserting the tool list without checking schema presence ## Done when - the full sequence passes on one connection in one process - the transcript fixture is committed ## References - [MCP - lifecycle](https://modelcontextprotocol.io/specification/2025-03-26/basic/lifecycle) - [MCP - tools](https://modelcontextprotocol.io/specification/2025-03-26/server/tools)
Wersje
W bazie nie ma innych skilli o nazwie lifecycle-test-initialize-then-tools.
Migawka bazy z 13.11.2026 · wersja paczki 2256805ce342 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100project-create
Inicjuje nowy projekt od zera: struktura repozytorium, dokumentacja, narzędzia jakości i CI/CD. - 100creating-tools
Tworzy szkielety i buduje nowe integracje narzędzi w tools/, w tym klienty zewnętrznych API i usług. - 91initialize-project
Inicjuje nowy projekt programistyczny przez interaktywne pytania o metodykę, zespół, dokumentację i integracje, a potem generuje RULE.md i strukturę katalogów. - 90initialize
Zakłada strukturę projektu skillhead w nowym lub istniejącym repozytorium i wypełnia bramkę scalania dla stosu. - 100protocol-version-handshake
Negocjuje jawnie wersję protokołu i przypina tę, którą serwer faktycznie obsługuje, gdy klient może działać na innej wersji. - 100tools-list-schema-validation
Waliduje każdy ogłaszany schemat narzędzi jako JSON Schema, zanim klient zacznie według niego budować argumenty.