Filesystem MCP Server
by Anthropic ยท โญ 4.2k stars ยท updated 1 months ago
Secure file operations with configurable access controls. Read, write, create, delete files and directories with path-based permission scoping. Official reference implementation.
95
Excellent
Quality Score Breakdown
maintenance98/100
community92/100
documentation95/100
compatibility95/100
Use Cases
- โread files
- โwrite files
- โmanage directories
- โfile operations
โก One-Click Install Configs
Copy the config below and paste it into your AI client's config file.
๐ค Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}โก Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}๐ VS Code
.vscode/mcp.json
{
"mcp": {
"servers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}
}