@upstash/context7-mcp 1.0.30 → 1.0.31-canary-20251124145014

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.
package/dist/index.js CHANGED
@@ -70,7 +70,7 @@ function getClientIp(req) {
70
70
  }
71
71
  const server = new McpServer({
72
72
  name: "Context7",
73
- version: "1.0.30",
73
+ version: "1.0.13",
74
74
  }, {
75
75
  instructions: "Use this server to retrieve up-to-date documentation and code examples for any library.",
76
76
  });
package/dist/lib/api.js CHANGED
@@ -86,7 +86,8 @@ export async function searchLibraries(query, clientIp, apiKey) {
86
86
  error: errorMessage,
87
87
  };
88
88
  }
89
- return await response.json();
89
+ const searchData = await response.json();
90
+ return searchData;
90
91
  }
91
92
  catch (error) {
92
93
  const errorMessage = `Error searching libraries: ${error}`;
package/package.json CHANGED
@@ -1 +1,54 @@
1
- {"name":"@upstash/context7-mcp","version":"1.0.30","mcpName":"io.github.upstash/context7","description":"MCP server for Context7","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc && chmod 755 dist/index.js","format":"prettier --write .","lint":"eslint \"**/*.{js,ts,tsx}\" --fix","lint:check":"eslint \"**/*.{js,ts,tsx}\"","start":"node dist/index.js --transport http","pack-mcpb":"bun install && bun run build && rm -rf node_modules && bun install --production && mv mcpb/.mcpbignore .mcpbignore && mv mcpb/manifest.json manifest.json && mv public/icon.png icon.png && mcpb validate manifest.json && mcpb pack . mcpb/context7.mcpb && mv manifest.json mcpb/manifest.json && mv .mcpbignore mcpb/.mcpbignore && mv icon.png public/icon.png && bun install"},"repository":{"type":"git","url":"git+https://github.com/upstash/context7.git"},"keywords":["modelcontextprotocol","mcp","context7","vibe-coding","developer tools","documentation","context"],"author":"abdush","license":"MIT","type":"module","bin":{"context7-mcp":"dist/index.js"},"files":["dist"],"bugs":{"url":"https://github.com/upstash/context7/issues"},"homepage":"https://github.com/upstash/context7#readme","dependencies":{"@modelcontextprotocol/sdk":"^1.17.5","@types/express":"^5.0.4","commander":"^14.0.0","express":"^5.1.0","undici":"^6.6.3","zod":"^3.24.2"},"devDependencies":{"@types/node":"^22.13.14","@typescript-eslint/eslint-plugin":"^8.28.0","@typescript-eslint/parser":"^8.28.0","eslint":"^9.34.0","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.5","prettier":"^3.6.2","typescript":"^5.8.2","typescript-eslint":"^8.28.0"}}
1
+ {
2
+ "name": "@upstash/context7-mcp",
3
+ "version": "1.0.31-canary-20251124145014",
4
+ "mcpName": "io.github.upstash/context7",
5
+ "description": "MCP server for Context7",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/upstash/context7.git",
9
+ "directory": "packages/mcp"
10
+ },
11
+ "keywords": [
12
+ "modelcontextprotocol",
13
+ "mcp",
14
+ "context7",
15
+ "vibe-coding",
16
+ "developer tools",
17
+ "documentation",
18
+ "context"
19
+ ],
20
+ "author": "abdush",
21
+ "license": "MIT",
22
+ "type": "module",
23
+ "bin": {
24
+ "context7-mcp": "dist/index.js"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "LICENSE",
29
+ "README.md"
30
+ ],
31
+ "bugs": {
32
+ "url": "https://github.com/upstash/context7/issues"
33
+ },
34
+ "homepage": "https://github.com/upstash/context7#readme",
35
+ "dependencies": {
36
+ "@modelcontextprotocol/sdk": "^1.17.5",
37
+ "@types/express": "^5.0.4",
38
+ "commander": "^14.0.0",
39
+ "express": "^5.1.0",
40
+ "undici": "^6.6.3",
41
+ "zod": "^3.24.2"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^22.13.14",
45
+ "typescript": "^5.8.2"
46
+ },
47
+ "scripts": {
48
+ "build": "tsc && chmod 755 dist/index.js",
49
+ "test": "echo \"Error: no test specified\" && exit 1",
50
+ "dev": "tsc --watch",
51
+ "start": "node dist/index.js --transport http",
52
+ "pack-mcpb": "pnpm install && pnpm run build && rm -rf node_modules && pnpm install --prod && mv mcpb/.mcpbignore .mcpbignore && mv mcpb/manifest.json manifest.json && mv public/icon.png icon.png && mcpb validate manifest.json && mcpb pack . mcpb/context7.mcpb && mv manifest.json mcpb/manifest.json && mv .mcpbignore mcpb/.mcpbignore && mv icon.png public/icon.png && bun install"
53
+ }
54
+ }