Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Track migration to MCP spec 2026-07-28 (stateless model)

未关闭
#40 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
冷清
技术栈
typescript
领域
api, backend

调研方向

首先检查 src/ 下的传输和会话处理代码,并确认当前 SDK 版本以及针对 2026-07-28 规范的迁移指南。检查客户端的实际支持情况,以及服务器是否假定使用 stateful handshake;完成标准是已确定所需的迁移范围,并完成所有必要的传输更改或对其进行清晰记录。

由索引模型根据 Issue 内容生成。

描述

Summary

The MCP spec released a new revision on 2026-07-28 (announced at https://blog.modelcontextprotocol.io/posts/2026-07-28/) that moves from the stateful bidirectional protocol to a stateless request/response model — eliminating the initialize/initialized handshake and session IDs, replacing server-initiated elicitation with "Multi Round-Trip Requests" (MRTR), and deprecating Sampling, Roots, and Logging (12-month minimum deprecation window).

As of this issue, @modelcontextprotocol/sdk on npm is still on the 1.x line (1.30.0 latest) — no separate 2.0.0 package exists. The spec appears to be supported via 1.x releases.

Why this is lower-priority here than in the other Mapbox MCP servers

Verified (grep -rn "elicitInput\|createMessage" src/): this repo uses neither elicitation nor sampling anywhere. Unlike mcp-server (mapbox/mcp-server#245) and mcp-devkit-server (mapbox/mcp-devkit-server#130), there's no elicitation-based or sampling-based UX here that the spec's deprecations would force a redesign of. The remaining relevant surface is just the stateless request/response transport model itself.

What to check before starting

  • Confirm real client support for the new stateless model (Claude Desktop, Claude Code, VS Code Copilot).
  • Read the SDK's actual migration guide for the TypeScript SDK version(s) implementing 2026-07-28 support.
  • Check whether anything in this server's transport/session handling assumes the old stateful handshake.

Non-goals for now

  • No urgency given the 12-month deprecation window.
  • The routine SDK dependency bump (1.29.0 → 1.30.0) is handled separately and does not itself adopt the new spec — see the corresponding PR.
主要语言
TypeScript
星标
1
派生
1
平均合并
2 天 23 小时
30 天内合并 PR
1

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mapbox/mcp-docs-server 的其他 Issue

查看 mapbox/mcp-docs-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。