Skip to content

fix(server): return 405 to sse requests instead of redirecting - #274

Merged
caugner merged 1 commit into
mainfrom
block-sse
Oct 5, 2026
Merged

caugner merged 1 commit into
mainfrom
block-sse

Conversation

@LeoMcA

@LeoMcA LeoMcA commented Oct 5, 2026

Copy link
Copy Markdown
Member

Fixes #231

The issue was that claude code was repeatedly trying to open an SSE connection to the MCP, but hitting our redirect instead, not being able to parse that, so attempting again, in an infinite loop.

This denies the request instead, and reduces claude code's CPU usage.

@LeoMcA
LeoMcA requested a review from a team as a code owner October 5, 2026 15:50
@LeoMcA
LeoMcA requested a review from caugner October 5, 2026 15:50
@caugner
caugner merged commit 284bc79 into main Oct 5, 2026
4 checks passed
@caugner
caugner deleted the block-sse branch October 5, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants