Skip to main content
Glama

MCP Filesystem Server

MIT License
35
7
  • Linux
  • Apple

search_files

Search recursively for files and directories by pattern within allowed paths. Case-insensitive and matches partial names, returning full paths to results. Useful for locating files when exact locations are unknown.

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" }

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