mcp-hydrocoder-vision 0.1.4 → 0.1.6
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/INSTALL.md +17 -11
- package/package.json +1 -1
package/INSTALL.md
CHANGED
|
@@ -7,20 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
## 安装步骤
|
|
9
9
|
|
|
10
|
-
### 1.
|
|
11
|
-
|
|
12
|
-
全局安装:
|
|
10
|
+
### 1. 全局安装 MCP 包
|
|
13
11
|
|
|
14
12
|
```bash
|
|
15
13
|
npm install -g mcp-hydrocoder-vision
|
|
16
14
|
```
|
|
17
15
|
|
|
18
|
-
或者使用 npx(无需全局安装):
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npx -y mcp-hydrocoder-vision
|
|
22
|
-
```
|
|
23
|
-
|
|
24
16
|
### 2. 配置 Claude
|
|
25
17
|
|
|
26
18
|
编辑用户目录下的 `~/.claude.json` 文件,添加以下配置:
|
|
@@ -40,13 +32,27 @@ npx -y mcp-hydrocoder-vision
|
|
|
40
32
|
}
|
|
41
33
|
```
|
|
42
34
|
|
|
43
|
-
### 3.
|
|
35
|
+
### 3. 授权工具权限(可选)
|
|
36
|
+
|
|
37
|
+
在 `~/.claude/settings.json` 中添加以下配置,可避免每次使用工具时手动确认:
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"mcpServerPermissions": {
|
|
42
|
+
"hydrocoder-vision": {
|
|
43
|
+
"tools": ["analyzeImage", "extractText", "describeForCode"]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### 4. 启动 LM Studio
|
|
44
50
|
|
|
45
51
|
1. 打开 LM Studio
|
|
46
52
|
2. 下载并加载 `Qwen3-VL-4B-Instruct` 模型
|
|
47
53
|
3. 启动本地服务器(默认端口:1234)
|
|
48
54
|
|
|
49
|
-
###
|
|
55
|
+
### 5. 验证安装
|
|
50
56
|
|
|
51
57
|
在 Claude 中输入 `/image`,应能看到 `analyzeImage`、`extractText`、`describeForCode` 等工具可用。
|
|
52
58
|
|