Basic information
About MCP Server - File Search Tool 🗂️
A Model Context Protocol (MCP) server for searching file content with regex across various file types
MCP Server - File Search Tool 🗂️ is a MCP server in the Search category listed in the AddMCP.net directory, published by RJTPP. Supported transport: stdio. Runtime: python. License: MIT license. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: file-search, llm, mcp, mcp-server, regex.
Setup
{
"mcpServers": {
"mcp-server-file-search-tool": {
"command": "uv",
"args": [
"sync"
]
}
}
}
{
"mcpServers": {
"mcp-server-file-search-tool": {
"command": "uv",
"args": [
"sync"
]
}
}
}
{
"servers": {
"mcp-server-file-search-tool": {
"command": "uv",
"args": [
"sync"
]
}
}
}
MCP Server - File Search Tool 🗂️ config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-file-search-tool": {
"command": "uv",
"args": [
"sync"
]
}
}
}
MCP Server - File Search Tool 🗂️ tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server - File Search Tool 🗂️?
An MCP (Model Context Protocol) server that provides powerful file system search and inspection capabilities via the MCP protocol. It allows users to list directories, search file names, read file contents (including PDF and DOCX), and perform regex‑based content searches with context. Designed for local, personal use.
How to use MCP Server - File Search Tool 🗂️?
After installing Python 3.10+ and uv, clone the repository, run uv sync to install dependencies, then start the server with uv run server.py (default port 6277). Configuration is done via config.json, where ALLOWED_PATHS is required. Can be integrated into Claude Desktop using the mcp install command or by manually editing claude_desktop_config.json.
Key features of MCP Server - File Search Tool 🗂️
- List file paths: Breadth‑first or depth‑first listing with paging and nested‑level control.
- Search file names: Regex‑based file name search.
- Read files: Read text, PDF, and DOCX files with optional character limits.
- Search file contents: Regex‑based content search with configurable context lines.
- Allowed paths: Restrict server to only browse within configured directories.
- Exclude paths: Prevent sensitive directories from being accessed.
- Hide hidden files: Optionally ignore files and directories beginning with a dot.
- Path masking: Replace configured path segments with tokens for privacy.
MCP Server - File Search Tool 🗂️ tools
What are the runtime requirements?
Python 3.10 or higher and the uv package manager are required.
Does the server support authentication or encryption?
No. The README explicitly warns that it does not implement authentication or encryption and is designed for local, personal use only.
How do I restrict which directories the server can access?
Set the required ALLOWED_PATHS in config.json. Optionally, set EXCLUDE_PATHS to block specific directories, even if inside allowed paths.
What file formats can the server read?
It can read plain text files, PDF files, and DOCX files.
Can I hide hidden files (dot‑prefix)?
Yes. Set HIDE_HIDDEN_FILES to true in the configuration to ignore files and directories starting with ..
Use cases of MCP Server - File Search Tool 🗂️
- Quickly locate files by name or content within allowed project directories.
- Inspect text, PDF, and DOCX documents from an MCP‑compatible client.
- Perform regex‑based code or log searches with surrounding context lines.
- Enable AI assistants to retrieve files only from approved, sandboxed folders.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In