Skip to main content
Glama

MCP Filesystem Server

MIT License
12
7
  • Linux
  • Apple

search_files

Search for files and directories recursively by matching a pattern, starting from a specified path. Returns full paths to matches, supporting case-insensitive and partial name searches. Automatically excludes unwanted items and operates within secure directory boundaries.

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
excludePatternsNoPatterns to exclude from search results
pathYesRoot path to start searching from
patternYesPattern to match against filenames and directories

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "excludePatterns": { "default": [], "description": "Patterns to exclude from search results", "items": { "type": "string" }, "type": "array" }, "path": { "description": "Root path to start searching from", "type": "string" }, "pattern": { "description": "Pattern to match against filenames and directories", "type": "string" } }, "required": [ "path", "pattern" ], "type": "object" }
Install Server

Other Tools from MCP Filesystem 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/gabrielmaialva33/mcp-filesystem'

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