Hey, thanks for the detailed report and root cause analysis.
This is a known bug with ReDoS in the bundled marked.js when rendering MCP responses. The same stack trace RegExp.exec → y.link → u.inlineTokens has already been documented in a few threads, including the main one: Window becomes unresponsive and reloads when MCP tool returns large response (markdown lexer regex hang)
The team is aware, and your report helps with prioritization. There’s no ETA yet.
Your workarounds, especially using a CLI wrapper instead of MCP and sanitizing markdown patterns, are great options for users hitting this.
I’m closing this thread as a duplicate of the main topic. Let me know if you find anything else.