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

MCP TypeScript SDK 1.31.0

MCP TypeScript SDK 1.31.0 adds an issuer field to stored OAuth tokens and client information, and deprecates OAuth providers instantiated without expectedIssuer.

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

人类阅读

为什么值得关注

MCP TypeScript SDK release 1.31.0 introduces updates to OAuth token and client information handling by binding stored OAuth credentials to the authorization server that issued them. Stored OAuth tokens and client metadata now include an 'issuer' field, which may impact custom storage implementations that reject unknown fields. Additionally, constructors for ClientCredentialsProvider, PrivateKeyJwtProvider, and StaticPrivateKeyJwtProvider now expect an 'expectedIssuer' parameter, and invoking them without it has been marked as deprecated.

Agent 解析

可执行摘要

MCP TypeScript SDK 1.31.0 binds stored OAuth credentials to their authorization server by introducing an 'issuer' field. Token storage rejecting unknown fields must be updated. Passing 'expectedIssuer' is now required on ClientCredentialsProvider, PrivateKeyJwtProvider, and StaticPrivateKeyJwtProvider to avoid deprecation warnings.

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

开发者应核对什么

  • Update custom OAuth token and client information storage layers to permit the new 'issuer' field if unknown fields are rejected.
  • Pass 'expectedIssuer' when constructing ClientCredentialsProvider, PrivateKeyJwtProvider, or StaticPrivateKeyJwtProvider instances to address deprecation warnings.
分类

标签与路由

mcpsdktypescript
相关信号

继续阅读