Secure read-only access to files and directories with configurable permissions.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/directory"]
}
}
}
Copy this configuration and paste it into your claude_desktop_config.json or Cursor settings.