filesystem-mcp

by sylphlab
Verified

search_files

Search for specific regex patterns within files in a specified directory using a read-only glob filter. Ideal for locating text matches in file systems.

Instructions

Search for a regex pattern within files in a specified directory (read-only).

Input Schema

NameRequiredDescriptionDefault
file_patternNoGlob pattern to filter files (e.g., '*.ts'). Defaults to all files ('*').*
pathNoRelative path of the directory to search in..
regexYesThe regex pattern to search for.

Input Schema (JSON Schema)

{ "properties": { "file_pattern": { "default": "*", "description": "Glob pattern to filter files (e.g., '*.ts'). Defaults to all files ('*').", "type": "string" }, "path": { "default": ".", "description": "Relative path of the directory to search in.", "type": "string" }, "regex": { "description": "The regex pattern to search for.", "type": "string" } }, "required": [ "regex" ], "type": "object" }

You must be authenticated.

Other Tools from filesystem-mcp

Related Tools

ID: ysjzadzog3