Skip to main content
Glama

Filesystem MCP Server

by rawr-ai

find_files_by_extension

Search directories recursively to locate files by specific extension, including subdirectories. Specify path, extension, depth, and results limit. Ideal for finding XML, JSON, or other file types efficiently.

Instructions

Recursively find all files with a specific extension. Searches through all subdirectories from the starting path. Extension matching is case-insensitive. Returns full paths to all matching files. Requires maxDepth (default 2) and maxResults (default 10) parameters. Perfect for finding all XML, JSON, or other file types in a directory structure. Only searches within allowed directories.

Input Schema

NameRequiredDescriptionDefault
excludePatternsNo
extensionYesFile extension to search for (e.g., "xml", "json", "ts")
maxDepthYesMaximum directory depth to search. Must be a positive integer. Handler default: 2.
maxResultsYesMaximum number of results to return. Must be a positive integer. Handler default: 10.
pathYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "excludePatterns": { "default": [], "items": { "type": "string" }, "type": "array" }, "extension": { "description": "File extension to search for (e.g., \"xml\", \"json\", \"ts\")", "type": "string" }, "maxDepth": { "description": "Maximum directory depth to search. Must be a positive integer. Handler default: 2.", "exclusiveMinimum": 0, "type": "integer" }, "maxResults": { "description": "Maximum number of results to return. Must be a positive integer. Handler default: 10.", "exclusiveMinimum": 0, "type": "integer" }, "path": { "type": "string" } }, "required": [ "path", "extension", "maxDepth", "maxResults" ], "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/rawr-ai/mcp-filesystem'

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