osfeed.dev
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 fix

Replace `get-library-docs` with `query-docs` using `libraryId` and `query`; pass `query` with `libraryName` to `resolve-library-id`. Remove `mode`, `topic`, `page` and `limit`.

Action requiredRetrieve library documentation and code examples in an MCP coding client.Affects: Custom tool callers upgrading from MCP 1.x.
Read the evidence

Replace `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.

Action requiredSearch libraries and retrieve documentation from a TypeScript application.Affects: Applications upgrading the TypeScript SDK from 0.1.x.
Read the evidence

Rename `resolveLibrary` to `resolveLibraryId` and `getLibraryDocs` to `queryDocs`, supply `query`, and remove `defaultMaxResults`. Upgrade the `ai` peer dependency to version 6 or later.

Action requiredGive Vercel AI SDK applications tools for finding libraries and retrieving documentation.Affects: Applications upgrading AI SDK tools from 0.1.0.
Read the evidence

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

Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.