Context7 Platform -- Up-to-date docs for AI agents
docs: Adding Notes on Using MCP in Windows Systems
citizenl1755903edf68
diff --git a/README.md b/README.mdindex e1b4a90b..7028d091 100644--- a/README.md+++ b/README.md@@ -231,6 +231,26 @@ If you prefer to run the MCP server in a Docker container:*Note: This is an example configuration. Please refer to the specific examples for your MCP client (like Cursor, VS Code, etc.) earlier in this README to adapt the structure (e.g., `mcpServers` vs `servers`). Also, ensure the image name in `args` matches the tag used during the `docker build` command.*+### Install in Windows+The configuration on Windows is slightly different compared to Linux or macOS (*`Cline` is used in the example*). The same principle applies to other editors; refer to the configuration of `command` and `args`.+```json+{+ "mcpServers": {+ "github.com/upstash/context7-mcp": {+ "command": "cmd",+ "args": [+ "/c",+ "npx",+ "-y",+ "@upstash/context7-mcp@latest"+ ],+ "disabled": false,+ "autoApprove": []+ }+ }+}+```+### Environment Variables- `DEFAULT_MINIMUM_TOKENS`: Set the minimum token count for documentation retrieval (default: 10000).diff --git a/docs/README.zh-CN.md b/docs/README.zh-CN.mdindex 26d23ef0..af54fe5e 100644--- a/docs/README.zh-CN.md+++ b/docs/README.zh-CN.md@@ -209,6 +209,26 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp@latest- 当前Cursor版本(0.49.5), 请不要使用本方式启动MCP server,详情:[Cursor官方说明](https://docs.cursor.com/context/model-context-protocol#remote-development)</em>+### 在Windows上安装+在windows上的配置相对于linux或macos来说有些许不同,(*示例使用的`Cline`*), 其它编辑器同理, 参考`command`和`args`的配置即可+```json+{+ "mcpServers": {+ "github.com/upstash/context7-mcp": {+ "command": "cmd",+ "args": [+ "/c",+ "npx",+ "-y",+ "@upstash/context7-mcp@latest"+ ],+ "disabled": false,+ "autoApprove": []+ }+ }+}+```+### 可用工具- `resolve-library-id`: 将通用库名称解析为Context7兼容的库ID。