What directories can the server access?
The server only accesses directories that are explicitly passed as arguments at startup. The `list_allowed_directories` tool returns this list.
@mark3labs
Basic information
Go server implementing Model Context Protocol (MCP) for filesystem operations.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-filesystem-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mark3labs/mcp-filesystem-server:latest",
"/path/to/allowed/directory"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MCP Filesystem Server provides secure access to the local filesystem through the Model Context Protocol (MCP). It is intended for applications that support MCP and need controlled file read, write, search, and directory operations.
Install via go install github.com/mark3labs/mcp-filesystem-server@latest. Start the server by specifying one or more allowed directories as arguments, for example mcp-filesystem-server /path/to/allowed/directory. It can also be used as a Go library or run in Docker. Integrate with MCP-compatible apps by adding the server to the mcpServers configuration.
The server only accesses directories that are explicitly passed as arguments at startup. The `list_allowed_directories` tool returns this list.
It performs path validation to prevent directory traversal attacks and symlink resolution with security checks, ensuring operations stay within allowed directories.
Yes. A Docker image is available at `ghcr.io/mark3labs/mcp-filesystem-server:latest`. You can mount host volumes to allow the container to modify files on the host.
It supports text, binary, and image files. MIME type detection is included.
Yes, the server enforces size limits for inline content and base64 encoding, though the exact limits are not specified in the README.
A lightweight MCP server for processing, editing, and interacting with PDF, Word, Excel, and CSV documents.
filesystem MCP server for accessing WSL distributions from Windows

Model Context Protocol Servers

AI tools (Claude, ChatGPT, Gemini, Grok, etc.) generate HTML constantly, from reports to landing pages to prototypes, but there's no easy way to share it or know if anyone looked. HTMLvault turns any HTML into a clean, t
The SSE version of the MCP service is modified from the Filesystem MCP server
Comments