MCP-Grep
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Exposes the system grep binary functionality through MCP, allowing for searching patterns in files using regular expressions, with support for case-insensitive matching, context lines, maximum match count, fixed string matching, and recursive directory searching.
Mentioned as part of the development workflow, but not as a primary integration target for the MCP server.
Used for implementation and client access, but not as a primary integration target for the MCP server.
MCP-Grep
A grep server implementation that exposes grep functionality through the Model Context Protocol (MCP).
Installation
Usage
MCP-Grep runs as a server that can be used by MCP-compatible clients:
The server exposes the following MCP functionality:
- Resource:
grep://info
- Returns information about the system grep binary - Tool:
grep
- Searches for patterns in files using the system grep binary
Features
- Information about the system grep binary (path, version, supported features)
- Search for patterns in files using regular expressions
- Support for common grep options:
- Case-insensitive matching
- Context lines (before and after matches)
- Maximum match count
- Fixed string matching (non-regex)
- Recursive directory searching
Example API Usage
Using the MCP Python client:
Development
License
MIT
This server cannot be installed
A server implementation that exposes grep functionality through the Model Context Protocol, allowing MCP-compatible clients to search for patterns in files using regular expressions.