Asking Dependabot to Rebase via MCP leads to malformed text in comment
还没有人认领这个 Issue。
评估
调研方向
首先跟踪 MCP 工具 add_issue_comment,并从 Claude Code 使用完全相同的 body @dependabot rebase 重现该问题。完成的标准是生成的 GitHub 评论完全保留输入文本,不插入中点,并且能够识别 Dependabot 命令。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
add_issue_comment mangles @mentions in comment bodies by inserting Unicode middle dot characters (·) between letters. This causes bot commands (e.g. Dependabot's @dependabot rebase) to silently fail because the mention is unrecognized.
Affected version
Version unknown; observed on June 16, 2026
Steps to reproduce the behavior
- In Claude Code, ask Claude to post
@dependabot rebaseas a comment on a GitHub PR via theadd_issue_commentMCP tool. - Observe the resulting comment body on GitHub.
Expected behavior
Comment body: @dependabot rebase
Actual behavior
Comment body: ·@·d·ependabot r·ebase
Additional context
The issue reproduces consistently on repeated calls with the same input. The mangled text prevents Dependabot from recognizing the command.
- 主要语言
- 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