Skip to main content
Glama

Desktop Commander MCP Server

search_files

Searches for files and directories recursively using a pattern, matching partial names case-insensitively. Returns full paths to items found within allowed directories, helping locate files without knowing their exact location.

Instructions

Recursively search for files and directories matching a pattern. Searches through all subdirectories from the starting path. The search is case-insensitive and matches partial names. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.

Input Schema

NameRequiredDescriptionDefault
excludePatternsNo
pathYes
patternYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "excludePatterns": { "default": [], "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "pattern": { "type": "string" } }, "required": [ "path", "pattern" ], "type": "object" }

Other Tools from Desktop Commander MCP Server

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/Nexus-Digital-Automations/mcp-filesystem-updated'

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