DirForge logo

DirForge

by Dissimilis

Read-only access to a configured filesystem through browsing, search, archive inspection, hashes, and disk usage.

Install DirForge

Run the project’s own setup commands, in order.

Setup steps from the project

Dissimilis/DirForge installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    docker run -d \
      --name dirforge \
      -p 8091:8080 \
      -e RootPath=/data \
      -v /srv/share:/data:ro \
      ghcr.io/dissimilis/dirforge:latest
    
  2. 2. Configure
    cp .env.example .env
    
  3. 3. Start the server
    docker compose up -d
    
  4. 4. Start the server
    podman run -d \
      --name dirforge \
      -p 8091:8080 \
      -e RootPath=/data \
      -v /srv/share:/data:ro \
      ghcr.io/dissimilis/dirforge:latest
    
  5. 5. Start the server
    podman compose
    
  6. 6. Start the server
    podman compose up -d
    

Overview

Dissimilis/DirForge MCP server exposes a configured directory through MCP over a Streamable HTTP endpoint. It provides read-only filesystem operations including directory browsing, file reading, content search, archive inspection, file hashing, and disk usage. Run it when an AI assistant needs controlled access to files on a local host, homelab, or NAS. The same deployment also offers a web interface, JSON API, WebDAV, and an optional S3-compatible endpoint.

Use cases

  • Browse a mounted NAS directory from an AI assistant
  • Search text files under a controlled filesystem root
  • Inspect archive contents without extracting them
  • Verify downloaded files with cryptographic hashes
  • Review directory sizes on a homelab server

Key features

  • Read-only MCP access over Streamable HTTP
  • Directory browsing and file reading
  • Recursive content search
  • Archive inspection
  • File hash calculation
  • Disk usage inspection

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/19 checks healthy over the last 113d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Directory activity9 viewsConfig copies, upvotes, and views on AllMCPs.

How DirForge works

What Dissimilis/DirForge MCP server does

Dissimilis/DirForge MCP server gives MCP clients read-only access to files under a configured root directory. The available filesystem capabilities include listing directories, reading files, searching file contents, inspecting supported archives, calculating file hashes, and viewing disk usage. Access is constrained by the root path and can also be affected by hidden-path and denied-extension settings.

The application is designed for homelab and NAS-style file access. The MCP interface is one part of a broader service that also includes a browser UI and other read-only access methods.

How it works

The application runs as a web service and exposes its MCP endpoint at /mcp/. The endpoint uses JSON-RPC 2.0 with Streamable HTTP transport. Clients connect to the running service rather than launching a separate MCP process for each request.

A host directory is mapped or assigned as RootPath, which becomes the filesystem area available to the service. Docker and Podman examples mount the host directory read-only. The service listens on port 8080 by default inside the container; the example publishes it as port 8091 on the host.

The server can use bearer-token authentication through a configurable header. HTTP Basic Auth and reverse-proxy authentication headers are also supported for the web application and related endpoints. Authentication should be configured before exposing the service beyond a trusted network.

Setup and configuration

The published container image is ghcr.io/dissimilis/dirforge:latest, with images available for amd64 and arm64. A typical container deployment sets RootPath and mounts the shared directory with read-only access. Podman can use the same commands by replacing the Docker executable.

Important settings include RootPath, Port, ListenIp, EnableMcpEndpoint, BearerToken, and BearerTokenHeaderName. The MCP endpoint is enabled by default in the documented configuration. HideDotfiles can hide entries beginning with a dot, while DenyDownloadExtensions blocks selected extensions from direct and ZIP downloads. The service also supports listing and directory-size cache settings, which may matter when working with large trees.

The README warns that the default compose setup can fall back to admin and dirforge credentials if authentication values are not supplied. Those values should be changed before network exposure. Only directories intended for sharing should be mounted, preferably with a read-only mount.

Tools and capabilities

Dissimilis/DirForge MCP server is suited to agents that need to inspect a filesystem without changing it. Supported operations described for the MCP interface include:

  • Browsing directories and reading files.
  • Searching content recursively with configurable depth and time limits.
  • Inspecting .zip, .tar, .tar.gz, .tgz, and .gz archives.
  • Calculating CRC32, MD5, SHA-1, SHA-256, and SHA-512 hashes.
  • Checking disk or directory usage.

The wider service can preview text, images, video, audio, and PDF files in its web UI, download files or folders as ZIP archives, and provide signed or one-time share links. These additional features are available through the application, but are separate from the MCP transport itself.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about DirForge

Run the published Docker image with a configured root path and a read-only volume mount. The documented image is ghcr.io/dissimilis/dirforge:latest.

The MCP endpoint is available at /mcp/ and uses JSON-RPC 2.0 with Streamable HTTP transport.

Set RootPath to the directory to browse. In containers, mount the host directory into the container and set RootPath to the container-side path.

Yes. It supports bearer-token authentication through a configurable header. HTTP Basic Auth and reverse-proxy authentication headers are also available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDirForge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dissimilis-dirforge?style=directory)](https://allmcps.com/mcp/dissimilis-dirforge)
HTML Embed
<a href="https://allmcps.com/mcp/dissimilis-dirforge"><img src="https://allmcps.com/api/badge/dissimilis-dirforge?style=directory" alt="DirForge on AllMCPs" /></a>