mcp-filesystem-server
This MCP server provides secure access to the local filesystem via the Model Context Protocol.
The MCP Filesystem Server allows users to perform various file operations such as reading, writing, copying, moving, and deleting files and directories on the local filesystem. It supports both single and multiple file operations, making it efficient for managing file content. Additionally, users can modify files by searching and replacing text, including support for regex patterns.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-filesystem-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-filesystem-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions