# ellmos-ai/ellmos-filecommander-mcp [Health: Active]

**Category:** 📂 File Systems  
**Repository:** https://github.com/ellmos-ai/ellmos-filecommander-mcp  
**GitHub Stars:** 6  
**npm Downloads (last month):** 1159  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ellmos-ai-ellmos-filecommander-mcp

## Description
Comprehensive local filesystem MCP server with file management, process control, interactive sessions, async search, and safe delete via Recycle Bin.

## Tools
Capabilities this server exposes over MCP:

- **fc_read_file** — Reads the content of a file.

Args:
  - path (string): Full path to the file
  - encoding (string, optional): Character encoding (default: utf-8)
  - max_lines (number, optional): Maximum number of lines (0 = all)

Returns:
  - File content as text
  - For binary files: Base64-encoded content

Examples:
  - path: "C:\Users\User\test.txt"
  - path: "/home/user/config.json"
- **fc_write_file** — Writes content to a file. Creates the file if it does not exist.

Args:
  - path (string): Full path to the file
  - content (string): Content to write
  - append (boolean, optional): Append to file instead of overwriting
  - create_dirs (boolean, optional): Create missing directories

Returns:
  - Confirmation with file size

Warning: Overwrites existing files without warning when append=false!
- **fc_list_directory** — Lists files and subdirectories.

Args:
  - path (string): Path to the directory
  - depth (number, optional): Maximum depth for recursive listing (default: 1)
  - show_hidden (boolean, optional): Show hidden files

Returns:
  - Formatted list of all entries with icons
- **fc_create_directory** — Creates a new directory (including parent directories).

Args:
  - path (string): Path to the new directory

Returns:
  - Confirmation of creation
- **fc_delete_file** — Deletes a file.

Args:
  - path (string): Path to the file

Warning: Irreversible! No recycle bin.
- **fc_delete_directory** — Deletes a directory.

Args:
  - path (string): Path to the directory
  - recursive (boolean): Delete non-empty directories too

Warning: With recursive=true ALL contents are irreversibly deleted!
- **fc_move** — Moves or renames a file/directory.

Args:
  - source (string): Source path
  - destination (string): Destination path

Examples:
  - Rename: source="test.txt", destination="test_new.txt"
  - Move: source="C:\a\test.txt", destination="C:\b\test.txt"
- **fc_copy** — Copies a file or directory.

Args:
  - source (string): Source path
  - destination (string): Destination path
  - recursive (boolean): Copy directories recursively
- **fc_file_info** — Shows detailed information about a file/directory.

Args:
  - path (string): Path to the file/directory

Returns:
  - Size, type, creation/modification date, permissions
- **fc_search_files** — Searches files by name/pattern in a directory.

Args:
  - directory (string): Start directory for the search
  - pattern (string): Search pattern (supports * and ? wildcards)
  - max_results (number, optional): Maximum results (default: 50)

Examples:
  - pattern: "*.txt" - All text files
  - pattern: "test*" - Files starting with "test"
  - pattern: "*.py" - All Python files
- **fc_search_content** — Durchsucht ausschließlich explizit übergebene Dateien nach Text. Standardmäßig literal, optional mit regulärem Ausdruck; deterministische begrenzte JSON-Ausgabe, dateibezogene Teilfehler, Binärdatei-Skip, Kontextzeilen und Geheimnis-Redaktion. Keine Glob-Auflösung und keine Verzeichnisrekursion.
- **fc_start_search** — Starts a background search. Claude can perform other tasks in the meantime.

Args:
  - directory (string): Start directory
  - pattern (string): Search pattern (wildcards: * and ?)

Returns:
  - Search ID for fc_get_search_results, fc_stop_search

Example:
  Start search: fc_start_search("C:\Users", "*.pdf")
  Get results later: fc_get_search_results(search_id)
- **fc_get_search_results** — Retrieves results of a running or completed search.

Args:
  - search_id (string): Search ID from fc_start_search
  - offset (number, optional): Start offset for pagination
  - limit (number, optional): Maximum number of results (default: 50)

Returns:
  - Search status and found files
- **fc_stop_search** — Stops a running background search.

Args:
  - search_id (string): Search ID
- **fc_list_searches** — Lists all active and completed background searches.
- **fc_clear_search** — Removes a completed search from the list and frees memory.

Args:
  - search_id (string): Search ID (or "all" for all completed)
- **fc_safe_delete** — Moves files/directories to recycle bin instead of deleting them.

Args:
  - path (string): Path to the file/directory

