everything-mcp-server 0.1.0 → 0.2.0
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 +37 -5
- package/README.zh-CN.md +37 -5
- package/package.json +1 -1
- package/src/server.js +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ The ES helper is included. The server automatically checks the default Everythin
|
|
|
16
16
|
|
|
17
17
|
## Installation & Configuration
|
|
18
18
|
|
|
19
|
-
On Windows, launch `npx` through `cmd.exe` as shown below. Choose your client, add the configuration, then reload its MCP connections.
|
|
19
|
+
On Windows, launch `npx` through `cmd.exe` as shown below. Choose your client, add the configuration, then reload its MCP connections. (DeepSeek Harness is the exception: it spawns the command directly, so plain `npx` works — see its section below.)
|
|
20
20
|
|
|
21
21
|
[](https://cursor.com/install-mcp?name=everything&config=eyJjb21tYW5kIjoiY21kLmV4ZSIsImFyZ3MiOlsiL2QiLCIvYyIsIm5weCIsIi15IiwiZXZlcnl0aGluZy1tY3Atc2VydmVyIl19)
|
|
22
22
|
|
|
@@ -64,6 +64,38 @@ opencode mcp add
|
|
|
64
64
|
|
|
65
65
|
</details>
|
|
66
66
|
|
|
67
|
+
<details>
|
|
68
|
+
<summary>DeepSeek Harness</summary>
|
|
69
|
+
|
|
70
|
+
Install the plugin, then restart the profile:
|
|
71
|
+
|
|
72
|
+
```powershell
|
|
73
|
+
dsh plugin --profile <profile> add dsh-everything-mcp
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Or install straight from this repository:
|
|
77
|
+
|
|
78
|
+
```powershell
|
|
79
|
+
dsh plugin --profile <profile> add github:EcRal5t/everything-search-mcp#path:/plugins/dsh-everything-mcp
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The tools appear as `mcp__everything__search` and `mcp__everything__status`. To wire it by hand instead, add this row to the profile's `cordis.patch.yml`:
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
- insert:
|
|
86
|
+
- id: mcp-everything
|
|
87
|
+
name: '@deepseek-ai/dsh-mcp-client'
|
|
88
|
+
config:
|
|
89
|
+
serverName: everything
|
|
90
|
+
transport: stdio
|
|
91
|
+
command: npx
|
|
92
|
+
args: ['-y', 'everything-mcp-server']
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
DSH spawns commands directly, so no `cmd.exe` wrapper is needed. See [`plugins/dsh-everything-mcp`](plugins/dsh-everything-mcp) for the bundle itself.
|
|
96
|
+
|
|
97
|
+
</details>
|
|
98
|
+
|
|
67
99
|
<details>
|
|
68
100
|
<summary>Claude Desktop and other MCP clients</summary>
|
|
69
101
|
|
|
@@ -99,8 +131,8 @@ Both tools are read-only.
|
|
|
99
131
|
|
|
100
132
|
| Tool | Purpose |
|
|
101
133
|
| --- | --- |
|
|
102
|
-
| `
|
|
103
|
-
| `
|
|
134
|
+
| `search` | Find paths, browse folders, count matches, and retrieve sizes or other indexed metadata. |
|
|
135
|
+
| `status` | Check the connection, selected Everything instance, and version. |
|
|
104
136
|
|
|
105
137
|
## Connection settings
|
|
106
138
|
|
|
@@ -143,7 +175,7 @@ npx -y everything-mcp-server search '{"requests": [{"query": "ext:pdf", "count":
|
|
|
143
175
|
<details>
|
|
144
176
|
<summary>Parameters and result format</summary>
|
|
145
177
|
|
|
146
|
-
### `
|
|
178
|
+
### `search`
|
|
147
179
|
|
|
148
180
|
Search, browse directories, count items, and retrieve indexed metadata.
|
|
149
181
|
|
|
@@ -194,7 +226,7 @@ Results label columns once, followed by row arrays:
|
|
|
194
226
|
Combine `base` with relative paths in `rows` to obtain full file paths.
|
|
195
227
|
File and folder sizes use logical byte counts from Everything's index.
|
|
196
228
|
|
|
197
|
-
### `
|
|
229
|
+
### `status`
|
|
198
230
|
|
|
199
231
|
Check backend connectivity, Everything version, selected instance, and index status.
|
|
200
232
|
|
package/README.zh-CN.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
## 安装与配置
|
|
18
18
|
|
|
19
|
-
Windows 下按以下示例,通过 `cmd.exe` 启动 `npx`。选择对应客户端,添加配置后重新加载 MCP
|
|
19
|
+
Windows 下按以下示例,通过 `cmd.exe` 启动 `npx`。选择对应客户端,添加配置后重新加载 MCP 连接。(DeepSeek Harness 例外:它直接 spawn 命令,用裸 `npx` 即可,见下方小节。)
|
|
20
20
|
|
|
21
21
|
[](https://cursor.com/install-mcp?name=everything&config=eyJjb21tYW5kIjoiY21kLmV4ZSIsImFyZ3MiOlsiL2QiLCIvYyIsIm5weCIsIi15IiwiZXZlcnl0aGluZy1tY3Atc2VydmVyIl19)
|
|
22
22
|
|
|
@@ -64,6 +64,38 @@ opencode mcp add
|
|
|
64
64
|
|
|
65
65
|
</details>
|
|
66
66
|
|
|
67
|
+
<details>
|
|
68
|
+
<summary>DeepSeek Harness</summary>
|
|
69
|
+
|
|
70
|
+
安装插件后重启该 profile:
|
|
71
|
+
|
|
72
|
+
```powershell
|
|
73
|
+
dsh plugin --profile <profile> add dsh-everything-mcp
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
也可以直接从仓库安装:
|
|
77
|
+
|
|
78
|
+
```powershell
|
|
79
|
+
dsh plugin --profile <profile> add github:EcRal5t/everything-search-mcp#path:/plugins/dsh-everything-mcp
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
工具以 `mcp__everything__search` 和 `mcp__everything__status` 出现。也可以手工在 profile 的 `cordis.patch.yml` 里加:
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
- insert:
|
|
86
|
+
- id: mcp-everything
|
|
87
|
+
name: '@deepseek-ai/dsh-mcp-client'
|
|
88
|
+
config:
|
|
89
|
+
serverName: everything
|
|
90
|
+
transport: stdio
|
|
91
|
+
command: npx
|
|
92
|
+
args: ['-y', 'everything-mcp-server']
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
DSH 直接 spawn 命令,不需要 `cmd.exe` 包装。配置包本身见 [`plugins/dsh-everything-mcp`](plugins/dsh-everything-mcp)。
|
|
96
|
+
|
|
97
|
+
</details>
|
|
98
|
+
|
|
67
99
|
<details>
|
|
68
100
|
<summary>Claude Desktop 及其他 MCP 客户端</summary>
|
|
69
101
|
|
|
@@ -99,8 +131,8 @@ VS Code 的顶层字段使用 `servers`。
|
|
|
99
131
|
|
|
100
132
|
| 工具 | 用途 |
|
|
101
133
|
| --- | --- |
|
|
102
|
-
| `
|
|
103
|
-
| `
|
|
134
|
+
| `search` | 查找路径、浏览目录、统计数量,以及取得大小或其他索引元数据。 |
|
|
135
|
+
| `status` | 查看连接状态、所选 Everything 实例和版本。 |
|
|
104
136
|
|
|
105
137
|
## 连接设置
|
|
106
138
|
|
|
@@ -143,7 +175,7 @@ npx -y everything-mcp-server search '{"requests": [{"query": "ext:pdf", "count":
|
|
|
143
175
|
<details>
|
|
144
176
|
<summary>参数与结果格式</summary>
|
|
145
177
|
|
|
146
|
-
### `
|
|
178
|
+
### `search`
|
|
147
179
|
|
|
148
180
|
搜索文件/目录、浏览文件夹、统计数量及获取元数据。
|
|
149
181
|
|
|
@@ -194,7 +226,7 @@ IPC 提供上述全部字段与排序。HTTP 支持按名称、路径、大小
|
|
|
194
226
|
将 `base` 与 `rows` 中的相对路径拼接即可得到完整路径。
|
|
195
227
|
文件与文件夹大小采用 Everything 索引中的逻辑字节数。
|
|
196
228
|
|
|
197
|
-
### `
|
|
229
|
+
### `status`
|
|
198
230
|
|
|
199
231
|
检查 Everything 连接状态、运行实例、版本及索引就绪情况。
|
|
200
232
|
|
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -25,8 +25,8 @@ export function createServer(client = new AgentClient()) {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
register('
|
|
29
|
-
register('
|
|
28
|
+
register('search', 'Find file/folder paths and indexed metadata across drives or within root. Use workspace search or rg for file contents. Submit 1–8 requests; recursive:false browses; count:0 counts; add kind:"file", fields:["size"] to sum matched bytes.', requestsSchema, searchOutputSchema, (args, signal) => compactSearch(client, args, signal));
|
|
29
|
+
register('status', 'Check connection status, selected instance, version, and index readiness.', diagnosticSchema, statusOutputSchema, (args, signal) => client.status(signal, args.verbose));
|
|
30
30
|
server.registerResource('everything-syntax', 'everything://syntax', { description: 'Query syntax and result semantics', mimeType: 'application/json' }, async uri => ({ contents: [{ uri: uri.href, mimeType: 'application/json', text: JSON.stringify(syntax) }] }));
|
|
31
31
|
return server;
|
|
32
32
|
}
|