@upstash/context7-mcp@2.2.3

upstash/context7@upstash/context7-mcp@2.2.3Apr 29, 2026by github-actions[bot]

AI Summary

Switched to Server-Sent Events (SSE) streaming to ensure HTTP headers flush before client timeouts.

Key Highlights

  • Stream MCP tool responses over SSE.
  • Switched 'enableJsonResponse' to false to flush headers early.
  • Fixes clients with short fetch timeouts (e.g., Claude Code).

New Features

  • SSE streaming for tool responses
  • Early header flushing

Full Release Notes

### Patch Changes

-   772da3a: Stream MCP tool responses over SSE so HTTP headers flush before client `fetch` timeouts. Switching `enableJsonResponse` to `false` makes the SDK return the HTTP response synchronously after request validation, so headers are sent in milliseconds instead of being buffered until the tool completes. This fixes clients that cap the underlying `fetch` waiting for headers (e.g., Claude Code's 60s `wrapFetchWithTimeout`).