Open Source / Developer Infrastructure

Pre-Release

Dirhaven

A Local-First Filesystem MCP Server

Your Files.
Your Boundaries.

Connect AI workflows to files on your computer, within directories you explicitly authorize.

Explore the source
Built By
Diego Liñan
Implementation
Go
Interface
MCP / Local stdio
Access Scope
Configured directory roots

01 / The Starting Point

The Conversation Is Here.
The Files Are Over There.

Working with an AI assistant in a browser can mean uploading files, pasting their contents or moving to another environment whenever the work involves your actual filesystem.

Dirhaven’s primary use case is connecting ChatGPT Web to those local files through a separately configured MCP connection. Other compatible MCP clients can use the server directly over stdio.

02 / The Connection

One Part of the Workflow.
A Deliberate Boundary.

  1. 01 / Client

    The Conversation

    The MCP client supplies the agent and requests file operations.

  2. 02 / Connection

    The Bridge

    Browser use needs a separately configured tunnel and plugin. Dirhaven does not bundle them.

  3. 03 / Local Server

    Dirhaven

    The Go process handles filesystem operations within its configured roots.

  4. 04 / Files

    Your Workspace

    You choose the existing directories the server is allowed to access.

03 / In The Current Build

Useful Access.
Explicit Scope.

Read and Inspect

Read files, list directories, search filenames, inspect metadata and find out which roots are available.

Edit and Organize

Create files and directories, apply edits and move files within the authorized workspace.

Keep the Source Intact

Bounded retrieval tools return original text lines and line numbers, with pagination and SHA-256 change detection. They support exact-source work without asking a model to summarize the material first.

04 / Design Choices

Choose the Folders.
Keep the Roles Clear.

The local process starts with an explicit access configuration. Its path handling matches operations to an authorized root and uses Go’s root-constrained filesystem APIs.

An allowed directory can contain writable files. Root configuration is an access scope, not a read-only mode or a substitute for operating-system permissions and client approval controls.

File operations run locally. The connected client controls model use and how returned material is handled. Dirhaven supplies neither an AI model nor a cloud storage service.

05 / Release Status

Public Source.
Early Release.

The source is public under Apache 2.0, with v0.1.0 available as a tagged pre-release. Explicit directory roots are supported on Windows, Linux and macOS.

The development branch also includes an experimental local setup wizard. It helps select roots and prepare a command and generic MCP configuration; the separate tunnel and ChatGPT connection remain operator-configured.

A private ChatGPT Web read/write integration has been exercised. A publicly reproducible acceptance run with narrowly authorized roots and an out-of-root denial check remains pending; the private integration is not a general security guarantee.