mcp-server-filesystem
mcp-server-filesystem
MCP-Server, der Linux-Dateisystemoperationen als Werkzeuge für LLM-Agenten bereitstellt, erstellt mit FastMCP. Entwickelt als ein leichtgewichtiger, abhängigkeitsarmer Testserver für das mcprack MCP-Proxy-/Katalog-Tool.
Konfiguration
Es sind keine Anmeldedaten erforderlich. Die gesamte Konfiguration erfolgt über Umgebungsvariablen, die beim Start einmal gelesen werden:
Variable | Erforderlich | Beschreibung |
| nein | Verzeichnis, auf das alle Pfade beschränkt sind (Standard: aktuelles Arbeitsverzeichnis beim Start) |
| nein |
|
Alle an Werkzeuge übergebenen Pfade werden gegen FS_ROOT aufgelöst und abgelehnt, wenn sie es (über .. oder einen Symlink) verlassen würden. Dies ist eine Grenze auf Anwendungsebene, keine gehärtete Sandbox (kein chroot/Mount-Namespace).
Related MCP server: ab_mcp
Werkzeuge
Nur lesend: list_dir, read_file, stat, exists, glob_search.
Verändernd (erfordert FS_READONLY=false): write_file, mkdir, delete, move, copy.
Verwendung
Empfohlen — Debian-Paket aus dem VitexSoftware-Repository
sudo curl -fsSL http://repo.vitexsoftware.com/KEY.gpg -o /usr/share/keyrings/vitexsoftware-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/vitexsoftware-archive-keyring.gpg] http://repo.vitexsoftware.com trixie main backports" \
| sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt update
sudo apt install mcp-server-filesystemDie Komponente backports ist erforderlich, nicht optional: python3-mcp (eine Abhängigkeit von python3-fastmcp) benötigt python3-jsonschema >= 4.20.0, das neuer ist als die Version, die Debian trixie in main ausliefert — es ist nur in backports verfügbar. Ohne sie schlägt apt install mit einem Fehler wegen nicht erfüllter Abhängigkeiten in Bezug auf python3-jsonschema fehl.
Dies installiert python3-fastmcp und mcp-server-filesystem in einem einzigen Schritt.
Alternative — pip
pip install -e .
export FS_ROOT=/path/to/sandbox
mcp-server-filesystemmcprack-Integration
Registrieren Sie diesen Server in mcprack mit:
Befehl:
mcp-server-filesystemUmgebung:
FS_ROOT=/path/to/sandbox,FS_READONLY=false(falls Schreibzugriff benötigt wird)
mcprack startet ihn als Stdio-Unterprozess und proxyt ihn pro Benutzer über HTTP.
Entwicklung
pytestThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA Filesystem MCP server that allows an LLM to read and list files from a specified directory on your local machine through the Model Context Protocol.2
- AlicenseAqualityCmaintenanceA file system MCP server that confines AI assistant file tools to a single folder, with read-only by default and optional write access.7MIT
- AlicenseAqualityBmaintenanceProvides LLMs with local filesystem operations (read/write files, list directories) and command execution via MCP, enabling file management and task automation within AI clients.717ISC
- AlicenseNot gradedqualityCmaintenanceExposes a Linux host with shell, Python, and filesystem tools as MCP tools over HTTPS, enabling AI agents to execute commands and manage files remotely.11MIT
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VitexSoftware/mcp-server-filesystem'
If you have feedback or need assistance with the MCP directory API, please join our Discord server