VitexSoftware

mcp-server-filesystem

Community VitexSoftware
Updated

MCP server exposing Linux filesystem operations as tools, read-only by default

mcp-server-filesystem

MCP server exposing Linux filesystem operations as tools for LLM agents,built with FastMCP. Designed as a lightweight,low-dependency test server for the mcprackMCP proxy/catalog tool.

Configuration

No credentials are needed. All configuration is via environment variables,read once at startup:

Variable Required Description
FS_ROOT no Directory all paths are confined to (default: current working directory at startup)
FS_READONLY no true (default) blocks mutating tools; set to false to allow writes/deletes/moves

All paths given to tools are resolved against FS_ROOT and rejected if theywould escape it (via .. or a symlink). This is an application-levelboundary, not a hardened sandbox (no chroot/mount namespace).

Tools

Read-only: list_dir, read_file, stat, exists, glob_search.

Mutating (require FS_READONLY=false): write_file, mkdir, delete,move, copy.

Usage

Recommended โ€” Debian package from 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-filesystem

The backports component is required, not optional: python3-mcp (apython3-fastmcp dependency) needs python3-jsonschema >= 4.20.0, which isnewer than the version Debian trixie ships in main โ€” it's only availablein backports. Without it, apt install fails with an unmet-dependencyerror on python3-jsonschema.

This installs python3-fastmcp and mcp-server-filesystem in a single step.

Alternative โ€” pip

pip install -e .
export FS_ROOT=/path/to/sandbox
mcp-server-filesystem

mcprack integration

Register this server in mcprack with:

  • Command: mcp-server-filesystem
  • Env: FS_ROOT=/path/to/sandbox, FS_READONLY=false (if writes are needed)

mcprack spawns it as a stdio subprocess and proxies it over HTTP per user.

Development

pytest

MCP Server ยท Populars

MCP Server ยท New

    chatmcp

    3802

    directory for Awesome MCP Servers

    Community chatmcp
    Morningstar202604

    AgentSeed

    Anti-hallucination gate for AI coding agents โ€” 8 MCP tools catch invented APIs (17 languages), fake "all tests pass" claims, and slopsquatting packages before they ship. Zero-dependency Agent Plugins 1.0.0 plugin (Skill + MCP server + CLI + CI gate) for Claude Code, Cursor, VS Code, Copilot.

    Community Morningstar202604
    skarn-security

    Skarn guard: agent plugins

    Skarn plugins for Claude Code, Codex CLI, Gemini CLI, Grok Build, and Antigravity: audit skills, guard hooks, and MCP declarations that find leaked secrets and credentials in AI coding sessions, locally and redacted.

    Community skarn-security
    punkpeye

    mcp-remote

    Connect an MCP Client that only supports local (stdio) servers to a Remote MCP Server.

    Community punkpeye
    HiAi-gg

    DocsMint

    Self-hosted AI-native knowledge workspace and installable PWA with hybrid search, GraphRAG, REST, SDK, CLI, and MCP access for people and AI agents.

    Community HiAi-gg