mcp-server-reposearch logo

mcp-server-reposearch

by happyZYM

This is an mcp server that provides better content search functionality than Cline's built-in `search_files` tool. It offers enhanced features and control over the search process.

View on GitHub

Last updated: N/A

What is mcp-server-reposearch?

This is an mcp server designed to improve upon the content search capabilities of Cline's default search_files tool. It offers more control and features for searching within repositories.

How to use mcp-server-reposearch?

To use this server, you need to configure Cline to stop using its built-in search_files tool and point it to this mcp server. Further instructions on configuration and usage are likely available in the full documentation or codebase.

Key features of mcp-server-reposearch

  • Filtering control via .reposearchignore files using gitignore format

  • Regular expression search support

  • Output format control (include/exclude content in results)

  • Token explosion prevention

Use cases of mcp-server-reposearch

  • Searching for specific code snippets within a large codebase

  • Identifying files containing sensitive information or secrets

  • Finding all occurrences of a particular function or variable name

  • Quickly locating relevant files based on complex search patterns

FAQ from mcp-server-reposearch

How does it compare to Cline's built-in search?

It offers more features and control, such as regex support and gitignore-style filtering.

What is .reposearchignore?

It's a file, similar to .gitignore, that allows you to exclude certain files or directories from the search.

Does it support searching within binary files?

The README doesn't explicitly mention binary file support. Further investigation is needed.

How do I configure Cline to use this server?

The README mentions that you need to tell Cline to stop using its built-in search_files. Check Cline's documentation for specific configuration instructions.

Is it actively maintained?

The README doesn't provide information about the project's maintenance status. Check the repository's commit history for recent activity.