Skip to main content
Glama

Filesystem MCP Server

Official
MIT License
167,069
65,754
  • Linux
  • Apple

search_files

Recursively search for files and directories matching a pattern from a specified starting path. Returns full paths to matches, supporting case-insensitive and partial name searches. Ideal for locating files in allowed directories across subdirectories.

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 Filesystem 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/modelcontextprotocol/filesystem'

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