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:
Mcp Crypto Price
A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.
Mcp Mysql
Perplexity Mcp Server
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.