Enhanced FileSystem MCP server
A secure Model Context Protocol (MCP) server that provides filesystem operations with controlled access to specified directories.
go get github.com/gomcpgo/filesys
Set allowed directories using the environment variable:
export MCP_ALLOWED_DIRS="/path1,/path2,/path with spaces/dir3"
read_file: Read single file contentsread_multiple_files: Read multiple files simultaneouslywrite_file: Create or overwrite filescreate_directory: Create new directorieslist_directory: List directory contentslist_allowed_directories: Show accessible directoriesmove_file: Move or rename files and directoriesget_file_info: Get file metadatasearch_files: Search files recursively with pattern matchingAdd to claude_desktop_config.json:
{
"mcpServers": {
"filesystem": {
"command": "/path/to/filesys",
"env": {
"MCP_ALLOWED_DIRS": "/path1,/path2,/path with spaces/dir3"
}
}
}
}
{
"name": "read_file",
"arguments": {
"path": "/allowed/path/file.txt"
}
}
{
"name": "list_directory",
"arguments": {
"path": "/allowed/path"
}
}
go build -o bin/filesys cmd/main.go
MIT License
Pull requests welcome. Please ensure:
This Model Context Protocol (MCP) server enables LLMs like Claude to perform internet research using the Perplexity API. It provides real-time, up-to-date information with source citations.
Model Context Protocol server for FTP access
A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management.
A Python-based MCP (Model Context Protocol) server that predicts the origin