Home › File Systems › Filesystem MCP
Filesystem MCP
Secure filesystem MCP server for reading, writing, searching, diffing, and patching files.
Topics: File Systems
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 2.5.0)
npx -y @j0hanz/filesystem-mcp@2.5.0
Or add to your MCP client config:
{
"mcpServers": {
"filesystem-mcp": {
"command": "npx",
"args": [
"-y",
"@j0hanz/filesystem-mcp@2.5.0"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_VALUE>"
}
}
}
}
FS_ALLOWED_DIRS— Allowed directories; ':'-separated on Unix, ';'-separated on Windows. Alternative to positional arguments.
This server takes extra arguments — see its repository.
Package (oci)
docker run -i --rm ghcr.io/j0hanz/filesystem-mcp:2.5.0
Or add to your MCP client config:
{
"mcpServers": {
"filesystem-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/j0hanz/filesystem-mcp:2.5.0"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_VALUE>"
}
}
}
}
FS_ALLOWED_DIRS— Allowed directories inside the container, ':'-separated. Alternative to positional arguments.
This server takes extra arguments — see its repository.
This repository has 2 servers listed in the Official MCP Registry.
Other names: io.github.j0hanz/filesystem-context
Related servers
markitdown
MCP tool access to MarkItDown -- a library that converts many file formats (local or remote) to Markdown for LLM consumption.
filestash
Remote Storage Access: SFTP, S3, FTP, SMB, NFS, WebDAV, GIT, FTPS, gcloud, azure blob, sharepoint, etc.
mcp-filesystem-server
Golang implementation for local file system access.
mcp-everything-search
Fast Windows file search using Everything SDK
llm-context.py
Share code context with LLMs via MCP or clipboard
mcp-gdrive
Model Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets.
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry