servers Model Context Protocol (MCP) Server
Model Context Protocol Servers
Filesystem (servers) MCP Server
Model Context Protocol (filesystem) server
Ready-to-Use Client Configurations
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
],
"env": {
"ALLOWED_DIRECTORIES": "/path/to/dir"
}
}
}
}
Required Environment Variables & Credentials (1)
| Variable Name | Required | Description | Example / Default |
|---|---|---|---|
| ALLOWED_DIRECTORIES | REQUIRED | Absolute paths to allow read/write access | /path/to/dir |