Back to Home
mark3labs icon

mcp-filesystem-server

Verified Safe

by mark3labs

Overview

Provides secure and controlled access to the local filesystem via the Model Context Protocol (MCP) for AI agents and other applications.

Installation

Run Command
docker run -i --rm ghcr.io/mark3labs/mcp-filesystem-server:latest /app

Security Notes

The server implements robust path validation including absolute path resolution, explicit allowed directories, and comprehensive symlink resolution with security checks to prevent directory traversal attacks. All file operations leverage this validation. The 'modify_file' tool uses regex, which could theoretically be vulnerable to ReDoS if patterns are untrusted, but this is mitigated by the overall path restrictions. No hardcoded secrets or arbitrary code execution mechanisms ('eval') were found. The server operates with the privileges of its running user, which is standard for local tools.

Similar Servers

Stats

Interest Score85
Security Score9
Cost ClassHigh
Avg Tokens250000
Stars556
Forks88
Last Update2025-11-24

Tags

FilesystemMCPGoSecurityLocal Access