MCP HubMCP Hub
happyZYM

mcp-server-reposearch

by: happyZYM

mcp server reposearch

8created 19/02/2025
Visit
search
repository

📌Overview

Purpose: To enhance content search capabilities beyond the built-in search_files tool in the Cline environment.

Overview: This framework is designed as an MCP server that offers improved content searching functionalities tailored for better efficiency and effectiveness when working with files.

Key Features:

  • File Filtering: Supports filtering through a .reposearchignore file using gitignore format, allowing users to exclude specific files or directories from search results.

  • Regex Search Support: Enables powerful and flexible search capabilities by supporting regular expression queries, making it easier to find complex patterns in content.


MCP 服务器内容搜索工具

这是一个 MCP 服务器,提供比 Cline 内置的 search_files 工具更好的内容搜索功能。

功能特性

  • 通过 .reposearchignore 文件控制过滤,使用 gitignore 格式
  • 支持正则表达式搜索
  • 输出格式控制
    • 是否在结果中包含内容
    • 包含上下文行(未实现)
  • 防止 tokens 爆炸

注意事项

  • 目前需要在系统提示中告诉 Cline 停止使用 search_files