Skip to main content
Glama

MCP Filesystem Server

by A-Niranjan

search_files

Search recursively for files and directories within allowed paths in the MCP Filesystem Server. Match partial names case-insensitively and specify exclusions to filter results. Ideal for locating 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
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/A-Niranjan/mcp-filesystem'

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