mcp-grep

mcp-grep

2

MCP-Grep is a server implementation that offers grep-like search capabilities through the Model Context Protocol (MCP). It enables users to perform complex search queries with features such as regex support, case-insensitivity, and natural language prompts. With integration options like the MCP Inspector, it facilitates interactive testing and debugging.

MCP-Grep

A grep server implementation that provides grep functionality through the Model Context Protocol (MCP).

Features

  • Provides information about the system grep binary including path, version, and supported features.
  • Allows searching for patterns in files using regular expressions and other grep options.
  • Supports case-insensitive matching, context lines, recursive directory searching, and fixed string matching.
  • Understands natural language prompts, enhancing usability with LLMs.
  • Interactive debugging and testing via MCP Inspector.

Usage

MCP-Grep runs as a server and can be utilized by MCP-compatible clients. It supports starting the server and using the MCP Inspector for debugging and testing.

Installation

  • Install automatically via Smithery or manually with pip.