Logo Everything MCP Server

Everything MCP Server

Cộng đồng
Josephur

MCP for Claude Code that allows it to use the HTTP plugin for Everything to search your file system

Nhà phát hànhJosephur
Kho mãeverything-mcp
Ngôn ngữJavaScript
Bản fork
5
Sao
43
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Everything MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    43 sao và 5 bản fork từ kho mã được liên kết.

Everything MCP Server

An MCP (Model Context Protocol) server that gives AI assistants like Claude Code instant file search capabilities via Everything by voidtools.

Everything is a lightning-fast file search engine for Windows that indexes all files and folders on NTFS drives. This MCP server exposes Everything's search as a tool that AI assistants can call, enabling them to find files across your system in milliseconds.

Screenshot

Prerequisites

  • Windows with Everything installed and running
  • Everything HTTP Server enabled (Everything > Tools > Options > HTTP Server > Enable HTTP Server)
  • Node.js 18+

Installation

bash
git clone https://github.com/Josephur/everything-mcp.git
cd everything-mcp
npm install
npm run build

Configuration

Claude Code

Run this command from the cloned repository directory:

bash
claude mcp add --scope user everything-search -- node /path/to/everything-mcp/dist/index.js

This registers the MCP server globally so it's available in every Claude Code project. Replace /path/to/everything-mcp with the actual path where you cloned the repo.

Scope options:

  • --scope user — available in all projects (recommended)
  • --scope project — only available in the current project

To verify it was added:

bash
claude mcp list

To remove it later:

bash
claude mcp remove --scope user everything-search

CLAUDE.md Instructions

The claude mcp add command doesn't support an instructions field. To teach Claude how to prioritize this tool, add the following to your global ~/.claude/CLAUDE.md file (create it if it doesn't exist), make sure to change the port number to the port number your Everything HTTP Plugin is listening on:

markdown
## Everything Search (MCP Tool)

This machine has **Everything (voidtools)** running with an HTTP server on port 54321.
The `everything_search` MCP tool is available in every session.

### MANDATORY: Use Everything FIRST
**ALWAYS attempt `everything_search` FIRST for ANY file search** — whether by name,
path, extension, size, date, or content (`content:` prefix). This applies to every
search task, including content searches within a project. Do NOT default to Grep,
Glob, or Bash for initial searches.

### Fallback to other tools (ONLY after Everything fails or is insufficient)
If Everything returns an error (e.g. connection refused), returns no results, or
the query requires features Everything doesn't support, THEN fall back to:
- **Grep** — for complex regex content searches, or if Everything's `content:` returns nothing
- **Glob** — for precise relative-path pattern matching within the current project
- **Bash `find`** — for searches involving file permissions, symlinks, or other attributes Everything doesn't index

**Always try Everything first. Only fall back if it fails or returns insufficient results.**

### Search syntax quick reference
- `ext:py` — find by extension (multiple: `ext:ts;js`)
- `path:src\components` — match against full path
- `count:10` — limit number of results to 10
- `*.config.*` — wildcards
- `size:>10mb` — size filter
- `dm:today` / `dm:thisweek` — date modified filter
- `content:keyword` — search inside file contents
- `parent:node_modules package.json` — match parent folder
- `foo bar` — AND, `foo | bar` — OR, `!foo` — NOT
- `"exact phrase"` — literal match

This ensures Claude always prioritizes Everything over built-in search tools.

Environment Variables

VariableDefaultDescription
EVERYTHING_HOSTlocalhostEverything HTTP server hostname
EVERYTHING_PORT54321Everything HTTP server port
EVERYTHING_MAX_RESULTS255Max results per query — see Result Limit
PROJECT_PATH(none)Default project path for auto-scoping searches

Set the port to match your Everything HTTP server configuration (Everything > Tools > Options > HTTP Server).

Result Limit

To keep token usage under control, the server caps the maximum number of results returned per query to 255 by default. The AI can still request fewer results via the count parameter, but it can never exceed this cap.

If you need more results per query, increase the limit by setting EVERYTHING_MAX_RESULTS when adding the server:

bash
claude mcp add --scope user everything-search -e EVERYTHING_MAX_RESULTS=500 -- node /path/to/everything-mcp/dist/index.js

Higher values return more results but consume more tokens per search. For most use cases, the default of 255 is a good balance. If you find searches are missing results, try increasing it. If you want to reduce token usage further, lower it (e.g. "100").

How It Works

The server communicates with Everything's built-in HTTP server, which returns JSON search results. The flow is:

Claude Code  -->  MCP Server (stdio)  -->  Everything HTTP Server  -->  Everything Index
                  (this project)           (port 54321)                 (NTFS volumes)
  1. Claude Code calls the everything_search tool via MCP (stdio transport)
  2. This server translates the request into an HTTP query to Everything's HTTP API
  3. Everything searches its pre-built index and returns results as JSON
  4. The server formats the results (paths, sizes, dates) and returns them to Claude

