Client-credentials examples should require issuer binding

未关闭
#3,419 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@AbarnaaSree 已经在做这个了。

开始于 2026年10月18日。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
66/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python, typescript

调研方向

Start from the linked workflow (LHMisme420/mcp-authscan .github/workflows/example-issuer.yml) to see the exact check it performs. Then locate every client-credentials example in this repo (grep for client_credentials, token endpoint or issuer usage) and add the missing issuer= (Python) / expectedIssuer (TypeScript) argument to each. Done means every such example carries issuer binding and the issuer lint runs green in CI.

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

描述

GHSA-qx49-fqc8-xw99 and GHSA-6qxp-vccf-f47h say upgrading the MCP SDK does not close machine-to-machine credential redirection. The caller must pass issuer= (Python) or expectedIssuer (TypeScript), or a pre-provisioned secret follows whatever authorization server the MCP server advertises.

A client-credentials example that omits that argument should be non-compliant. A lint that fails the build on the omission: https://github.com/LHMisme420/mcp-authscan/blob/main/.github/workflows/example-issuer.yml

主要语言
TypeScript
星标
9.8k
派生
1.9k
平均合并
2 天 4 小时
30 天内合并 PR
73

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

modelcontextprotocol/modelcontextprotocol 的其他 Issue

查看 modelcontextprotocol/modelcontextprotocol 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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