Skip to content

fix(everything): return errors for missing SSE sessions#4533

Open
dev-willbird1936 wants to merge 1 commit into
modelcontextprotocol:mainfrom
dev-willbird1936:sse-missing-session
Open

fix(everything): return errors for missing SSE sessions#4533
dev-willbird1936 wants to merge 1 commit into
modelcontextprotocol:mainfrom
dev-willbird1936:sse-missing-session

Conversation

@dev-willbird1936

Copy link
Copy Markdown

Description

Return clear 404 JSON responses when the deprecated Everything SSE transport receives an unknown or missing session ID. The affected routes previously logged and left requests unresolved, or dereferenced a failed lookup.

Root cause

The deprecated SSE transport did not consistently validate session lookup before handling GET /sse and POST /message requests.

Testing

  • Vitest HTTP-level regressions for unknown GET /sse and POST /message sessions: 2/2 passed.
  • Fresh Everything suite recheck on 2026-07-15: 109/109 tests passed across 6 files.
  • Everything package build passed.
  • Touched-file Prettier and git diff --check passed.
  • LLM-client integration was not exercised; tests use HTTP-level transport requests only.

This is an ordinary correctness/resource-handling fix, not a security report. Hosted CI and maintainer review remain pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants