A specialized Model Context Protocol (MCP) server for full-text search within a filesystem.
Overview
What is File Search MCP?
File Search MCP is a specialized Model Context Protocol (MCP) server designed for full-text search within a filesystem, built using Rust. It leverages the Tantivy search engine to efficiently index and search text content in specified directories.
How to use File Search MCP?
To use File Search MCP, first install the Rust SDK, clone the repository from GitHub, and configure your MCP settings to point to the executable. You can then perform searches and read file contents using the provided tools.
Key features of File Search MCP?
- Full-text search capabilities across text files in a directory.
- File content reader to display specific text file contents.
- Smart detection of text files, automatically skipping binary files.
- Integration with systems supporting the Model Context Protocol (MCP).
- In-memory indexing for fast search operations.
- Score-based results that rank search hits by relevance.
Use cases of File Search MCP?
- Searching for keywords in large collections of text documents.
- Quickly accessing and reading the content of specific text files.
- Integrating with AI assistants that utilize the Model Context Protocol for enhanced search functionalities.
FAQ from File Search MCP?
- What programming language is File Search MCP built with?
File Search MCP is built using Rust for performance and safety.
- Can it search binary files?
No, File Search MCP automatically skips binary files and focuses on text files only.
- Is there a license for this project?
Yes, File Search MCP is distributed under the MIT License.