@upstash/context7-mcp 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -103,7 +103,8 @@ For ambiguous queries, request clarification before proceeding with a best-guess
103
103
  },
104
104
  }, async ({ libraryName }) => {
105
105
  const ctx = requestContext.getStore();
106
- const searchResponse = await searchLibraries(libraryName, ctx?.clientIp, ctx?.apiKey);
106
+ const apiKey = ctx?.apiKey || globalApiKey;
107
+ const searchResponse = await searchLibraries(libraryName, ctx?.clientIp, apiKey);
107
108
  if (!searchResponse.results || searchResponse.results.length === 0) {
108
109
  return {
109
110
  content: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upstash/context7-mcp",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "mcpName": "io.github.upstash/context7",
5
5
  "description": "MCP server for Context7",
6
6
  "repository": {