Skip to main content
Glama

filesystem-mcp

by sylphxltd

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sylphxltd/filesystem-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server