Grep
by247arjun
0Provides powerful text search capabilities by wrapping the `grep` command-line utility as an MCP server.
概要
Grep is an MCP (Model Context Protocol) server designed to bring the robust text searching capabilities of the `grep` command-line utility into an AI agent's toolkit. It allows users to search for patterns in files and directories using both natural language descriptions and direct regex patterns, making complex searches accessible and efficient. The server emphasizes security with safe command execution and thorough input validation, ensuring reliable and secure operation within an AI-driven environment.
主な機能
- Natural Language Search with automatic regex conversion and built-in patterns
- Comprehensive Search Options like case-sensitivity, whole word matching, and context line display
- Robust Security Measures including safe command execution and input validation
- Advanced Search Capabilities supporting direct regex, recursive directory searching, and file filtering
- Dedicated tools for counting matches and listing files containing patterns
- 0 GitHub stars
ユースケース
- Searching for email addresses or specific data types across project files using plain English.
- Identifying and counting occurrences of code patterns like function definitions or TODO comments.
- Listing files that contain particular import statements or error messages within a codebase.