Skip to main content
Glama

MCP Filesystem Server

MIT License
42
  • Apple
  • Linux

find_duplicate_files

Identify duplicate files by analyzing file sizes and content within a specified directory, with options to search subdirectories, exclude patterns, and set output formats for efficient file management.

Instructions

Find duplicate files by comparing file sizes and contents.

Args: path: Starting directory recursive: Whether to search subdirectories min_size: Minimum file size to consider (bytes) exclude_patterns: Optional patterns to exclude max_files: Maximum number of files to scan format: Output format ('text' or 'json') ctx: MCP context Returns: Duplicate file information

Input Schema

NameRequiredDescriptionDefault
exclude_patternsNo
formatNotext
max_filesNo
min_sizeNo
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_files": { "default": 1000, "title": "Max Files", "type": "integer" }, "min_size": { "default": 1, "title": "Min Size", "type": "integer" }, "path": { "title": "Path", "type": "string" }, "recursive": { "default": true, "title": "Recursive", "type": "boolean" } }, "required": [ "path" ], "title": "find_duplicate_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