Back to Home
lokesh-reddy-afb icon

mcp-server

by lokesh-reddy-afb

Overview

Provides tools to search files and directories using regular expressions, returning matched lines and line numbers.

Installation

Run Command
node server.js

Security Notes

Critical vulnerabilities identified: User-supplied regex patterns are used directly to construct `new RegExp()`, leading to potential Regular Expression Denial of Service (ReDoS) attacks. User-supplied file and directory paths are used with `fs.readFileSync` and `fs.readdirSync`, which, despite using `path.resolve`, could potentially lead to arbitrary file disclosure or traversal if not properly sandboxed or if the process has elevated permissions to sensitive areas.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens7500
Stars0
Forks0
Last Update2026-01-19

Tags

regexfile systemsearchdevelopment toolMCP