Filesystem
by Anthropic (reference)
Filesystem
9,0001,272,149/mov2026.1.14stdioVerified on npm
Developer ToolsMCP / Integrations
Install & run
Add to claude_desktop_config.json:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem"
]
}
}
}Overview
Secure local file operations for AI agents — read, write, search, move and list files within configured directories. One of the official reference MCP servers and a common starting point for giving an assistant access to your project files.
Tools (6)
read_fileRead the contents of a file
write_fileCreate or overwrite a file
edit_fileMake line-based edits to a file
list_directoryList files and folders in a path
search_filesRecursively search for files by pattern
move_fileMove or rename a file or directory
Key features
- Sandboxed to allowed directories
- Read/write/edit files
- Recursive search
- Directory tree listing
Use cases
- Let an agent edit your codebase
- Bulk file organisation
- Read project docs for context
Frequently asked questions about Filesystem
Access is restricted to directories you explicitly allow, so the agent cannot touch the rest of your system.
Did you find this helpful?