Everything Search MCP Server
用于集成Everything搜索的MCP Server。
简介
Everything Search MCP 服务器通过模型上下文协议(MCP)提供强大的文件搜索功能,直接集成Everything搜索引擎。
前提条件
- Node.js 16+
- Everything搜索引擎
设置Everything
- 打开Everything
- 进入
工具 > 选项 > HTTP 服务器
- 启用HTTP服务器并设置端口为
8011
- 点击确定保存
安装与启动
npm install npm run build
使用方法
通过MCP工具进行搜索:
use_mcp_tool:
- server_name: everything-search
- tool_name: search
- arguments:
{
"query": "search string", # 必填:搜索文本
"scope": "C:", # 可选:搜索范围
"caseSensitive": false, # 可选:区分大小写
"wholeWord": false, # 可选:完整单词匹配
"regex": false, # 可选:使用正则表达式
"path": false, # 可选:在路径中搜索
"maxResults": 100, # 可选:最大结果数(1-1000)
"sortBy": "name", # 可选:排序字段(name/path/size/date_modified)
"ascending": true # 可选:排序方向
}
示例
基本搜索
{
"query": "*.txt",
"maxResults": 5
}
高级搜索
{
"query": "test",
"scope": "C:\\Users",
"caseSensitive": true,
"sortBy": "date_modified",
"ascending": false
}
正则表达式搜索
{
"query": ".*\\.js$",
"regex": true,
"path": true
}
特性
- 全文搜索
- 高级搜索选项(区分大小写、完整单词、正则表达式)
- 多种排序方式(名称、路径、大小、日期)
- 格式化结果(文件大小、日期、完整路径)
许可证
ISC