ZCP MCP 能力矩阵

这个矩阵从当前工作区的视角,跟踪 ZCP 相对于 MCP 官方规范仓库和官方 MCP Python SDK 的对标情况。

ZCP 用同一个运行时同时服务两套表面:

  • 用于互操作的 MCP-compatible surface
  • 用于更低 token 消耗和更紧凑编排的原生 ZCP surface

这个表格把三个问题拆开来看:

  • 这个特性是否已经实现
  • 这里是否已经有兼容性覆盖
  • 原生 ZCP 路径带来了什么改进
MCP FeatureImplemented On MCP SurfaceCompatibility Coverage HereZCP Native Advantage
Lifecycle: initialize, initialized, pingYesYesSmaller native envelopes
Tools: tools/list, tools/callYesYesCompact registry, handle-first results, and semantic workflow profiles
Tool metadata: title, annotations, outputSchema, execution, _metaYesYesCanonical metadata can stay out of prompt context
Resources: resources/list, resources/read, subscribe/update flowYesYes for core flowsLarge content can stay off-context
Resource templates: resources/templates/listYesYesCompact template discovery
Prompts: prompts/list, prompts/getYesYesExpanded prompt artifacts do not need to remain model-visible
Completion: completion/completeYesYesNative refs are smaller
Logging: logging/setLevel, notifications/messageYesYes in SDK/runtime coverageOperational summaries can stay outside prompt context
Roots: roots/list, notifications/roots/list_changedYesYes in SDK/runtime coverageSame semantics with smaller envelopes
Progress notificationsYesPartialNative progress payloads are shorter
SamplingYesPartialLess repeated schema/context echo
ElicitationYesPartialCompact accept/decline flow summaries
Tasks basic methods and statusesYesPartialDurable off-context state and result storage
Stdio transportYesYesSame runtime with shorter native traffic
Streamable HTTP on /mcpYesYesNative /zcp remains smaller
WebSocket transport on /wsYesYes for core client flowNative socket traffic can be more compact
Authorization metadataYesPartialNative auth profile metadata stays runtime-owned
OAuth code flow, PKCE, refresh, registration, revocationYesPartialSame provider model can be reused for native surfaces

如何阅读这个矩阵

  • 实现列中的 Yes 表示这个特性已经存在于当前运行时中。
  • 兼容性覆盖列中的 Yes 表示这个仓库已经针对当前实现,对该特性或传输层做了具体验证。
  • Partial 表示这个特性已经存在,核心场景可用,但更广泛的互操作性或边界情况覆盖仍在继续跟踪中。

当前状态

当前实现已经包括:

  • stdio 互操作
  • /mcp 上的 streamable HTTP 互操作
  • /ws 上的 websocket 互操作
  • OAuth metadata 和 protected resource metadata
  • 带 PKCE 的 OAuth authorization code flow
  • refresh token exchange
  • dynamic registration 和 revocation
  • task-augmented tool call
  • 异步 task 生命周期状态

当前严格意义上的剩余工作主要是:

  • 为 progress、sampling、elicitation 和 tasks 提供更广泛的兼容性覆盖
  • 为长生命周期传输层提供更深入的重连和 soak 覆盖
  • 在当前已验证流程之外,扩展更广泛的 auth 互操作性覆盖

需要查看精确的剩余清单时,请使用 mcp_gap_todo.md

已验证性能快照(Excel 语义套件 v5)

运行元数据:

  • 日期:2026-03-17
  • 模型:deepseek-chathttps://api.deepseek.com
  • repeats:1
  • case 数:37Tier A/B/C/D
  • 对比后端:
  • zcp_client_to_native_zcp
  • mcp_client_to_zcp_mcp_surface
  • 证据产物:
  • zero-context-protocol-python/benchmark_reports/full_semantic_compare_v5/excel_llm_token_benchmark.json
  • zero-context-protocol-python/benchmark_reports/full_semantic_compare_v5/excel_llm_token_benchmark.md
  • zero-context-protocol-python/benchmark_reports/full_semantic_compare_v5/semantic_benchmark_summary.md
ScopeNative ZCP Avg TotalMCP Surface Avg TotalMCP/Native RatioNative Quality (Answer/Workbook/Tool)
Overall8027.930723.73.83x100.0% / 97.3% / 100.0%
Tier A15979.417613.21.10x100.0% / 93.8% / 100.0%
Tier B1826.629239.416.01x100.0% / 100.0% / 100.0%
Tier C2091.172113.934.49x100.0% / 100.0% / 100.0%
Tier D2018.319375.79.60x100.0% / 100.0% / 100.0%

解读说明:

  • 在这次运行里,native ZCP 在四个 tier 的平均 token 都更低
  • 37 个 case 中,native ZCP 在 25 个 case 更省 token;剩余 12 个都属于 Tier A 原子操作场景
  • MCP surface 路径在复杂层级的质量差距更明显:
  • Tier C tool compliance:57.1%(native 为 100.0%
  • Tier D tool compliance:16.7%(native 为 100.0%