ellmos FileCommander

v1.11.6
io.github.ellmos-ai/ellmos-filecommander-mcp Checked 11 hours ago Published 18 days ago

Filesystem 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"

ParameterTypeDescription
path *stringFull path to the file
encodingstringCharacter encoding
max_linesintegerMax 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!

ParameterTypeDescription
content *stringContent to write
path *stringFull path to the file
appendbooleanAppend to file
create_dirsbooleanCreate 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

ParameterTypeDescription
path *stringPath to the directory
depthintegerRecursion depth
show_hiddenbooleanShow 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

ParameterTypeDescription
path *stringPath to the new directory

fc_delete_file Delete File

Deletes a file. Args: - path (string): Path to the file Warning: Irreversible! No recycle bin.

ParameterTypeDescription
path *stringPath 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!

ParameterTypeDescription
path *stringPath to the directory
recursivebooleanDelete 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"

ParameterTypeDescription
destination *stringDestination path
source *stringSource path

fc_copy Copy

Copies a file or directory. Args: - source (string): Source path - destination (string): Destination path - recursive (boolean): Copy directories recursively

ParameterTypeDescription
destination *stringDestination path
source *stringSource path
recursivebooleanCopy 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

ParameterTypeDescription
path *stringPath 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

ParameterTypeDescription
directory *stringStart directory
pattern *stringSearch pattern with wildcards
max_resultsintegerMax 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.

ParameterTypeDescription
paths *arrayExplicit file paths in result order; directories and glob patterns are not expanded
query *stringLiteral text by default, or a regular expression when regex=true
case_sensitivebooleanUse case-sensitive matching
context_linesintegerContext lines before and after each match
max_resultsintegerGlobal match limit
max_results_per_fileintegerMatch limit per file
regexbooleanInterpret query as a regular expression

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

ParameterTypeDescription
search_id *stringSearch ID
limitintegerMax results
offsetintegerStart offset

fc_list_searches List Searches

Lists all active and completed background searches.

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.

ParameterTypeDescription
path *stringPath 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"

ParameterTypeDescription
command *stringCommand to execute
cwdstringWorking directory
timeoutintegerTimeout 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)

ParameterTypeDescription
program *stringProgram/Executable
argsarrayArguments
cwdstringWorking 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.

ParameterTypeDescription
path *stringExisting 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.

ParameterTypeDescription
path *stringExisting local file to inspect or preview
include_contentbooleanExplicitly 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"]

ParameterTypeDescription
paths *arrayArray of file paths
max_lines_per_fileintegerMax 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

ParameterTypeDescription
operation *stringOperation
path *stringPath to the file
start_line *integerStart line (1-based)
contentstringNew content
end_lineintegerEnd 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=""

ParameterTypeDescription
old_str *stringString to replace (must be unique)
path *stringPath to the file
new_strstringNew 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)

ParameterTypeDescription
filterstringFilter 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!

ParameterTypeDescription
forcebooleanForce
namestringProcess name
pidintegerProcess 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"

ParameterTypeDescription
command *stringCommand/Program
argsarrayArguments
cwdstringWorking 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

ParameterTypeDescription
session_id *stringSession ID
clearbooleanClear 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"

ParameterTypeDescription
input *stringInput to send
session_id *stringSession ID
newlinebooleanAppend 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

ParameterTypeDescription
session_id *stringSession ID
forcebooleanForce

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

ParameterTypeDescription
path *stringPath to the JSON file
create_backupbooleanCreate backup
dry_runbooleanOnly 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

ParameterTypeDescription
path *stringPath 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

ParameterTypeDescription
path *stringPath to file/directory
dry_runbooleanPreview only
extensionsstringFilter extensions (.txt,.json)
normalize_line_endingsstringLine endings
recursivebooleanRecursive
remove_bombooleanRemove BOM
remove_nul_bytesbooleanRemove NUL bytes
remove_trailing_whitespacebooleanTrailing 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

ParameterTypeDescription
path *stringPath to the file
create_backupbooleanCreate backup
dry_runbooleanPreview 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/

ParameterTypeDescription
path *stringPath to the directory
extensionsstringFilter extensions
save_snapshotbooleanSave 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

ParameterTypeDescription
directory *stringDirectory
mode *stringMode
dry_runbooleanPreview only
extensionsstringFilter extensions
patternstringText to remove/replace
replacementstringReplacement 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…

ParameterTypeDescription
input_format *stringInput format
input_path *stringSource file
output_format *stringOutput format
output_path *stringTarget file
json_indentintegerJSON 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

ParameterTypeDescription
directory *stringDirectory
extensionsstringFilter extensions
max_sizeintegerMaximum size in bytes
min_sizeintegerMinimum size in bytes
recursivebooleanRecursive

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.

ParameterTypeDescription
input_path *stringMarkdown file
output_path *stringHTML output
titlestringDocument 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.

ParameterTypeDescription
input_path *stringMarkdown file
output_path *stringPDF output
titlestringDocument title

fc_ocr OCR - Text from Image/PDF

Extrahiert Text aus Bildern (JPG/PNG/BMP/TIFF) mittels OCR (Tesseract).

ParameterTypeDescription
file_path *stringPath to image (jpg/png/bmp/tiff) or PDF file
languagestringOCR language (default: eng). Use deu for German, fra for French, etc.
output_pathstringOptional: Save extracted text to file

fc_archive Archive (ZIP)

Erstellt, entpackt und listet ZIP-Archive.

ParameterTypeDescription
action *stringAction to perform
archive_path *stringPath to the ZIP archive
extract_tostringExtraction target directory (for extract action)
source_pathsarrayFiles/folders to add (for create action)

fc_checksum File Checksum

Berechnet Prüfsummen (MD5/SHA1/SHA256/SHA512) für Dateien.

ParameterTypeDescription
file_path *stringPath to file
algorithmstringHash algorithm (default: sha256)
comparestringOptional: 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).

ParameterTypeDescription
url *stringURL to fetch (http/https only)
allow_privatebooleanAllow internal/private/loopback targets (turns the SSRF guard off). Default false.
modestringextract=clean main text (default), raw=HTTP body, links=all links, forms=form fields, headers=response headers
timeout_secondsintegerRequest 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.

ParameterTypeDescription
enabled *booleanEnable or disable safe mode

fc_set_language Set Language

Set the output language for FileCommander tools

ParameterTypeDescription
language *stringLanguage 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.

ParameterTypeDescription
path *stringPath to check