@bangdao-ai/acw-tools 1.2.3-beta.1 → 1.2.5

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 CHANGED
@@ -10,27 +10,6 @@ MCP (Model Context Protocol) 工具集,用于在 Cursor 中通过自然语言
10
10
 
11
11
  ### 配置示例(Token 认证)
12
12
 
13
- #### 方式一:直接运行本地文件(推荐)
14
-
15
- ```json
16
- {
17
- "mcpServers": {
18
- "acw-tools": {
19
- "command": "node",
20
- "args": ["E:\\lh\\ai-collaborative-workbench\\app\\mcp\\index.js"],
21
- "env": {
22
- "ACW_BASE_URL": "http://acw-fn.leo.bangdao-tech.com",
23
- "ACW_TOKEN": "your-token-here"
24
- }
25
- }
26
- }
27
- }
28
- ```
29
-
30
- **注意**: 请将路径 `E:\\lh\\ai-collaborative-workbench\\app\\mcp\\index.js` 替换为你实际的项目路径。
31
-
32
- #### 方式二:使用 npm 包(在线版本)
33
-
34
13
  ```json
35
14
  {
36
15
  "mcpServers": {
@@ -49,39 +28,6 @@ MCP (Model Context Protocol) 工具集,用于在 Cursor 中通过自然语言
49
28
  **配置说明**:
50
29
  - `ACW_BASE_URL`: ACW 服务端地址(默认:http://acw-fn.leo.bangdao-tech.com)
51
30
  - `ACW_TOKEN`: 你的用户 Token(必需,在 ACW 平台个人中心 → Token 管理中创建)
52
- - **方式一**:直接运行项目中的 `app/mcp/index.js` 文件,适合本地开发
53
- - **方式二**:从 npm 下载并运行最新版本,适合生产环境
54
-
55
- ### 重要提示
56
-
57
- - 从 1.1.11 版本开始,MCP 工具仅支持 Token 认证方式
58
- - 请确保在 ACW 平台创建 Token 后配置到 MCP 设置中
59
- - Token 安全性更高,且支持细粒度权限控制
60
-
61
- ### 重启 Cursor
62
-
63
- 配置完成后重启 Cursor,MCP 工具将自动加载。
64
-
65
- ## 故障排除
66
-
67
- ### Windows 用户安装失败
68
-
69
- 如果通过 `npx` 方式安装失败(例如出现 `Cannot find package 'adm-zip'` 错误),请参考:
70
-
71
- 📖 **[Windows 重装指南](./WINDOWS_REINSTALL.md)**
72
-
73
- 该指南包含:
74
- - 清理 npx 缓存的详细步骤
75
- - 手动清理缓存目录的方法
76
- - 切换到本地文件方式的配置
77
- - 常见问题排查
78
-
79
- ### 其他问题
80
-
81
- 如果遇到其他问题,请:
82
- 1. 检查 Node.js 版本(需要 >= 18.0.0)
83
- 2. 查看 Cursor 的 MCP 输出窗口获取详细错误信息
84
- 3. 提交 Issue 到项目仓库
85
31
 
86
32
  ---
87
33
 
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ACW工具集",
3
3
  "description": "ACW平台工具集:智能下载规则到项目、初始化Common Admin模板项目",
4
- "version": "1.2.3",
4
+ "version": "1.2.5",
5
5
  "author": "邦道科技 - 产品技术中心",
6
6
  "homepage": "https://www.npmjs.com/package/@bangdao-ai/acw-tools",
7
7
  "repository": "https://www.npmjs.com/package/@bangdao-ai/acw-tools?activeTab=readme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bangdao-ai/acw-tools",
3
- "version": "1.2.3-beta.1",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "description": "MCP (Model Context Protocol) tools for ACW - download rules and initialize Common Admin projects",
6
6
  "main": "index.js",