MCP Bundle for @upstash/context7-mcp@4.7.0
context7
npx @buildinternet/releases get context7-releasesresolveLibraryId returns the SDK's "No libraries found" message when nothing matches, and queryDocs returns "No documentation found" for an unknown library ID. Other errors no longer end with ".. Check your API key and try again."
searchLibrary now returns an empty list when nothing matches, or a "No libraries found" message with type: "txt", instead of throwing a 404 Context7Error. Text results label the trust score as "Source Reputation", matching the MCP server.
The get-upgrade-guide research preview tool takes a page argument so long guides return in full-detail pages, with page 1 covering migration essentials, and a guide is served only once complete. The tool no longer tells agents never to retry an unprepared guide; telemetry now records unavailable guides and out-of-range pages as unavailable and invalid instead of not_found.
CLI help examples now use /reactjs/react.dev, since /facebook/react redirects to another library and returns no documentation.
MCP Bundle for @upstash/context7-mcp@4.6.0
The query-code MCP tool and ctx7 code command search and read a library's source at the version its docs describe, with grep, definition, references, outline, read and list operations. A get-upgrade-guide research preview tool returns everything that changes between two library versions, drawn from intervening release notes and the public API diff.
A new query-code MCP tool and ctx7 code command search and read a library's source code at the version its docs describe, with grep via ripgrep options plus definition, references, outline, read and list. The MCP tool is part of the research preview and appears only with --research-preview, CONTEXT7_RESEARCH_PREVIEW=1 or ?research_preview=1, while ctx7 library marks libraries whose source is searchable.
MCP Bundle for @upstash/context7-mcp@4.5.1
resolve-library-id results now keep the teamspace library-filter notice when no libraries match.
ctx7 setup and remove now support Pi, writing the MCP server to Pi's mcp.json with direct tool exposure and installing the Context7 skill. Setup and remove no longer silently drop comments and layout from .vscode/mcp.json and .cursor/mcp.json by editing the Context7 entry in place.
MCP Bundle for @upstash/context7-mcp@4.5.0
A submit-docs-feedback tool lets agents score the documentation query-docs returned from 0 to 5 with a comment, available only with research preview enabled via --research-preview, CONTEXT7_RESEARCH_PREVIEW=1, or ?research_preview=1 on the hosted MCP URL. In stdio mode, an unset variable placeholder API key now counts as no key instead of causing every tool call to fail with 401.
ctx7 search searches documentation across all libraries in one step without a library ID, with optional --library, --library-version, and --language filters and --json output. The OpenCode MCP entry is now written inside mcp.servers for 2.x config layouts, and canary users see the update notice once the matching stable version ships.
search() JSON results now type the rank field on each code and info snippet — the snippet's 1-based place in the reranked order shared by both lists; sort codeSnippets and infoSnippets together by rank to read results in the same order as the text response.
Concurrent ctx7 commands on an expired session used to each refresh the same token, causing the server to revoke the whole session; refreshes now take a lock file next to the credentials file so the first command refreshes and writes new credentials while others wait and read them. A running command keeps its lock fresh so slow refreshes are waited for, stale locks from crashed commands are ignored after ten seconds, and commands fall back to refreshing as before if the lock cannot be taken.
MCP Bundle for @upstash/context7-mcp@4.4.4
The MCP server rejects --port=<n> and --api-key=<key> with incompatible transports, matching the space-separated forms, and --port now rejects values that are not an integer from 0 to 65535, with the port-in-use retry stopping at 65535 instead of crashing. The "Do not use for" line in server instructions and rule templates was narrowed so agents reach for Context7 when porting code between libraries, platforms, or SQL dialects.
ctx7 setup now removes an existing --api-key= argument when it rewrites a stdio MCP entry, so switching to OAuth or rotating the key no longer leaves the old key in the config, and ctx7 setup/ctx7 remove preserve comments and trailing commas in OpenCode config files. The "Do not use for" line in server instructions and rule templates was narrowed so agents invoke Context7 when porting code between libraries, platforms, or SQL dialects.
MCP Bundle for @upstash/context7-mcp@4.4.3
