File Organizer MCP logo

File Organizer MCP

Organizes, analyzes, renames, deduplicates, and safely manages files through MCP tools.

Install File Organizer MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "file-organizer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "file-organizer-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y file-organizer-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

file-organizer-mcp gives Claude-style assistants structured tools for scanning, categorizing, renaming, organizing, and analyzing local files. Its single-operation organization workflow supports previews, validation, atomic moves, rollback, quarantine, and duplicate detection instead of requiring many primitive filesystem calls. It also provides metadata extraction, category-level disk usage, history search, directory watching, and scheduled organization on Windows, macOS, and Linux. Reach for it when an agent needs repeatable file cleanup with safeguards against path traversal, collisions, and partial operations.

Use cases

  • Organize a Downloads folder by file type
  • Find and review duplicate files
  • Preview and undo a batch rename
  • Quarantine suspicious files without deleting them
  • Track disk usage by category

Key features

  • Atomic organization with dry-run and rollback
  • SHA-256 duplicate detection
  • EXIF and ID3 metadata extraction
  • Directory watching and cron scheduling
  • Reversible file quarantine
  • Path validation and sensitive-file checks

Tools8

What File Organizer MCP lets your agent do. Expand a tool for its parameters.

Self-reported~385 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · file-organizer-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars46Stargazers on the source repository.
npm downloads1kPackage downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed8Callable tools this server registers over MCP.

How File Organizer MCP works

What file-organizer-mcp does

file-organizer-mcp exposes a filesystem organization workflow through MCP. It can inspect directories, read files, rename batches, classify files into 12 or more categories, organize content by type, date, project, photos, or music, and identify duplicate, empty, old, or unusually large files. The tool set also supports disk-usage analysis, metadata inspection, broken-symlink checks, integrity verification, and generated health reports.

Organization operations are designed to group planning and file changes into a single request. Date-based sorting can use a photo’s EXIF capture date or the file modification time, and the result reports which date source was used. Duplicate analysis uses SHA-256 content hashes. Photo EXIF and audio ID3 metadata can be extracted where applicable.

How it works

The server validates paths before performing filesystem operations and includes protections for path traversal and time-of-check/time-of-use issues. Before an organization run, its plan validation can check for naming conflicts, occupied destinations, cross-device moves, and files blocked by the sensitive-file gate.

Organization supports a dry-run preview, atomic moves, and rollback. Previous operations are recorded in manifests and can be inspected through history tools or reversed with the undo operation. Undo can target a returned manifest ID; a cascade option walks back later passes first when several operations depend on one another.

Quarantine provides a reversible alternative to deletion. Files are moved into a hidden quarantine directory inside the selected directory by default, or into another validated directory. Quarantine runs are dry-run by default, do not delete files, avoid same-name collisions, and can be restored to their original paths. Files listed for one batch must remain inside the chosen directory.

Automatic workflows can watch directories and organize them on a cron schedule. Watch status, directory listings, and operation history are available through separate tools.

Setup and configuration

Node.js 20 or newer is required. For a guided setup, run:

Terminal
npx file-organizer-mcp --setup

The setup wizard detects clients including Claude Desktop, Cursor, Windsurf, and Cline, then helps configure the server, select folders, and choose preferences. For repeated use, install the package globally with:

Terminal
npm install -g file-organizer-mcp

The server supports Windows, macOS, and Linux. Folder access and quarantine locations are subject to its path-validation rules.

Tools and capabilities

The server provides 42 tools, including:

  • Directory scanning, file listing, single and batch file reading, and validated renaming.
  • Organization by category, date, project, photo type, music type, or smart strategy.
  • Preview and validation before changes, plus undo, history viewing, history search, and integrity checks.
  • Duplicate discovery, duplicate analysis, duplicate-deletion previews, and duplicate deletion.
  • Quarantine and restoration for reversible file isolation.
  • Metadata inspection, category disk usage, largest-file searches, old-file searches, and empty-directory detection.
  • Directory watch management, scheduled organization, custom rules, suggestions, sensitive-file scanning, and configuration export.
  • Report export with totals, category space usage, duplicate groups, and largest files.

Limitations and notes

Organization can be rejected before execution when its validation detects collisions, occupied destinations, cross-device moves, or sensitive-file restrictions. Quarantine changes file locations rather than removing files, and its default location is derived from the directory being processed. Tool parameters and return structures are defined by the server’s API documentation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about File Organizer MCP

file-organizer-mcp is an MCP server that connects Claude-style assistants to local files and directories through tools for scanning, organizing, renaming, deduplicating, quarantining, and analyzing content. It supports previews, validation, atomic moves, rollback, metadata inspection, disk-usage reports, and operation history across Windows, macOS, and Linux.

Run `npx file-organizer-mcp --setup` to use the setup wizard. It detects clients such as Claude Desktop, Cursor, Windsurf, and Cline, then guides folder and preference configuration. Node.js 20 or newer is required; global installation is available with `npm install -g file-organizer-mcp`.

Yes, Cursor is one of the clients detected by the setup wizard. Run `npx file-organizer-mcp --setup` and follow the configuration prompts for folder selection and preferences.

Yes, `file_organizer_undo_last_operation` can reverse the most recent organization or a named pass identified by its manifest ID. A cascade option can also reverse later passes first, and quarantine operations use the same rollback path.

It moves selected files into a validated quarantine directory without deleting them. Quarantine is a dry run unless `dry_run: false` is supplied, avoids same-name collisions, and can restore files to their original paths with `file_organizer_restore_quarantine`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFile Organizer MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/file-organizer-mcp?style=directory)](https://allmcps.com/mcp/file-organizer-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/file-organizer-mcp"><img src="https://allmcps.com/api/badge/file-organizer-mcp?style=directory" alt="File Organizer MCP on AllMCPs" /></a>