@upstash/context7-mcp 1.0.21 → 1.0.22
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/README.md +40 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -401,6 +401,45 @@ If the `mcpServers` object does not exist, create it.
|
|
|
401
401
|
|
|
402
402
|
</details>
|
|
403
403
|
|
|
404
|
+
<details>
|
|
405
|
+
<summary><b>Install in Qwen Coder</b></summary>
|
|
406
|
+
|
|
407
|
+
See [Qwen Coder MCP Configuration](https://qwenlm.github.io/qwen-code-docs/en/tools/mcp-server/#how-to-set-up-your-mcp-server) for details.
|
|
408
|
+
|
|
409
|
+
1. Open the Qwen Coder settings file. The location is `~/.qwen/settings.json` (where `~` is your home directory).
|
|
410
|
+
2. Add the following to the `mcpServers` object in your `settings.json` file:
|
|
411
|
+
|
|
412
|
+
```json
|
|
413
|
+
{
|
|
414
|
+
"mcpServers": {
|
|
415
|
+
"context7": {
|
|
416
|
+
"httpUrl": "https://mcp.context7.com/mcp",
|
|
417
|
+
"headers": {
|
|
418
|
+
"CONTEXT7_API_KEY": "YOUR_API_KEY",
|
|
419
|
+
"Accept": "application/json, text/event-stream"
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
Or, for a local server:
|
|
427
|
+
|
|
428
|
+
```json
|
|
429
|
+
{
|
|
430
|
+
"mcpServers": {
|
|
431
|
+
"context7": {
|
|
432
|
+
"command": "npx",
|
|
433
|
+
"args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
If the `mcpServers` object does not exist, create it.
|
|
440
|
+
|
|
441
|
+
</details>
|
|
442
|
+
|
|
404
443
|
<details>
|
|
405
444
|
<summary><b>Install in Claude Desktop</b></summary>
|
|
406
445
|
|
|
@@ -513,7 +552,7 @@ This ensures Codex CLI works reliably on Windows.
|
|
|
513
552
|
⚠️ MacOS Notes
|
|
514
553
|
|
|
515
554
|
On MacOS, some users may encounter the same request timed out errors like Windows,
|
|
516
|
-
it also can be solved
|
|
555
|
+
it also can be solved with the full path to Node.js and the installed package:
|
|
517
556
|
|
|
518
557
|
```toml
|
|
519
558
|
[mcp_servers.context7]
|
package/dist/index.js
CHANGED
|
@@ -77,7 +77,7 @@ function getClientIp(req) {
|
|
|
77
77
|
function createServerInstance(clientIp, apiKey) {
|
|
78
78
|
const server = new McpServer({
|
|
79
79
|
name: "Context7",
|
|
80
|
-
version: "1.0.
|
|
80
|
+
version: "1.0.22",
|
|
81
81
|
}, {
|
|
82
82
|
instructions: "Use this server to retrieve up-to-date documentation and code examples for any library.",
|
|
83
83
|
});
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@upstash/context7-mcp","version":"1.0.
|
|
1
|
+
{"name":"@upstash/context7-mcp","version":"1.0.22","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","commander":"^14.0.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"}}
|