Skip to content

chore(deps): update dependency @upstash/context7-mcp to v4.0.2 - #887

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/upstash-context7-mcp-4.x
Open

chore(deps): update dependency @upstash/context7-mcp to v4.0.2#887
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/upstash-context7-mcp-4.x

Conversation

@renovate

@renovate renovate Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@upstash/context7-mcp (source) 4.0.04.0.2 age confidence

Release Notes

upstash/context7 (@​upstash/context7-mcp)

v4.0.2

Compare Source

Patch Changes
  • 67528f2: Add a 60s AbortSignal.timeout() to both Context7 API calls in lib/api.ts. Without a signal a stalled backend call rides undici's ~300s default before failing. 60s is generous: these are vector queries with p99.9 ~3.2s, and no request exceeded 30s across a full day of production traffic.
  • c68104e: Disable SSE keepalive heartbeats on the HTTP handler (keepAliveMs: 0). Every tool is a millisecond vector query, so no legitimate exchange needs a heartbeat — but a hung exchange kept alive by heartbeats can never be reaped by a proxy's stream idle timeout. One such hang is deterministic: a 2025-era JSON-RPC batch carrying a request plus its own notifications/cancelled gets no response for the cancelled request (per spec), the SDK transport then never closes the stream, and heartbeats kept it alive until the gateway's 1200s hard cap — the dominant source of leaked upstream connections in the 2026-08-11 mcp.context7.com outage. With heartbeats off, silent hangs go idle and the proxy reaps them at its idle timeout.

v4.0.1

Compare Source

Patch Changes
  • af7e4ad: Stop forcing responseMode: "sse" on the HTTP handler and use the SDK default "auto" instead. Forcing "sse" put every response on an SSE stream, and those streams were not released: concurrent upstream streams went from ~10 before v4.0.0 to over 5000, exhausting the gateway connection pool and returning 503 reset reason: overflow on mcp.context7.com. Traffic and latency were unchanged over that period, so the growth was not load.

    With "auto" a request is answered with a single JSON body unless a handler emits a related message before its result, which upgrades that one exchange to SSE. No tool emits progress today, so modern-protocol responses are now plain JSON. The 2025-era legacy fallback is constructed without a responseMode and still streams over SSE, so it is unaffected.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@toolhive-release-app

Copy link
Copy Markdown
Contributor

🔒 MCP Security Scan Results

✅ context7

  • Status: Passed
  • Tools scanned: 2
  • Result: No security issues detected

Summary: Scanned 1 MCP server(s), all passed security checks. ✅

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants