Agent 基础设施官方发布自动监测

MCP TypeScript SDK 2.3.1

MCP TypeScript SDK version 2.3.1 backports the optional expectedResource audience check to requireBearerAuth in @modelcontextprotocol/server-legacy and updates npm documentation links.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Version 2.3.1 of the MCP TypeScript SDK was released across several packages including @modelcontextprotocol/client, @modelcontextprotocol/server, @modelcontextprotocol/core, @modelcontextprotocol/server-legacy, and @modelcontextprotocol/codemod. In @modelcontextprotocol/server-legacy, the requireBearerAuth middleware now accepts an optional expectedResource parameter, mirroring functionality introduced in server 2.3.0 to enforce token audience checks (defaulting to off). Documentation, migration guide, and issue form links were also added to the top of the npm pages for the server and client packages.

Agent 解析

可执行摘要

Updated @modelcontextprotocol packages (client, server, core, server-legacy, codemod) to version 2.3.1. Added optional expectedResource audience parameter to requireBearerAuth in server-legacy (disabled by default).

Agent 实用度
62/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade @modelcontextprotocol packages to 2.3.1 if using server-legacy and audience verification for bearer tokens is needed.
  • Optionally set expectedResource in requireBearerAuth when using @modelcontextprotocol/server-legacy to restrict tokens to the specific server audience.
分类

标签与路由

mcpsdktypescript
相关信号

继续阅读