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.
Model Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets
MCP server to extract contents from a PDF file
MCP Server for reading many files at the same time
Official MCP server for pdfAssistant. Connect Claude, ChatGPT, or any MCP client to perform professional PDF processing like OCR, permanent redactions, secure encryption, format conversions, and 40+ advanced operations p
Markdown To PDF Conversion MCP
Comments