Skip to content

Asking Dependabot to Rebase via MCP leads to malformed text in comment #2714

Open

Description

@habereet

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

  1. In Claude Code, ask Claude to post @dependabot rebase as a comment on a GitHub PR via the add_issue_comment MCP tool.
  2. 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.

Activity

  1. 1m55555555 commented on Jun 21, 2026

    @1m55555555

    Hi, I’d like to help investigate this.

    Before attempting a fix, I’ll try to reproduce the issue by calling add_issue_comment directly with the body @dependabot rebase, without going through Claude Code. If the comment body is still mangled, I’ll look for where the transformation happens in github-mcp-server and add a regression test. If it only reproduces through Claude Code, this may be happening before the MCP server receives the input.

    Does that sound like a useful first step?

  2. added a commit that references this issue on Jul 1, 2026
    8398694
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions