Context7 Platform -- Up-to-date docs for AI agents
chore(release): version packages (#3460)
github-actions[bot]ae4871e9a8cb
diff --git a/.changeset/mcp-sdk-2-3-cache-hints.md b/.changeset/mcp-sdk-2-3-cache-hints.mddeleted file mode 100644index 8d2248b7..00000000--- a/.changeset/mcp-sdk-2-3-cache-hints.md+++ /dev/null@@ -1,7 +0,0 @@-----"@upstash/context7-mcp": patch------Update the MCP SDK to `@modelcontextprotocol/server` 2.3.1 and `@modelcontextprotocol/node` 2.1.1, which converts tool schemas lazily, so each per-request server costs less to build. On the 2026-07-28 protocol, `tools/list`, `prompts/list`, `resources/list`, `resources/templates/list` and `server/discover` now return `ttlMs: 3600000` and `cacheScope: "public"`, so clients can reuse them for an hour instead of listing on every request. `resolve-library-id` now sets `isError: true` when the library search fails; a search with no matches is still a normal result.--On SIGTERM the HTTP server now finishes the requests on open connections before it closes the MCP handler, and answers them with `Connection: close`. Before, those requests got HTTP 499 or 500 from the closed handler, and the shutdown hit its 5 s limit and exited with code 1. The SDK's rejections of malformed client requests are now logged as one line without a stack trace.diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.mdindex ed9ca8a8..b943ab63 100644--- a/packages/mcp/CHANGELOG.md+++ b/packages/mcp/CHANGELOG.md@@ -1,5 +1,13 @@# @upstash/context7-mcp+## 4.4.3++### Patch Changes++- 1b00727: Update the MCP SDK to `@modelcontextprotocol/server` 2.3.1 and `@modelcontextprotocol/node` 2.1.1, which converts tool schemas lazily, so each per-request server costs less to build. On the 2026-07-28 protocol, `tools/list`, `prompts/list`, `resources/list`, `resources/templates/list` and `server/discover` now return `ttlMs: 3600000` and `cacheScope: "public"`, so clients can reuse them for an hour instead of listing on every request. `resolve-library-id` now sets `isError: true` when the library search fails; a search with no matches is still a normal result.++ On SIGTERM the HTTP server now finishes the requests on open connections before it closes the MCP handler, and answers them with `Connection: close`. Before, those requests got HTTP 499 or 500 from the closed handler, and the shutdown hit its 5 s limit and exited with code 1. The SDK's rejections of malformed client requests are now logged as one line without a stack trace.+## 4.4.2### Patch Changesdiff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 37f2758f..e1d2683f 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -1,6 +1,6 @@{"name": "@upstash/context7-mcp",- "version": "4.4.2",+ "version": "4.4.3","mcpName": "io.github.upstash/context7","description": "MCP server for Context7","scripts": {