@upstash/context7-mcp@2.2.4

upstash/context7@upstash/context7-mcp@2.2.4May 4, 2026by github-actions[bot]

AI Summary

Fixed HTTP request handling by creating a fresh server instance per request to prevent notification failures.

Key Highlights

  • Creates a fresh 'McpServer' per HTTP request.
  • Fixes 'sendNotification' for long-running tool calls.
  • Removes research mode (same as v2.2.3).

New Features

  • Per-request server instantiation
  • Research mode removal

Full Release Notes

### Patch Changes

-   d0e4a48: Create a fresh `McpServer` per HTTP request. Sharing one across requests let any concurrent `transport.close` clear the shared `Protocol._transport`, which broke `sendNotification` for in-flight long-running tool calls.
-   1aa3430: Remove research mode entirely from the MCP server and CLI. The `query-docs` MCP tool no longer accepts or forwards a `researchMode` parameter, and the CLI no longer exposes a `--research` flag on `ctx7 docs`.