Filesystem MCP ServerServer

mark3labs
GitHub
file-systemlocal-accessMCP

Loading subscription status...

💡 Description

This MCP server provides secure access to the local file system via the Model Context Protocol (MCP).

📝 JSON Entries

{
  "mcpServers": [
    {
      "filesystem": {
        "args": [
          "/path/to/allowed/directory",
          "/another/allowed/directory"
        ],
        "command": "mcp-filesystem-server"
      }
    }
  ]
}

🛠️ Tools

file operationsdirectory operationssearch and information retrieval

Features

  • Secure access to specified directories
  • Path validation to prevent directory traversal attacks
  • Symlink resolution with safety checks
  • MIME type detection
  • Support for text, binary, and image files
  • Size limitations for inline content and base64 encoding

💬 Example Queries

  • Read the contents of a file from the file system
  • List all files in a specified directory
  • Get file metadata for a specific file