Skip to content

Releases: upstash/context7

@upstash/context7-mcp@2.2.5

Choose a tag to compare

@github-actions github-actions released this 11 May 19:51
13f3ef0

Patch Changes

  • 187287c: Accept hallucinated argument names on tools/call requests by rewriting them to the canonical names before validation. userQuery and question are mapped to query on either tool; on query-docs, context7CompatibleLibraryID, libraryID, and libraryName are mapped to libraryId. Some LLM clients produce these alternative names — likely echoing phrasing from each tool's description — and previously triggered Invalid input: expected string, received undefined errors. libraryName is only rewritten on query-docs calls because it is the canonical arg for resolve-library-id. Tool input schemas published via tools/list are unchanged: canonical names remain the documented required fields, the rewrite is purely a server-side compatibility shim that runs only on tools/call and only when the canonical key is absent.
  • 78b9826: Exit the stdio MCP server when the parent process closes its stdio. Previously, if the parent (e.g. Claude Code) was force-killed shortly after a tool call, an idle undici keep-alive socket to the Context7 API would keep libuv's event loop alive past stdin EOF, leaving an orphaned node process that consumed memory until the kernel tore the socket down (which on Cloudflare-fronted endpoints can take hours). The server now listens for end/close on stdin and SIGHUP and exits cleanly. Fixes #2542.

ctx7@0.4.1

Choose a tag to compare

@github-actions github-actions released this 04 May 17:37
85c3a0c

Patch Changes

  • 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.

@upstash/context7-mcp@2.2.4

Choose a tag to compare

@github-actions github-actions released this 04 May 17:37
85c3a0c

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.

@upstash/context7-mcp@2.2.3

Choose a tag to compare

@github-actions github-actions released this 29 Apr 13:15
8782725

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).

@upstash/context7-mcp@2.2.2

Choose a tag to compare

@github-actions github-actions released this 28 Apr 21:18
04b70c4

Patch Changes

  • 8274bd0: Add missing tool annotations
  • ff6c1be: Remove the researchMode parameter from the query-docs tool's input schema. The underlying API still supports research mode, but several MCP clients hit per-request timeouts (60s defaults) on long-running research calls in ways that can't always be solved server-side. Hiding the parameter prevents agents from invoking it through MCP until the timeout story is reliable across clients.

@upstash/context7-mcp@2.2.1

Choose a tag to compare

@github-actions github-actions released this 27 Apr 14:59
b4bf49f

Patch Changes

  • 1b0c211: Add endpoint for OpenAI Apps SDK domain verification.

ctx7@0.4.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 17:50
5d284f2

Minor Changes

  • 17b864f: Expose research mode through the MCP researchMode tool and the CLI docs --research flag for deep, agent-driven documentation answers.

Patch Changes

  • 4feee15: Add CLI update notifications and a new ctx7 upgrade command. The CLI now checks for newer versions with cached state, shows a non-blocking notice before interactive commands, and provides safer upgrade guidance across npm, pnpm, bun, and ephemeral runner setups.
  • f056b14: Add ctx7 remove as the cleanup counterpart to ctx7 setup, with safer detection and removal behavior. The command now prompts only for agents with actual Context7 artifacts, preserves non-Context7 MCP configuration when removing entries, and includes stronger test coverage for JSON and TOML cleanup.

@upstash/context7-mcp@2.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 17:50
5d284f2

Minor Changes

  • 17b864f: Expose research mode through the MCP researchMode tool and the CLI docs --research flag for deep, agent-driven documentation answers.

ctx7@0.3.13

Choose a tag to compare

@github-actions github-actions released this 14 Apr 07:51
c850669

Patch Changes

  • 3f6e310: Fix skill installation path validation on Windows so valid files inside the target directory are not rejected due to backslash-separated resolved paths.

ctx7@0.3.12

Choose a tag to compare

@github-actions github-actions released this 13 Apr 00:21
c31528d

Patch Changes

  • 33f2338: Add Codex-specific CLI setup guidance so generated rules and the installed find-docs skill tell Codex to rerun Context7 CLI requests outside the default sandbox after DNS or network failures.