Release / / with @upstash/[email protected], @upstash/[email protected], @upstash/[email protected], @upstash/[email protected], @upstash/[email protected], @upstash/[email protected], @upstash/[email protected], @upstash/[email protected]
Context7 @upstash/[email protected]
Authenticate an MCP connection through OAuth.
Before you upgrade to @upstash/[email protected]
3 to fixReplace `getDocs()` with `getContext(query, libraryId, options)` and use `searchLibrary(query, libraryName)`. Remove pagination, mode, topic and limit options; responses now default to JSON, so request `type: txt` to keep text.
Rename `resolveLibrary` to `resolveLibraryId` and `getLibraryDocs` to `queryDocs`, supply `query`, and remove `defaultMaxResults`. Upgrade the `ai` peer dependency to version 6 or later.
What changed in @upstash/[email protected]
MCP switches to query-based retrieval and adds OAuth discovery at `/mcp/oauth`. TypeScript and AI SDK callers must update method names and arguments.
MCP 2.0.0–2.1.0; SDK 0.2.0–0.3.0 and AI SDK tools through 0.2.1.
New things you can do
Sign in to a Context7 MCP connection using OAuth.
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.