MCPInstall
File Search Service logo

File Search Service

by Rami-0 Rami-0/python_mcp

Provides a robust file search service, enabling efficient querying of local directories with detailed results including file metadata and content matching.

READMEmain

Для запуска этого проекта локально:

На macOS:

curl -LsSf https://astral.sh/uv/install.sh | sh

На Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Создание виртуального окружения и установка зависимостей (опционально, но рекомендуется):

Вам может потребоваться создать виртуальное окружение и установить зависимости для проекта. Выполните следующие шаги:

  1. Перейдите в директорию проекта:

    cd /Users/rami/Desktop/file-search
    
  2. Создайте виртуальное окружение (если необходимо): Вы можете использовать venv или uv venv:

    python3 -m venv .venv
    

    или

    uv venv .venv
    
  3. Активируйте виртуальное окружение: macOS/Linux:

    source .venv/bin/activate
    

    Windows:

    .venv\Scripts\activate
    
  4. Установите зависимости проекта с помощью uv:

    uv pip install -r pyproject.toml
    

Затем добавьте сервер в файл конфигурации расширения:

"file-search": {
  "command": "uv",
  "args": [
    "--directory",
    "/Users/rami/Desktop/file-search", // Путь к файлу, где он расположен.
    "run",
    "main.py"
  ]
}

После этого сервер должен быть запущен. Попросите вашего клиента использовать инструмент по его имени - file-search - и передать параметр. Пример:

<use_mcp_tool>
  <server_name>file-search</server_name>
  <tool_name>file_search</tool_name>
  <arguments>
    {
      "query": "your_search_term"
    }
  </arguments>
</use_mcp_tool>

![Screenshot](Screenshot 2025-02-27 at 18.11.06.png)

More File Systems MCP servers

Similar servers from the same category.

Flatfile

flatfilers

Provides direct access to Flatfile's data migration platform for managing spaces, workbooks, sheets, jobs, users, and data operations without leaving your conversation context.

filesystem

Filesystem

modelcontextprotocol

Secure file operations with configurable access controls

file-operationsfile

file-convert-mcp

convertguru

A Model Context Protocol (MCP) server for converting files between different formats

FormText+4

better-finder-mcp

GitHamza0206

Replace Finder with an MCP server to search for your documents

SearchDocument+2