返回全部动态

MCP TypeScript SDK 1.31.0 发布:OAuth 凭证绑定签发方

原标题:1.31.0

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

AI 摘要

MCP TypeScript SDK 发布 1.31.0 版本,主要变更是在存储的 OAuth 令牌和客户端信息中加入 issuer 字段,将凭证绑定到签发它们的授权服务器。使用 ClientCredentialsProvider、PrivateKeyJwtProvider 或 StaticPrivateKeyJwtProvider 时需传入 expectedIssuer,否则构造方式已被弃用。

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

正文节选

## Upgrade notes - Stored OAuth tokens and client information now include an `issuer` field. Storage that rejects unknown fields needs to allow it. - Pass `expectedIssuer` when constructing `ClientCredentialsProvider`, `PrivateKeyJwtProvider` or `StaticPrivateKeyJwtProvider`. Constructing them without it is deprecated. ## What's Changed * [v1.x] Bind stored OAuth credentials to the authorization server that issued them by @maxisbey in https://github.com/modelcontextprotocol/typescript-sdk/


发布时间:2026-09-29 02:52
抓取时间:2026-09-29 02:54
来源机构:MCP
阅读原文github.com