Title: GitHub MCP issue read appears to drop code block text in angle brackets · Issue #2202 · github/github-mcp-server · GitHub
Open Graph Title: GitHub MCP issue read appears to drop code block text in angle brackets · Issue #2202 · github/github-mcp-server
X Title: GitHub MCP issue read appears to drop code block text in angle brackets · Issue #2202 · github/github-mcp-server
Description: 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 pt...
Open Graph Description: 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 seem...
X Description: 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 seem...
Opengraph URL: https://github.com/github/github-mcp-server/issues/2202
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GitHub MCP issue read appears to drop code block text in angle brackets","articleBody":"### Describe the bug\n\nWhen the AI agent tries to read an issue from my private repository via the GitHub MCP issue-read endpoint, any code between two\n`` ``` ``\nlines that contains text in angle brackets seems to get lost.\nTake this example:\n\n```\nlet ptr: mut_raw_ptr\u003cint> = raw_new int;\n```\n\nThe agent sees only this:\n\n```\nlet ptr: mut_raw_ptr = raw_new int;\n```\n\n### Affected version\n\nI am using the online version of the MCP server.\n\nEnvironment:\n- VS Code 1.111.0\n- Agent: GPT-5.3-Codex (also tried with Claude Sonnet 4.6)\n- Date observed: 2026-03-12\n- MCP tool used: mcp_github_issue_read\n\n### Steps to reproduce the behavior\n\nI typed this in the chat window:\n\n> 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.\n\nThe text that was reported back did not contain the `\u003cint>` template parameter.\n\n\u003cimg width=\"804\" height=\"872\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3023b526-9e88-459e-abc4-9ff7f3c5f77f\" />\n\n### Expected vs actual behavior\n\nThe AI agent should be able to see text between angle brackets if it appears in quoted text.\n\n### Logs\n\nI have added the chat debug log.\n\n[copilot_all_prompts_2026-03-12T11-08-00.chatreplay.zip](https://github.com/user-attachments/files/25933024/copilot_all_prompts_2026-03-12T11-08-00.chatreplay.zip)\n","author":{"url":"https://github.com/fmun","@type":"Person","name":"fmun"},"datePublished":"2026-03-12T11:11:41Z","url":"https://github.com/github/github-mcp-server/issues/2202"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d6433d0a-4350-049a-2744-fc915a710af9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E828:26E336:84F317:B4C5DE:6B068CEF |
| html-safe-nonce | 769b23f124042910bf1d9f32903ae5270966f7142e1c55fd07deeeb7598ba6f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODI4OjI2RTMzNjo4NEYzMTc6QjRDNURFOjZCMDY4Q0VGIiwidmlzaXRvcl9pZCI6IjMwODYzODM0MDI1NjAwOTQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 52295086f6af7c0fde50cf0619bcb91d5f1fc61aac2118fa31a8378264791f54 |
| hovercard-subject-tag | issue:4063897247 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/2202/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30d78a60b9e9968544e260b6b7a63e7e2ab8968fab29b5dab49f25236e560c36/github/github-mcp-server/issues/2202 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30d78a60b9e9968544e260b6b7a63e7e2ab8968fab29b5dab49f25236e560c36/github/github-mcp-server/issues/2202 |
| og:image:alt | 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 seem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fmun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width