Skip to main content

uemcp-manifest-type-hints

星标17
分支9
更新时间2026年3月31日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly