Local NPX
Claude Desktop · macOS / Linux
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/ABSOLUTE/PATH/TO/ALLOWED/DIRECTORY"
]
}
}
}Replace the placeholder with an absolute path.