SAFE: Can be restored from the recycle bin!

Note: Uses Windows recycle bin or creates backup on other systems.
- **fc_execute_command** — Executes a shell command and returns the output.

Args:
  - command (string): Command to execute
  - cwd (string, optional): Working directory
  - timeout (number, optional): Timeout in milliseconds (default: 30000)

Warning: Commands are executed with user privileges!

Examples:
  - command: "dir" (Windows)
  - command: "ls -la" (Unix)
  - command: "python --version"
- **fc_start_process** — Starts a process in the background (non-blocking).

Args:
  - program (string): Program/Executable
  - args (array, optional): Arguments as array
  - cwd (string, optional): Working directory

Examples:
  - program: "notepad.exe", args: ["test.txt"]
  - program: "python", args: ["script.py"]
  - program: "code", args: ["."] (open VS Code)
- **fc_open_path** — Startet für eine vorhandene lokale Datei oder einen Ordner die Standardanwendung. Die strukturierte Rückgabe trennt launcher_accepted von user_visible=unknown und nennt einen Remote-Fallback.
- **fc_preview_file** — Liefert zuerst MIME-Typ, Größe und Vorschaufähigkeit einer lokalen Datei. Inhalt wird nur nach include_content=true und nur bis zum festen Inline-Limit als MCP-Text-, Bild- oder Resource-Content zurückgegeben.
- **fc_get_time** — Returns the current system time.

Returns:
  - Date, time, weekday, timezone
- **fc_read_multiple_files** — Reads multiple files at once and returns their contents.

Args:
  - paths (array): Array of file paths
  - max_lines_per_file (number, optional): Max lines per file (0 = all)

Returns:
  - Contents of all files with separators

Example:
  paths: ["C:\config.json", "C:\readme.md"]
- **fc_edit_file** — Edits a file line-based: replace, insert, or delete.

Args:
  - path (string): Path to the file
  - operation (string): "replace" | "insert" | "delete"
  - start_line (number): Start line (1-based)
  - end_line (number, optional): End line for replace/delete
  - content (string, optional): New content for replace/insert

Examples:
  - Replace lines 5-10: operation="replace", start_line=5, end_line=10, content="new text"
  - Insert after line 3: operation="insert", start_line=3, content="new line"
  - Delete lines 7-9: operation="delete", start_line=7, end_line=9
- **fc_str_replace** — Replaces a unique string in a file with another.

Args:
  - path (string): Path to the file
  - old_str (string): String to replace (must occur exactly once)
  - new_str (string): New string (empty = delete)

Returns:
  - Confirmation with context

IMPORTANT: old_str must occur EXACTLY once in the file!
An error is returned for 0 or >1 occurrences.

Examples:
  - Rename function: old_str="def old_name", new_str="def new_name"
  - Add import: old_str="import os", new_str="import os\nimport sys"
  - Delete line: old_str="# TODO: remove this\n", new_str=""
- **fc_list_processes** — Lists running system processes.

Args:
  - filter (string, optional): Filter by process name

Returns:
  - List of processes with PID, name, memory

Note: Uses 'tasklist' (Windows) or 'ps' (Unix)
- **fc_kill_process** — Terminates a process by PID or name.

Args:
  - pid (number, optional): Process ID
  - name (string, optional): Process name
  - force (boolean): Force termination

Warning: May cause data loss!
- **fc_start_session** — Starts an interactive process as a session (for fc_read_output and fc_send_input).

Args:
  - command (string): Command/Program
  - args (array, optional): Arguments
  - cwd (string, optional): Working directory

Returns:
  - Session ID for further interaction

Examples:
  - Python REPL: command="python"
  - Node REPL: command="node"
  - PowerShell: command="powershell"
- **fc_read_output** — Reads the output of a running session.

Args:
  - session_id (string): Session ID from fc_start_session
  - clear (boolean, optional): Clear output after reading

Returns:
  - Collected output since start/last clear
- **fc_send_input** — Sends input to a running session.

Args:
  - session_id (string): Session ID
  - input (string): Input to send
  - newline (boolean, optional): Append newline (default: true)

Examples:
  - Python: input="print('Hello')"
  - Shell: input="ls -la"
- **fc_list_sessions** — Lists all active and ended sessions.

Returns:
  - Table of all sessions with status
- **fc_close_session** — Terminates a running session and removes it from the list.

Args:
  - session_id (string): Session ID
  - force (boolean, optional): Force termination
- **fc_fix_json** — Automatically repairs common JSON errors.

