Skip to main content

uemcp-manifest-type-hints

Sterne17
Forks9
Aktualisiert31. März 2026 um 05:09

Fix silent tool registration failures in UEMCP when Python function parameters use modern union syntax (str | None) instead of Optional[str]. Use when: (1) MCP tools silently lose optional parameters in their JSON schema, (2) new ops module parameters all show as required when they should be optional, (3) manifest generator falls through to string type for Optional parameters. The manifest generator's get_origin() check only matches typing.Union, not types.UnionType from Python 3.10+ pipe syntax.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly