Filesystem Operations
STDIOMCP server that provides filesystem operations for Claude AI.
MCP server that provides filesystem operations for Claude AI.
A Model Context Protocol (MCP) server that provides filesystem operations for Claude AI.
This MCP server provides the following filesystem operations:
read_file: Read complete contents of a file
path
(string)read_multiple_files: Read multiple files simultaneously
paths
(string[])write_file: Create new file or overwrite existing
path
(string): File locationcontent
(string): File contentcreate_directory: Create new directory or ensure it exists
path
(string)list_directory: List directory contents with [FILE] or [DIR] prefixes
path
(string)move_file: Move or rename files and directories
source
(string)destination
(string)search_files: Recursively search for files/directories
path
(string): Starting directorypattern
(string): Search patternget_file_info: Get detailed file/directory metadata
path
(string)list_allowed_directories: List all directories the server is allowed to access
The server only allows operations within directories specified via command-line arguments.
npm install
npm run build
Run the server with one or more allowed directories:
node build/index.js /path/to/allowed/dir1 /path/to/allowed/dir2
Add the server to your MCP configuration file:
{ "mcpServers": { "filesystem-server": { "command": "node", "args": [ "/path/to/filesystem-server/build/index.js", "/path/to/allowed/dir1", "/path/to/allowed/dir2" ], "disabled": false, "autoApprove": [] } } }
ISC