Args:
  - path (string): Path to the JSON file
  - dry_run (boolean, optional): Only show problems, do not repair
  - create_backup (boolean, optional): Create backup before repair

Repairs: BOM, trailing commas, single quotes, comments, NUL bytes
- **fc_validate_json** — Validates a JSON file and shows detailed error information.

Args:
  - path (string): Path to the JSON file

Returns:
  - Validation status with line/column on errors
- **fc_cleanup_file** — Cleans up one or more files from common problems.

Args:
  - path (string): Path to file or directory
  - recursive (boolean, optional): Recursive for directories
  - extensions (string, optional): Filter file extensions (e.g. ".txt,.json,.py")
  - remove_bom (boolean): Remove UTF-8 BOM
  - remove_trailing_whitespace (boolean): Remove trailing whitespace
  - normalize_line_endings (string, optional): "lf" | "crlf" | null
  - remove_nul_bytes (boolean): Remove NUL bytes
  - dry_run (boolean): Preview only

Cleans: BOM, NUL bytes, trailing whitespace, line endings
- **fc_fix_encoding** — Detects and repairs encoding errors (mojibake, double UTF-8).

Args:
  - path (string): Path to the file
  - dry_run (boolean): Only show problems
  - create_backup (boolean): Create backup

Repairs common mojibake patterns like:
  - Ã¤ -> ae, Ã¶ -> oe, Ã¼ -> ue (German umlauts)
  - ÃŸ -> ss, â‚¬ -> EUR
- **fc_folder_diff** — Compares the current state of a directory with a saved snapshot.

Args:
  - path (string): Path to the directory
  - save_snapshot (boolean): Save current state as new snapshot
  - extensions (string, optional): Filter file extensions

Detects: New files, modified files, deleted files
Snapshots are saved in %TEMP%/.fc_snapshots/
- **fc_batch_rename** — Renames files by pattern: remove prefix/suffix, replace, or auto-detect.

Args:
  - directory (string): Directory with the files
  - mode (string): "remove_prefix" | "remove_suffix" | "replace" | "auto_detect"
  - pattern (string, optional): Text to remove/replace
  - replacement (string, optional): Replacement text (for replace mode)
  - extensions (string, optional): Filter by extensions
  - dry_run (boolean): Preview only

Examples:
  - Remove prefix: mode="remove_prefix", pattern="backup_"
  - Auto-detect: mode="auto_detect" detects common prefixes
- **fc_convert_format** — Converts files between different formats.

Args:
  - input_path (string): Path to source file
  - output_path (string): Path to target file
  - input_format (string): "json" | "csv" | "ini" | "yaml" | "toml" | "xml" | "toon"
  - output_format (string): "json" | "csv" | "ini" | "yaml" | "toml" | "xml" | "toon"
  - json_indent (number, optional): JSON indentation (default: 2)

Supported conversions:
  - JSON <-> CSV (for arrays of objects)
  - JSON <-> INI (for flat objects/sections)
  - JSON <-> YAML
  - JSON <-> TOML
  - JSON <-> XML
  - JSON <-> TOON (hierarchical key-value format)
  - JSON pretty-print / minify
- **fc_detect_duplicates** — Finds file duplicates in a directory using SHA-256 hashes.

Args:
  - directory (string): Directory to scan
  - recursive (boolean): Search recursively
  - extensions (string, optional): Filter by extensions
  - min_size (number, optional): Minimum size in bytes (default: 1)
  - max_size (number, optional): Maximum size in bytes

Returns:
  - Groups of duplicates with paths and sizes
- **fc_md_to_html** — Converts Markdown to formatted HTML (printable as PDF).

Args:
  - input_path (string): Path to Markdown file
  - output_path (string): Path to HTML output
  - title (string, optional): Document title

Generates standalone HTML with CSS styling, printable as PDF via browser.
- **fc_md_to_pdf** — Converts Markdown to PDF using a headless browser (Edge/Chrome).

Args:
  - input_path (string): Path to the Markdown file
  - output_path (string): Path to the PDF output
  - title (string, optional): Document title

