feat(mcp): 统一输出规范与错误码体系 (REQ-20260911-0011) #9

Merged
wangheng merged 1 commits from feat/REQ-5626 into main 2026-09-11 22:50:06 +08:00
Owner

统一信封 structuredContent+schema_version+request_id(请求头 X-Mcp-Schema-Version: 2 双跑,默认老结构);8 个统一错误码收敛;tools/list 注入只读/幂等/非破坏 annotations;日志手机号脱敏。单测 125+ 通过,test-up.sh 冒烟通过。

统一信封 structuredContent+schema_version+request_id(请求头 X-Mcp-Schema-Version: 2 双跑,默认老结构);8 个统一错误码收敛;tools/list 注入只读/幂等/非破坏 annotations;日志手机号脱敏。单测 125+ 通过,test-up.sh 冒烟通过。
wangheng added 1 commit 2026-09-11 22:49:49 +08:00
wangheng merged commit 7b69c8668f into main 2026-09-11 22:50:06 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangheng/xiaoqu_mcp_service#9