Skip to main content
Glama

MCP Filesystem Server

MIT License
42
  • Apple
  • Linux

find_large_files

Identify oversized files in specified directories by setting size thresholds, search depth, and result limits. Output in text or JSON format. Use exclusion patterns to refine searches on the MCP Filesystem Server.

Instructions

Find files larger than the specified size.

Args: path: Starting directory min_size_mb: Minimum file size in megabytes recursive: Whether to search subdirectories max_results: Maximum number of results to return exclude_patterns: Optional patterns to exclude format: Output format ('text' or 'json') ctx: MCP context Returns: Large file information

Input Schema

NameRequiredDescriptionDefault
exclude_patternsNo
formatNotext
max_resultsNo
min_size_mbNo
pathYes
recursiveNo

Input Schema (JSON Schema)

{ "properties": { "exclude_patterns": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Exclude Patterns" }, "format": { "default": "text", "title": "Format", "type": "string" }, "max_results": { "default": 100, "title": "Max Results", "type": "integer" }, "min_size_mb": { "default": 100, "title": "Min Size Mb", "type": "number" }, "path": { "title": "Path", "type": "string" }, "recursive": { "default": true, "title": "Recursive", "type": "boolean" } }, "required": [ "path" ], "title": "find_large_filesArguments", "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/safurrier/mcp-filesystem'

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