Skip to main content

uemcp-manifest-type-hints

Stars17
Forks9
UpdatedMarch 31, 2026 at 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

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly