File Find Mcp

by joisun

288 downloads Not rated yet

About

# File Find MCP A specialized Model Context Protocol (MCP) server for fast file search within a filesystem, built with Rust and powered by ripgrep. ## 🔍 Overview File Find MCP is a tool that provides powerful search capabilities for files in a specified directory. It uses…

Explore

- High-performance search: Uses ripgrep for extremely fast searches across directory structures
- File content reader: Read and display the content of specific text files
- Smart file detection: Automatically identifies text files and skips binary files
- MCP integration: Works with systems that support the Model Context Protocol
- Fallback mechanism: Uses pure Rust implementation when ripgrep command is not available

Before using this tool, make sure you have:

1. Rust installed - Install Rust
2. ripgrep installed - On macOS, you can install it using Homebrew:

   brew install ripgrep

Add this to your MCP settings (in Cursor, Claude, or other MCP-compatible tools):

{
  "mcpServers": {
    "file-find-mcp": {
      "command": "/path/to/your/file-find-mcp/target/release/file-find-mcp"
    }
  }
}

Replace /path/to/your/file-find-mcp with the actual path to your cloned repository.

directory

Path to the directory to search

keyword

Keyword to search for

file_path

Path to the file to read

- Description: Search for keywords in text files within a specified directory
- Parameters:
- directory: Path to the directory to search
- keyword: Keyword to search for

- Description: Read and display the content of a specific file
- Parameters:
- file_path: Path to the file to read

A specialized Model Context Protocol (MCP) server for fast file search within a filesystem, built with Rust and powered by ripgrep.

🔍 Overview

File Find MCP is a tool that provides powerful search capabilities for files in a specified directory. It uses ripgrep to perform high-performance searches through file content efficiently.

This project implements the Model Context Protocol (MCP), making it compatible with AI assistants and other systems that support the protocol.

✨ Features

- High-performance search: Uses ripgrep for extremely fast searches across directory structures
- File content reader: Read and display the content of specific text files
- Smart file detection: Automatically identifies text files and skips binary files
- MCP integration: Works with systems that support the Model Context Protocol
- Fallback mechanism: Uses pure Rust implementation when ripgrep command is not available

📋 Prerequisites

Before using this tool, make sure you have:

1. Rust installed - Install Rust
2. ripgrep installed - On macOS, you can install it using Homebrew:

   brew install ripgrep

📦 Building

To build the project:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.