@hui-xu-ai/dsh-wensu 0.4.0 → 0.4.3
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 +63 -59
- package/cordis.patch.yml +26 -26
- package/package.json +40 -40
package/README.md
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
|
-
# 在 DSH 中安装 wensu(文溯)MCP
|
|
2
|
-
|
|
3
|
-
这是一个**配置型 bundle**:它不包含插件代码,只声明对 `@deepseek-ai/dsh-mcp-client`
|
|
4
|
-
的依赖,并通过 `cordis.patch.yml` 插入一条 MCP 客户端实例。
|
|
5
|
-
|
|
6
|
-
## 前置
|
|
7
|
-
|
|
8
|
-
`wensu` 命令必须在 DSH 进程的 PATH
|
|
9
|
-
|
|
10
|
-
```powershell
|
|
11
|
-
pip install wensu
|
|
12
|
-
wensu
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
##
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
```
|
|
1
|
+
# 在 DSH 中安装 wensu(文溯)MCP
|
|
2
|
+
|
|
3
|
+
这是一个**配置型 bundle**:它不包含插件代码,只声明对 `@deepseek-ai/dsh-mcp-client`
|
|
4
|
+
的依赖,并通过 `cordis.patch.yml` 插入一条 MCP 客户端实例。
|
|
5
|
+
|
|
6
|
+
## 前置
|
|
7
|
+
|
|
8
|
+
`wensu` 命令必须在 DSH 进程的 PATH 上,浏览器侧也要装一次:
|
|
9
|
+
|
|
10
|
+
```powershell
|
|
11
|
+
pip install wensu
|
|
12
|
+
wensu setup # 复制浏览器资源并注册原生宿主
|
|
13
|
+
wensu status # bridge_ready: true 才表示整条链路通了
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`wensu setup` 会打印扩展目录;在 `edge://extensions`(或 `chrome://extensions`)打开开发者模式,
|
|
17
|
+
用“加载解压缩的扩展”选中该目录即可。没有浏览器侧时 MCP 服务仍会启动,但 `search` 会返回桥接错误。
|
|
18
|
+
|
|
19
|
+
## 安装
|
|
20
|
+
|
|
21
|
+
在 DSH 的插件管理入口(桌面端 Plugins 页面,或在 Creator 会话里让 agent 调用
|
|
22
|
+
`plugin_manager`)安装这个目录。安装时 DSH 会解析并安装
|
|
23
|
+
`@deepseek-ai/dsh-mcp-client@0.2.1-rc.2`,不需要手工复制 `node_modules`,也不要手工编辑
|
|
24
|
+
profile 的 `cordis.patch.yml`。
|
|
25
|
+
|
|
26
|
+
安装完成后**完全重启 DSH**,新会话中应出现:
|
|
27
|
+
|
|
28
|
+
- `mcp__wensu__search`
|
|
29
|
+
- `mcp__wensu__detail`
|
|
30
|
+
- `mcp__wensu__export`
|
|
31
|
+
- `mcp__wensu__status`
|
|
32
|
+
|
|
33
|
+
## 验证
|
|
34
|
+
|
|
35
|
+
重启后调用 `mcp__wensu__status`。返回 `bridge_ready: true` 即表示 MCP 客户端已启动并能
|
|
36
|
+
连到浏览器宿主。
|
|
37
|
+
|
|
38
|
+
## 卸载/回滚
|
|
39
|
+
|
|
40
|
+
在插件管理入口卸载 `@hui-xu-ai/dsh-wensu`,重启 DSH 即可。不要直接删除 profile 里的文件。
|
|
41
|
+
|
|
42
|
+
## 备选:任何 MCP 客户端
|
|
43
|
+
|
|
44
|
+
JSON 配置(Claude Desktop、Cursor 等):
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
{
|
|
48
|
+
"mcpServers": {
|
|
49
|
+
"wensu": {
|
|
50
|
+
"command": "wensu",
|
|
51
|
+
"args": ["serve", "--transport", "stdio"]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Codex 用 `~/.codex/config.toml`,不是 JSON:
|
|
58
|
+
|
|
59
|
+
```toml
|
|
60
|
+
[mcp_servers.wensu]
|
|
61
|
+
command = "wensu"
|
|
62
|
+
args = ["serve", "--transport", "stdio"]
|
|
63
|
+
```
|
package/cordis.patch.yml
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# wensu (文溯) MCP for DeepSeek Harness
|
|
2
|
-
#
|
|
3
|
-
# Install this bundle through DSH's plugin manager; do not paste this row into
|
|
4
|
-
# the profile's cordis.patch.yml by hand.
|
|
5
|
-
#
|
|
6
|
-
# Tools appear as mcp__wensu__search / detail / export / status.
|
|
7
|
-
#
|
|
8
|
-
# `wensu` must be on PATH for the DSH process (pip install wensu). To pin a
|
|
9
|
-
# specific environment instead, point `command` at that venv's
|
|
10
|
-
# Scripts\wensu.exe. Runtime state stays in %LOCALAPPDATA%\scholar-search.
|
|
11
|
-
|
|
12
|
-
- insert:
|
|
13
|
-
# Row id kept from the 0.3.x bundle so reinstalling replaces the old row
|
|
14
|
-
# instead of adding a second MCP server.
|
|
15
|
-
- id: mcp-scholar-search
|
|
16
|
-
name: '@deepseek-ai/dsh-mcp-client'
|
|
17
|
-
config:
|
|
18
|
-
serverName: wensu
|
|
19
|
-
transport: stdio
|
|
20
|
-
command: wensu
|
|
21
|
-
args:
|
|
22
|
-
- 'serve'
|
|
23
|
-
- '--transport'
|
|
24
|
-
- 'stdio'
|
|
25
|
-
failOnStartupError: false
|
|
26
|
-
toolCallTimeoutMs: 180000
|
|
1
|
+
# wensu (文溯) MCP for DeepSeek Harness
|
|
2
|
+
#
|
|
3
|
+
# Install this bundle through DSH's plugin manager; do not paste this row into
|
|
4
|
+
# the profile's cordis.patch.yml by hand.
|
|
5
|
+
#
|
|
6
|
+
# Tools appear as mcp__wensu__search / detail / export / status.
|
|
7
|
+
#
|
|
8
|
+
# `wensu` must be on PATH for the DSH process (pip install wensu). To pin a
|
|
9
|
+
# specific environment instead, point `command` at that venv's
|
|
10
|
+
# Scripts\wensu.exe. Runtime state stays in %LOCALAPPDATA%\scholar-search.
|
|
11
|
+
|
|
12
|
+
- insert:
|
|
13
|
+
# Row id kept from the 0.3.x bundle so reinstalling replaces the old row
|
|
14
|
+
# instead of adding a second MCP server.
|
|
15
|
+
- id: mcp-scholar-search
|
|
16
|
+
name: '@deepseek-ai/dsh-mcp-client'
|
|
17
|
+
config:
|
|
18
|
+
serverName: wensu
|
|
19
|
+
transport: stdio
|
|
20
|
+
command: wensu
|
|
21
|
+
args:
|
|
22
|
+
- 'serve'
|
|
23
|
+
- '--transport'
|
|
24
|
+
- 'stdio'
|
|
25
|
+
failOnStartupError: false
|
|
26
|
+
toolCallTimeoutMs: 180000
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hui-xu-ai/dsh-wensu",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "DSH bundle that mounts the wensu (文溯) MCP server over stdio.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "hui-xu-ai",
|
|
7
|
-
"homepage": "https://github.com/hui-xu-ai/wensu/tree/main/dsh-
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/hui-xu-ai/wensu.git",
|
|
11
|
-
"directory": "dsh-
|
|
12
|
-
},
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/hui-xu-ai/wensu/issues"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"dsh",
|
|
18
|
-
"dsh-plugin",
|
|
19
|
-
"deepseek-harness",
|
|
20
|
-
"mcp",
|
|
21
|
-
"wensu",
|
|
22
|
-
"cnki",
|
|
23
|
-
"literature-search"
|
|
24
|
-
],
|
|
25
|
-
"files": [
|
|
26
|
-
"cordis.patch.yml",
|
|
27
|
-
"README.md"
|
|
28
|
-
],
|
|
29
|
-
"publishConfig": {
|
|
30
|
-
"access": "public"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@deepseek-ai/dsh-mcp-client": "0.2.1-rc.2"
|
|
34
|
-
},
|
|
35
|
-
"dsh": {
|
|
36
|
-
"bundle": {
|
|
37
|
-
"patch": "./cordis.patch.yml"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@hui-xu-ai/dsh-wensu",
|
|
3
|
+
"version": "0.4.3",
|
|
4
|
+
"description": "DSH bundle that mounts the wensu (文溯) MCP server over stdio.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "hui-xu-ai",
|
|
7
|
+
"homepage": "https://github.com/hui-xu-ai/wensu/tree/main/packages/dsh-wensu#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/hui-xu-ai/wensu.git",
|
|
11
|
+
"directory": "packages/dsh-wensu"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/hui-xu-ai/wensu/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"dsh",
|
|
18
|
+
"dsh-plugin",
|
|
19
|
+
"deepseek-harness",
|
|
20
|
+
"mcp",
|
|
21
|
+
"wensu",
|
|
22
|
+
"cnki",
|
|
23
|
+
"literature-search"
|
|
24
|
+
],
|
|
25
|
+
"files": [
|
|
26
|
+
"cordis.patch.yml",
|
|
27
|
+
"README.md"
|
|
28
|
+
],
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@deepseek-ai/dsh-mcp-client": "0.2.1-rc.2"
|
|
34
|
+
},
|
|
35
|
+
"dsh": {
|
|
36
|
+
"bundle": {
|
|
37
|
+
"patch": "./cordis.patch.yml"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|