mcp-server-regex
Verified Safeby atharvm90
Overview
Provides a Model Context Protocol (MCP) server that enables regex pattern searching across files in specified directories.
Installation
python3.11 server.pySecurity Notes
The server handles user-provided regex patterns, which introduces a potential Regex Denial of Service (ReDoS) vulnerability if a malicious or complex pattern is provided. It also performs file system traversal and reads file contents, which could lead to resource exhaustion if used on extremely large directories or files without proper limits, though the `max_depth` parameter helps mitigate this. File read errors and permission issues are handled gracefully, preventing crashes. No direct 'eval' or other obvious arbitrary code execution vulnerabilities were found.
Similar Servers
enhanced-filesystem-mcp
Provides enhanced filesystem access to an MCP client with named path aliases and fuzzy search capabilities.
eofmcp
Provides a Model Context Protocol (MCP) server with a Source Code Handler tool for remote management and processing of source code, primarily for integration with AI agents.
mcp-server
Provides tools to search files and directories using regular expressions, returning matched lines and line numbers.
mcp-search-server
A Model Context Protocol (MCP) server providing a `search_file` tool for efficient keyword and regex searching within files, designed to integrate with AI clients like Cursor and Claude Desktop.