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.
MCP server for working with PDF files

STRG S3-compatible Object Storage is a remote MCP server available at https://mcp.strg.com.
MCP server to integrate AWS S3 and LLM

Model Context Protocol Servers
Comments