Everything Search MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides powerful file search capabilities through integration with Everything Search Engine, allowing for full text search across files and directories with advanced filtering options, sorting, and customizable result formats.

一切搜索 MCP 服务器

MCP 服务器提供与 Everything Search Engine 的集成,通过模型上下文协议实现强大的文件搜索功能。

特征

  • 跨文件和目录的全文搜索
  • 高级搜索选项:
    • 区分大小写的搜索
    • 全词匹配
    • 正则表达式
    • 路径搜索
  • 排序选项:
    • 按名称
    • 按路径
    • 按尺寸
    • 按修改日期
  • 结果格式:
    • 人类可读的文件大小
    • 格式化日期
    • 完整文件路径

先决条件

  • Node.js 16 或更高版本
  • 启用 HTTP 服务器的 Everything 搜索引擎

一切搜索配置

  1. 打开所有搜索
  2. 转至工具 > 选项 > HTTP 服务器
  3. 启用 HTTP 服务器
  4. 将 HTTP 服务器端口设置为 8011(这是此 MCP 服务器使用的默认端口)
  5. 单击“确定”保存更改

注意:如果需要使用其他端口,则需要修改src/server.ts中连接到http://127.0.0.1:8011/端口

安装

npm install npm run build

用法

服务器通过 MCP 提供单一工具:

use_mcp_tool: - server_name: everything-search - tool_name: search - arguments: { "query": "search string", // Required: Text to search for "scope": "C:", // Optional: Search scope (default: C:) "caseSensitive": false, // Optional: Match case "wholeWord": false, // Optional: Match whole words only "regex": false, // Optional: Use regular expressions "path": false, // Optional: Search in paths "maxResults": 100, // Optional: Max results (1-1000, default: 100) "sortBy": "name", // Optional: Sort by name/path/size/date_modified "ascending": true // Optional: Sort direction }

示例搜索

  1. 基本文件搜索:
{ "query": "*.txt", "maxResults": 5 }
  1. 带有过滤器的高级搜索:
{ "query": "test", "scope": "C:\\Users", "caseSensitive": true, "wholeWord": true, "maxResults": 10, "sortBy": "date_modified", "ascending": false }
  1. 正则表达式在路径中搜索:
{ "query": ".*\\.js$", "regex": true, "path": true, "maxResults": 5 }

执照

国际学习中心

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Tools

提供与 Everything Search Engine 的集成,通过模型上下文协议实现强大的文件搜索功能,并提供正则表达式、区分大小写和排序等高级搜索选项。

  1. Features
    1. Prerequisites
      1. Everything Search Configuration
    2. Installation
      1. Usage
        1. Example Searches
          1. License
            ID: 55en8eb40c