Commit 935a63c
fix(mcp): remove GET redirect that blocks Streamable HTTP SSE stream (#2728)
The MapGet("/") redirect on the MCP group root caused an infinite 301
redirect loop for GET requests to /docs/_mcp/. The Streamable HTTP
transport uses GET on the same endpoint as POST to open the SSE stream
for server-to-client notifications. The redirect intercepted every GET
before it could reach the MCP handler, causing Cursor to enter a
"fetch failed" reconnect loop and never finish loading tools.
Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 3ed1c05 commit 935a63c
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
0 commit comments