ellmos FileCommander
v1.11.6Filesystem MCP server: files, previews, search, processes, OCR, archives, safe delete, web fetch.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fc_read_file 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"
| Parameter | Type | Description |
|---|---|---|
path * | string | Full path to the file |
encoding | string | Character encoding |
max_lines | integer | Max lines (0 = all) |
fc_write_file 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!
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to write |
path * | string | Full path to the file |
append | boolean | Append to file |
create_dirs | boolean | Create missing directories |
fc_list_directory 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
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the directory |
depth | integer | Recursion depth |
show_hidden | boolean | Show hidden files |
fc_create_directory Create Directory
Creates a new directory (including parent directories). Args: - path (string): Path to the new directory Returns: - Confirmation of creation
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the new directory |
fc_delete_file Delete File
Deletes a file. Args: - path (string): Path to the file Warning: Irreversible! No recycle bin.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file |
fc_delete_directory 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!
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the directory |
recursive | boolean | Delete recursively |
fc_move Move/Rename
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"
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination path |
source * | string | Source path |
fc_copy Copy
Copies a file or directory. Args: - source (string): Source path - destination (string): Destination path - recursive (boolean): Copy directories recursively
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination path |
source * | string | Source path |
recursive | boolean | Copy recursively |
fc_file_info File Information
Shows detailed information about a file/directory. Args: - path (string): Path to the file/directory Returns: - Size, type, creation/modification date, permissions
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file/directory |
fc_search_files 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
| Parameter | Type | Description |
|---|---|---|
directory * | string | Start directory |
pattern * | string | Search pattern with wildcards |
max_results | integer | Max results |
fc_search_content Search File 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.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Explicit file paths in result order; directories and glob patterns are not expanded |
query * | string | Literal text by default, or a regular expression when regex=true |
case_sensitive | boolean | Use case-sensitive matching |
context_lines | integer | Context lines before and after each match |
max_results | integer | Global match limit |
max_results_per_file | integer | Match limit per file |
regex | boolean | Interpret query as a regular expression |
fc_start_search Start Async 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)
| Parameter | Type | Description |
|---|---|---|
directory * | string | Start directory |
pattern * | string | Search pattern with wildcards |
fc_get_search_results 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
| Parameter | Type | Description |
|---|---|---|
search_id * | string | Search ID |
limit | integer | Max results |
offset | integer | Start offset |
fc_stop_search Stop Search
Stops a running background search. Args: - search_id (string): Search ID
| Parameter | Type | Description |
|---|---|---|
search_id * | string | Search ID |
fc_list_searches List Searches
Lists all active and completed background searches.
fc_clear_search Clear Search
Removes a completed search from the list and frees memory. Args: - search_id (string): Search ID (or "all" for all completed)
| Parameter | Type | Description |
|---|---|---|
search_id * | string | Search ID or 'all' |
fc_safe_delete Safe Delete (Recycle Bin)
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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file/directory |
fc_execute_command 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"
| Parameter | Type | Description |
|---|---|---|
command * | string | Command to execute |
cwd | string | Working directory |
timeout | integer | Timeout in ms |
fc_start_process 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)
| Parameter | Type | Description |
|---|---|---|
program * | string | Program/Executable |
args | array | Arguments |
cwd | string | Working directory |
fc_open_path 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Existing local file or directory to open |
fc_preview_file 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Existing local file to inspect or preview |
include_content | boolean | Explicitly request bounded inline content after inspecting metadata |
fc_get_time Current Time
Returns the current system time. Returns: - Date, time, weekday, timezone
fc_read_multiple_files 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"]
| Parameter | Type | Description |
|---|---|---|
paths * | array | Array of file paths |
max_lines_per_file | integer | Max lines per file |
fc_edit_file Edit File (Lines)
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
| Parameter | Type | Description |
|---|---|---|
operation * | string | Operation |
path * | string | Path to the file |
start_line * | integer | Start line (1-based) |
content | string | New content |
end_line | integer | End line |
fc_str_replace String Replace in File
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=""
| Parameter | Type | Description |
|---|---|---|
old_str * | string | String to replace (must be unique) |
path * | string | Path to the file |
new_str | string | New string (empty = delete) |
fc_list_processes 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)
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter by process name |
fc_kill_process 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!
| Parameter | Type | Description |
|---|---|---|
force | boolean | Force |
name | string | Process name |
pid | integer | Process ID |
fc_start_session Start Interactive 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"
| Parameter | Type | Description |
|---|---|---|
command * | string | Command/Program |
args | array | Arguments |
cwd | string | Working directory |
fc_read_output Read Session 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
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID |
clear | boolean | Clear output |
fc_send_input Send Input to Session
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"
| Parameter | Type | Description |
|---|---|---|
input * | string | Input to send |
session_id * | string | Session ID |
newline | boolean | Append newline |
fc_list_sessions List Sessions
Lists all active and ended sessions. Returns: - Table of all sessions with status
fc_close_session Close Session
Terminates a running session and removes it from the list. Args: - session_id (string): Session ID - force (boolean, optional): Force termination
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID |
force | boolean | Force |
fc_fix_json 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
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the JSON file |
create_backup | boolean | Create backup |
dry_run | boolean | Only show problems |
fc_validate_json 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
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the JSON file |
fc_cleanup_file 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
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to file/directory |
dry_run | boolean | Preview only |
extensions | string | Filter extensions (.txt,.json) |
normalize_line_endings | string | Line endings |
recursive | boolean | Recursive |
remove_bom | boolean | Remove BOM |
remove_nul_bytes | boolean | Remove NUL bytes |
remove_trailing_whitespace | boolean | Trailing whitespace |
fc_fix_encoding 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
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file |
create_backup | boolean | Create backup |
dry_run | boolean | Preview only |
fc_folder_diff 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/
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the directory |
extensions | string | Filter extensions |
save_snapshot | boolean | Save snapshot |
fc_batch_rename 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
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory |
mode * | string | Mode |
dry_run | boolean | Preview only |
extensions | string | Filter extensions |
pattern | string | Text to remove/replace |
replacement | string | Replacement text |
fc_convert_format 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 p…
| Parameter | Type | Description |
|---|---|---|
input_format * | string | Input format |
input_path * | string | Source file |
output_format * | string | Output format |
output_path * | string | Target file |
json_indent | integer | JSON indentation |
fc_detect_duplicates 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
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory |
extensions | string | Filter extensions |
max_size | integer | Maximum size in bytes |
min_size | integer | Minimum size in bytes |
recursive | boolean | Recursive |
fc_md_to_html Markdown 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.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Markdown file |
output_path * | string | HTML output |
title | string | Document title |
fc_md_to_pdf Markdown 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.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Markdown file |
output_path * | string | PDF output |
title | string | Document title |
fc_ocr OCR - Text from Image/PDF
Extrahiert Text aus Bildern (JPG/PNG/BMP/TIFF) mittels OCR (Tesseract).
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to image (jpg/png/bmp/tiff) or PDF file |
language | string | OCR language (default: eng). Use deu for German, fra for French, etc. |
output_path | string | Optional: Save extracted text to file |
fc_archive Archive (ZIP)
Erstellt, entpackt und listet ZIP-Archive.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
archive_path * | string | Path to the ZIP archive |
extract_to | string | Extraction target directory (for extract action) |
source_paths | array | Files/folders to add (for create action) |
fc_checksum File Checksum
Berechnet Prüfsummen (MD5/SHA1/SHA256/SHA512) für Dateien.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to file |
algorithm | string | Hash algorithm (default: sha256) |
compare | string | Optional: Hash to compare against |
fc_web_fetch 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).
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to fetch (http/https only) |
allow_private | boolean | Allow internal/private/loopback targets (turns the SSRF guard off). Default false. |
mode | string | extract=clean main text (default), raw=HTTP body, links=all links, forms=form fields, headers=response headers |
timeout_seconds | integer | Request timeout in seconds (default 20) |
fc_set_safe_mode Set Safe Mode
Aktiviert/deaktiviert den Safe Mode. Wenn aktiv, werden alle Löschoperationen (fc_delete_file, fc_delete_directory) über den Papierkorb umgeleitet.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Enable or disable safe mode |
fc_set_language Set Language
Set the output language for FileCommander tools
| Parameter | Type | Description |
|---|---|---|
language * | string | Language code |
fc_get_language Get Language
Get the active output language and all supported language codes
fc_check_cloud_lock Check Cloud Lock
Meldet statischen Cloud-Sync-Kontext und verfügbaren Zielzustand. Sie behauptet keine aktive Sperre. Nur auf Windows relevant.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to check |