mark3labs/mcp-filesystem-server
mcp-filesystem-server is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.
If you are the rightful owner of 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.
This MCP server provides secure access to the local filesystem via the Model Context Protocol (MCP).
Try mcp-filesystem-server with chat:
Tools
Functions exposed to the LLM to take actions
copy_file
Copy files and directories.
create_directory
Create a new directory or ensure a directory exists.
delete_file
Delete a file or directory from the file system.
get_file_info
Retrieve detailed metadata about a file or directory.
list_allowed_directories
Returns the list of directories that this server is allowed to access.
list_directory
Get a detailed listing of all files and directories in a specified path.
modify_file
Update file by finding and replacing text. Provides a simple pattern matching interface without needing exact character positions.
move_file
Move or rename files and directories.
read_file
Read the complete contents of a file from the file system.
read_multiple_files
Read the contents of multiple files in a single operation.
search_files
Recursively search for files and directories matching a pattern.
search_within_files
Search for text within file contents. Unlike search_files which only searches file names, this tool scans the actual contents of text files for matching substrings. Binary files are automatically excluded from the search. Reports file paths and line numbers where matches are found.
tree
Returns a hierarchical JSON representation of a directory structure.
write_file
Create a new file or overwrite an existing file with new content.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client
File System
URI: file:///
MIME: text/plain
Access to files and directories on the local file system