Project Scoping

By default, searches are automatically scoped to the current project folder using the project_path parameter. This prevents the AI from inadvertently searching or accessing files outside your project.

  • Default behavior: The server prepends path:"<project_path>" to queries automatically
  • Global search: Set global: true to search the entire system. The server will include a warning in the response reminding the AI to ask for user permission before accessing files outside the project
  • Explicit path: If your query already contains a path: filter, auto-scoping is skipped

Tool: everything_search

Parameters

ParameterTypeDefaultDescription
querystring(required)Everything search query
countnumber50Max results to return (max 255, configurable via EVERYTHING_MAX_RESULTS env var)
offsetnumber0Result offset for pagination
sortstring"name"Sort by: name, path, size, date_modified
ascendingbooleantrueSort direction
regexbooleanfalseEnable regex search mode
case_sensitivebooleanfalseCase-sensitive matching
whole_wordbooleanfalseMatch whole words only
match_pathbooleanfalseMatch against full path instead of filename
globalbooleanfalseSearch entire system (requires user confirmation)
project_pathstring(none)Project folder path for auto-scoping

Search Syntax

Everything uses its own search syntax:

SyntaxDescriptionExample
ext:Filter by extensionext:py, ext:ts;js
path:Match against full pathpath:src\components
size:Filter by file sizesize:>10mb, size:1kb..100kb
dm:Date modified filterdm:today, dm:thisweek
dc:Date created filterdc:thismonth
content:Search file contentscontent:TODO (requires content indexing)
parent:Match parent folderparent:node_modules package.json
* ?Wildcards*.config.*
" "Exact phrase"my file.txt"
(space)ANDfoo bar
|ORfoo | bar
!NOT!node_modules

Example Queries

ext:py                          # All Python files
ext:ts path:src                 # TypeScript files under any src/ folder
size:>100mb                     # Files larger than 100MB
dm:today ext:js                 # JavaScript files modified today
content:TODO ext:py             # Python files containing "TODO"
*.config.* !node_modules        # Config files, excluding node_modules

Example: Global CLAUDE.md Instructions

To teach Claude Code how to use this tool effectively, add something like this to your ~/.claude/CLAUDE.md: (make sure to change the port number to the port number your Everything HTTP Plugin is listening on)

markdown
## Everything Search (MCP Tool)

This machine has **Everything (voidtools)** running with an HTTP server on port 54321.
The `everything_search` MCP tool is available in every session.

### MANDATORY: Use Everything FIRST
**ALWAYS attempt `everything_search` FIRST for ANY file search** — whether by name,
path, extension, size, date, or content (`content:` prefix). This applies to every
search task, including content searches within a project. Do NOT default to Grep,
Glob, or Bash for initial searches.

### Fallback to other tools (ONLY after Everything fails or is insufficient)
If Everything returns an error (e.g. connection refused), returns no results, or
the query requires features Everything doesn't support, THEN fall back to:
- **Grep** — for complex regex content searches, or if Everything's `content:` returns nothing
- **Glob** — for precise relative-path pattern matching within the current project
- **Bash `find`** — for searches involving file permissions, symlinks, or other attributes Everything doesn't index

**Always try Everything first. Only fall back if it fails or returns insufficient results.**

### Search syntax quick reference
- `ext:py` — find by extension (multiple: `ext:ts;js`)
- `path:src\components` — match against full path
- `count:10` — limit number of results to 10
- `*.config.*` — wildcards
- `size:>10mb` — size filter
- `dm:today` / `dm:thisweek` — date modified filter
- `content:keyword` — search inside file contents
- `parent:node_modules package.json` — match parent folder
- `foo bar` — AND, `foo | bar` — OR, `!foo` — NOT
- `"exact phrase"` — literal match

Development

bash
# Build
npm run build

# Run directly
npm start

# Watch mode (requires installing a file watcher)
npx tsc --watch

Project Structure

src/
  index.ts        # MCP server setup and tool handler
  everything.ts   # Everything HTTP API client
  types.ts        # TypeScript interfaces

Cài đặt

TypingMind
{
  "mcpServers": {
    "everything-mcp": {
      "command": "node",
      "args": [
        "dist/index.js"
      ],
      "env": {
        "EVERYTHING_HOST": "<EVERYTHING_HOST>",
        "EVERYTHING_PORT": "<EVERYTHING_PORT>"
      }
    }
  }
}

Dùng MCP Everything MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Everything MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Everything MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Everything MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "everything-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "everything-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Everything MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Everything MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Everything MCP Server giúp tôi làm việc này không?
Everything MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Everything MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Everything MCP Server dùng để làm gì?

Everything MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Everything MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Everything MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Everything MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Everything MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Everything MCP Server với TypingMind?

Everything MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Everything MCP Server cung cấp những công cụ nào trong TypingMind?

Everything MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Everything MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Everything MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