Skip to main content
Glama

search_files

Find files by name or extension using wildcard patterns. Recursively search directories to locate matching files and return their paths.

Instructions

Recursively search for files matching a pattern in a directory. Supports wildcards (* and **) and returns matching file paths. Useful for finding files by name or extension.

Input Schema

NameRequiredDescriptionDefault
pathYesThe directory to search in
patternYesThe pattern to match (e.g., '*.ts', '**/*.json')

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "The directory to search in", "type": "string" }, "pattern": { "description": "The pattern to match (e.g., '*.ts', '**/*.json')", "type": "string" } }, "required": [ "path", "pattern" ], "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/koopatroopa787/first_mcp'

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