@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 +1 -1
- package/dist/lib/api.js +2 -1
- package/package.json +54 -1
package/dist/index.js
CHANGED
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
|
-
|
|
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
|
-
{
|
|
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
|
+
}
|