mark3labs_mcp-filesystem-server
If you are the rightful owner of mark3labs_mcp-filesystem-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Filesystem MCP Server is a Go server implementing the Model Context Protocol (MCP) for performing various filesystem operations.
The Filesystem MCP Server is designed to facilitate filesystem operations through the Model Context Protocol (MCP). It allows users to perform a variety of tasks such as reading and writing files, creating and managing directories, moving files and directories, searching for files, and retrieving file metadata. The server is restricted to operate only within directories specified via command-line arguments, ensuring a controlled environment for file operations. This server is particularly useful for applications that require automated or remote file management capabilities, providing a robust interface for interacting with the filesystem.
Features
- Read/write files
- Create/list/delete directories
- Move files/directories
- Search files
- Get file metadata
Tools
read_file
Read complete contents of a file with UTF-8 encoding.
read_multiple_files
Read multiple files simultaneously without stopping on failure.
write_file
Create or overwrite a file with specified content.
create_directory
Create a new directory or ensure it exists, including parent directories.
list_directory
List contents of a directory with [FILE] or [DIR] prefixes.
move_file
Move or rename files and directories, failing if the destination exists.
search_files
Recursively search for files/directories with case-insensitive matching.
get_file_info
Retrieve detailed metadata of a file or directory.
list_allowed_directories
List all directories the server is allowed to access.