Back to MCP Servers
Filesystem Server
Access and manage files on your local filesystem with read, write, and directory operations
filesystemfilesofficial
By Anthropic
Installation
npm install -g @anthropic-ai/mcp-server-filesystemConfiguration
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@anthropic-ai/mcp-server-filesystem",
"/path/to/allowed/directory"
]
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes