MCP Catalogs
Home

LocalFilesOrganizer-MCP

by TobiasArg·1·Score 36

MCP server with tools to safely organize, read, write, and analyze local files with built-in protections.

file-systemproductivitydeveloper-tools
0
Forks
0
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

LocalFilesOrganizer-MCP is a comprehensive MCP server for managing local file systems. It provides a robust set of tools for reading and writing files (with UTF-8 and base64 support), directory operations, content searching with regex patterns, duplicate detection via MD5 hash comparison, and file analysis capabilities. The server emphasizes safety with configurable allowed paths, protected paths, and regex patterns to prevent accidental deletion of important files. It's cross-platform compatible and includes built-in protections for system directories and sensitive files like .git, .env, and .ssh directories.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Organize project files by extension or date for better workspace management
you:Search through codebases for specific patterns or content
you:Clean up duplicate files to save storage space
you:What safety protections does this server provide?
you:Can I use this server for batch operations on files?

When to choose this

Choose this server when you need a dedicated MCP interface for safe local file operations with specific organizational needs and security constraints.

When NOT to choose this

Avoid this if you need broader file system access outside the allowed paths, or require more advanced metadata or content analysis capabilities not provided here.

Tools this server exposes

12 tools extracted from the README
  • read_file

    Read file contents (UTF-8 or base64)

  • write_file

    Write content to file (UTF-8 or base64)

  • delete_file

    Safely delete a file with protection checks

  • move_file

    Move file with optional empty directory cleanup

  • analyze_file

    Get file stats (size, MIME, lines, words)

  • list_directory

    List files with optional recursion and glob patterns

  • delete_directory

    Safely delete directory (requires confirmation for recursive)

  • organize_by_type

    Organize files into folders by extension/date/size

  • search_content

    Search for regex patterns in file contents

  • find_duplicates

    Find duplicate files by MD5 hash

  • sort_file_content

    Sort lines in a file

  • rename_files

    Batch rename files using regex patterns

Comparable tools

filesystem-mcpfile-explorer-mcpshell-mcp

Installation

Installation

Using NPX (Recommended)

Add to your Claude Desktop configuration file:

**macOS**: ~/Library/Application Support/Claude/claude_desktop_config.json **Windows**: %APPDATA%\Claude\claude_desktop_config.json **Linux**: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "local-files": {
      "command": "npx",
      "args": ["-y", "fsorg"]
    }
  }
}

From Source

git clone https://github.com/argtobias/fsorg.git
cd fsorg
pnpm install
pnpm build

Then configure Claude Desktop to use the built server:

FAQ

What safety protections does this server provide?
The server allows you to configure allowed paths for deletion, define additional protected paths, and specify regex patterns for protected file names. System paths and critical user directories are always protected.
Can I use this server for batch operations on files?
Yes, the server includes tools for batch renaming files using regex patterns and organizing files into folders by extension, date, or size.

Compare LocalFilesOrganizer-MCP with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.