Back to Home
duaghwls icon

FileManageMCP

Verified Safe

by duaghwls

Overview

An LLM-powered agent designed to organize and manage files and folders on a Windows local file system according to a predefined set of rules.

Installation

Run Command
uv run python server.py

Environment Variables

  • MCP_FILE_AGENT_ROOT

Security Notes

The server implements robust safety features including a default 'dry run' mode, a configurable sandbox for file operations (enforced by `validate_path` and `is_path_in_sandbox`), and explicit forbidden system paths (`C:\Windows`, `Program Files`, `.git`, etc.). File operations utilize safer `pathlib` and `shutil` methods rather than direct shell commands, mitigating injection risks. File content reading is limited by `max_length`, and image processing is for analysis rather than execution. No `eval` or `os.system` on user input was found. The primary residual risk involves potential misuse of file modification tools by the LLM if dry run is disabled, or subtle vulnerabilities within third-party parsing libraries, but these are generally well-mitigated for the intended use.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars0
Forks1
Last Update2025-12-15

Tags

File ManagementOrganizationLLM AgentWindowsFastMCP