Uses the same Markdown parser as fc_md_to_html. Requires Edge or Chrome.
Falls back to HTML if no browser is found.
- **fc_ocr** — Extrahiert Text aus Bildern (JPG/PNG/BMP/TIFF) mittels OCR (Tesseract).
- **fc_archive** — Erstellt, entpackt und listet ZIP-Archive.
- **fc_checksum** — Berechnet Prüfsummen (MD5/SHA1/SHA256/SHA512) für Dateien.
- **fc_web_fetch** — Ruft eine Webseite ab und gibt je nach Modus Inhalt zurück: extract (sauberer Haupttext), raw (HTTP-Body, gekürzt), links, forms oder headers. Nur lesendes Netzwerk-Tool; interne/private Ziele sind standardmäßig blockiert (allow_private zum Überschreiben).
- **fc_set_safe_mode** — Aktiviert/deaktiviert den Safe Mode. Wenn aktiv, werden alle Löschoperationen (fc_delete_file, fc_delete_directory) über den Papierkorb umgeleitet.
- **fc_set_language** — Set the output language for FileCommander tools
- **fc_get_language** — Get the active output language and all supported language codes
- **fc_check_cloud_lock** — Meldet statischen Cloud-Sync-Kontext und verfügbaren Zielzustand. Sie behauptet keine aktive Sperre. Nur auf Windows relevant.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ellmos-filecommander-mcp": {
    "command": "npx",
    "args": ["-y","ellmos-filecommander-mcp"]
  }
}
```

## Documentation

## What ellmos-ai/ellmos-filecommander-mcp does

ellmos-ai/ellmos-filecommander-mcp exposes a broad local-system toolset through the Model Context Protocol. Its filesystem operations cover reading, writing, editing, copying, moving, renaming, creating, deleting, and inspecting files and directories. It also supports file previews, opening existing local paths with their default applications, reading multiple files in one call, and retrieving the local system time.

The server extends basic file access with process and shell operations. An agent can execute a command, start a background process, list or terminate processes, or create an interactive session for programs such as Python, Node.js, and PowerShell. Search tools support wildcard filename matching, paginated background searches, and explicit-file text searches with literal or regular-expression matching.

## How it works

Clients communicate with the server over standard MCP stdio transport. Tool names use the `fc_` prefix, which keeps the server's operations grouped and reduces naming collisions. File and directory arguments are supplied as paths, including platform-specific paths such as Windows drive paths or Unix paths.

Filename searches can run synchronously or as background jobs. `fc_start_search` returns a search ID that other calls use to retrieve paginated results, stop the job, list searches, or clear completed results. Interactive processes work similarly: start a session to receive a session ID, then use separate calls to read output and send input.

The content-search operation is deliberately bounded to explicitly supplied files. It does not expand globs or recurse through directories, and it skips binary files. Search responses can include context lines and secret redaction. Runtime messages and formatted responses support German, English, Spanish, Chinese, Japanese, Russian, French, Hindi, Arabic, Bengali, and Portuguese.

## Setup and configuration

The package is published on npm and requires Node.js 20 or newer. The server is configured as an MCP stdio server in the client that will launch it. Set `FC_LANGUAGE` before startup to choose a supported runtime language; unsupported or unset values fall back to German. Language can also be changed during an active session with the language tools, and the active language can be queried.

The repository includes multilingual README files, npm metadata, `server.json`, and an `llms.txt` context summary. The runtime language setting affects generated messages and formatted tool responses, while tool names and schema descriptions remain in English.

## Tools and capabilities

- Read one or multiple files, including bounded line reads and Base64 output for binary files.
- Write, append, insert, replace, or delete file content; unique-string replacement rejects matches that occur zero or multiple times.
- List directories, create directories, inspect metadata, copy paths, and move or rename files and directories.
- Search filenames with `*` and `?` wildcards, including asynchronous searches with pagination and cancellation.
- Search explicitly selected files using literal text or regular expressions, with bounded JSON output and binary-file skipping.
- Preview local files with MIME type, size, and optional inline content subject to a fixed limit; open existing paths with their default applications.
- Execute shell commands, start background programs, list processes, terminate processes, and interact with running sessions.
- Move files or directories to the Windows Recycle Bin or, on other systems, create a backup through the safe-delete operation.

## Limitations and notes

`fc_delete_file` and directory deletion are irreversible. Recursive directory deletion removes all contents, while `fc_safe_delete` is the recovery-oriented alternative. File writes replace existing content unless append mode is selected, so callers should choose that option explicitly when preservation matters.

Shell commands run with the user's privileges. Process termination can cause data loss, and background searches consume server memory until completed searches are cleared. The server is local-first and cross-platform, but some behavior is platform-specific: process listing uses `tasklist` on Windows and `ps` on Unix-like systems, and recycle-bin behavior differs outside Windows.

_Full upstream README: https://allmcps.com/mcp/ellmos-ai-ellmos-filecommander-mcp/readme_

