返回全部动态

MCP TypeScript SDK 发布 2.4.0,新增 Skills over MCP

原标题:2.4.0

MCP TypeScript SDK Releases一手来源API 更新质量 79

AI 摘要

MCP TypeScript SDK 发布 2.4.0 版本,client、server、core、server-legacy、codemod 等包同步升级。新增 Skills over MCP(SEP-2640),允许服务端发布技能文件夹、客户端列出并校验;同时支持 token 刷新时可选传入 scope。升级说明包含破坏性变更:number 参数上的 x-mcp-header 被拒绝、outputSchema 结果不再包裹在 result 中、Ajv 校验器拒绝非法 URI scheme。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

| Package | Version | |---|---| | `@modelcontextprotocol/client` | 2.4.0 | | `@modelcontextprotocol/server` | 2.4.0 | | `@modelcontextprotocol/core` | 2.4.0 | | `@modelcontextprotocol/server-legacy` | 2.4.0 | | `@modelcontextprotocol/codemod` | 2.4.0 | | `@modelcontextprotocol/node` | 2.1.2 | | `@modelcontextprotocol/express`, `hono`, `fastify` | unchanged | ## Upgrade notes - **`x-mcp-header` on a `number` parameter is rejected**, as the 2026-07-28 spec requires: the client does n


发布时间:2026-10-24 02:32
抓取时间:2026-10-24 02:51
来源机构:MCP
阅读原文github.com