Skip to content

GitHub MCP issue read appears to drop code block text in angle brackets #2202

@fmun

Description

@fmun

Describe the bug

When the AI agent tries to read an issue from my private repository via the GitHub MCP issue-read endpoint, any code between two
```
lines that contains text in angle brackets seems to get lost.
Take this example:

let ptr: mut_raw_ptr<int> = raw_new int;

The agent sees only this:

let ptr: mut_raw_ptr = raw_new int;

Affected version

I am using the online version of the MCP server.

Environment:

  • VS Code 1.111.0
  • Agent: GPT-5.3-Codex (also tried with Claude Sonnet 4.6)
  • Date observed: 2026-03-12
  • MCP tool used: mcp_github_issue_read

Steps to reproduce the behavior

I typed this in the chat window:

I want to check whether the GitHub MCP server for reading issues works correctly. Could you therefore please read issue #... and report the text of first code example back to me.

The text that was reported back did not contain the <int> template parameter.

Image

Expected vs actual behavior

The AI agent should be able to see text between angle brackets if it appears in quoted text.

Logs

I have added the chat debug log.

copilot_all_prompts_2026-03-12T11-08-00.chatreplay.zip

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