Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

search_files

Search for specific content within files using text or regex patterns, filtering by file extensions and limiting results for precise directory analysis and file management.

Instructions

Search for content within files using regex or text matching

Input Schema

NameRequiredDescriptionDefault
file_typesNoFile extensions to search in
is_regexNoWhether the query is a regex pattern
max_resultsNoMaximum number of results to return
queryYesSearch query (text or regex pattern)

Input Schema (JSON Schema)

{ "properties": { "file_types": { "description": "File extensions to search in", "items": { "type": "string" }, "type": "array" }, "is_regex": { "default": false, "description": "Whether the query is a regex pattern", "type": "boolean" }, "max_results": { "default": 50, "description": "Maximum number of results to return", "type": "number" }, "query": { "description": "Search query (text or regex pattern)", "type": "string" } }, "required": [ "query" ], "type": "object" }

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/PWalaGov/File-Control-MCP'

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