About
Overview
The Filesystem MCP Server provides comprehensive file system operations through the Model Context Protocol. It supports reading, writing, creating, deleting, and searching files and directories. Built with security in mind, it implements sandboxed access to prevent unauthorized file system access outside designated directories.
Capabilities
Tools & Capabilities
⚡read_file
Read the contents of a file at a given path
⚡write_file
Write content to a file, creating it if needed
⚡list_directory
List files and directories at a given path
⚡search_files
Search for files matching a pattern
⚡create_directory
Create a new directory
⚡move_file
Move or rename a file
⚡get_file_info
Get metadata about a file (size, dates, permissions)
Setup
Installation
bash
Install
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dirExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/projects"]
}
}
}Quick Info
AuthorAnthropic
LanguageTypeScript
StatusStable
Stars★ 2450
Last UpdatedFeb 12, 2026