[2026-07-28] Schema modernization & error code standardization
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从子议题 #356–#359 及其 SEP 链接开始。对于错误代码相关工作,检查 src/Schema/JsonRpc/Error.php 以及 issue 中描述的协议版本回退;对于 schema 相关工作,从 SchemaValidator 和所列出的 JSON Schema 词汇、outputSchema、structuredContent、SSRF 及 DoS 要求开始。完成意味着所有列出的子议题都已按照合并后的 SEP 要求完成。
由索引模型根据 Issue 内容生成。
描述
Tracking issue for the MCP Spec 2026-07-28 release — Schema & errors milestone.
SEPs covered
| SEP | Title | Spec PR |
|---|---|---|
| SEP-2106 | Tools inputSchema/outputSchema conform to JSON Schema 2020-12 |
#2106 |
| SEP-2164 | Standardize resource-not-found error code to -32602 |
#2164 |
Sub-issues
SEP-2106 (JSON Schema 2020-12):
- #356 — Vocabulary support (oneOf/anyOf/allOf/if-then-else/
$ref) - #357 — Allow non-object
outputSchemaandstructuredContent - #358 — Harden
SchemaValidatoragainst external$refSSRF and composition DoS
SEP-2164:
- #359 — Switch resource-not-found error code to
-32602with protocol-version-aware fallback
Notes
- Both SEPs are merged.
- SEP-2106 is the largest code-level lift this cycle for the schema layer: full JSON Schema 2020-12 vocabulary (composition, conditionals,
$ref), plus non-objectoutputSchema/structuredContent. Also requires hardening against external$refSSRF and composition DoS. - SEP-2164 is mechanically a one-constant flip in
src/Schema/JsonRpc/Error.phpwith a protocol-version-aware fallback.
- 主要语言
- PHP
- 星标
- 1.6k
- 派生
- 177
- 平均合并
- 19 小时 19 分钟
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/php-sdk 的其他 Issue
-
[Server] Connections to Github Copilot CLI time out on subscriptions/listen可能已有人在做 @SammyTourani 于 5 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
modelcontextprotocol/php-sdk#516 ·
维护者通常 1 天内回复
-
[Server] Handler type uses bare Closure, hard to decorate RegistryInterface under strict PHPStan未关闭Server
难度 1/5 1 小时以内 新手友好度 78/100
modelcontextprotocol/php-sdk#468 · 2 条评论 ·
维护者通常 1 天内回复
-
Builder::build() silently skips configured file-based discovery when symfony/finder is missing — should fail loudly可能已有人在做 @ousamabenyounes 于 48 天前认领。 未关闭needs confirmation needs maintainer action Server
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/php-sdk#398 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/php-sdk#370 ·
维护者通常 1 天内回复
-
Server logs full JSON-RPC payloads, tool arguments included, at info level可能已有人在做 @aton-of-data 于 3 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 74/100
modelcontextprotocol/php-sdk#524 ·
维护者通常 1 天内回复
查看 modelcontextprotocol/php-sdk 的全部 Issue
相似的 Issue
-
[CoreBundle] Migrations are silently skipped on MariaDB with DBAL 4 (AbstractMigration::isMySql())未关闭Potential Bug
难度 2/5 1-3 小时 新手友好度 78/100
Sylius/Sylius#19270 · 1 条评论 · 4 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
invoiceninja/invoiceninja#13320 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Перевод устарел
难度 2/5 1-3 小时 新手友好度 68/100