📁
Filesystem
File Operations Developer ToolsInstall Command
npx clawhub@latest install filesystem
Installation Guide
1
Check Environment
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
2
Run Installation
Run the install command above in your terminal. ClawHub will automatically download and install Filesystem to the ~/.openclaw/skills/ directory.
3
Verify Installation
Run openclaw skills list to check your installed skills and confirm Filesystem appears in the list.
4
Configure (Optional)
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
Manual Installation: Copy the Skill folder to
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
File and directory CRUD operations
Configurable path access whitelist
Secure sandboxed file access
Detailed Description
Filesystem MCP Server is an official filesystem operation server provided by Anthropic, enabling AI to perform file operations within a secure sandbox environment.
Core Features
- File Operations: Read, write, create, delete, and move files, supporting both text and binary files
- Directory Management: Create directories, list directory contents, recursively search for files
- Access Control: Restrict AI-accessible directory paths through a whitelist mechanism to prevent unauthorized access
Configuration
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
// Below are the allowed access directory paths
"/Users/username/projects",
"/Users/username/documents"
]
}
}
}
Use Cases
- Let AI safely read project files for code analysis
- Automatically generate and organize project file structures
- Batch rename or move files
- Search for files and replace content within a controlled directory scope