GitHub MCP doesn't surface metadata indicating GitHub Issue comment is marked as spam
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the behavior against a GitHub Issue with a comment marked as spam, using the reported GitHub MCP Server environment and version command. Inspect the issue-comment response used by the MCP server; done means the agent can identify the spam status or the comment is excluded, with a regression test covering the behavior.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When a comment in a GitHub Issue is marked as spam, it will be collapsed in the human view, but on the MCP side, the agent has no idea that it's marked as spam. It just treats it like a regular comment.
Affected version
Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version and paste the output below
GitHub MCP Server bundled with Copilot SDK 1.0.15-unstable.35393089353.gfc44743, running through runtime 1.0.85-unstable.r35379093703.g3514c9a. Running via Agent Host on VS Code (VS Code version 1.139.0-insider commit 92e4d1b6124d662396f19665be324cbb83eabe83).
Steps to reproduce the behavior
- Find a GitHub Issue with a comment in it that is marked as spam
- Ask the AI to read the GitHub Issue
- It will read the comment that was marked as spam as if it were any other comment. It doesn't know that the comment is marked as spam, even when you directly ask it.
Expected vs actual behavior
I expect the agent to know when a comment is marked as spam. Either that, or not have access to it at all.
Logs
N/A
- 主要语言
- Go
- 星标
- 33.1k
- 派生
- 5k
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 25
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/github-mcp-server 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
github/github-mcp-server#3235 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
github/github-mcp-server#3042 · 2 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
github/github-mcp-server#3032 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 74/100
github/github-mcp-server#2803 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
github/github-mcp-server#2740 ·
查看 github/github-mcp-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
bug group: validation priority: low
难度 2/5 1-3 小时 新手友好度 75/100
codecheckers/chekhov#51 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100