MCP
Рекомендовано
Локальный
Бесплатно
Filesystem MCP
MCP server for secure filesystem operations with configurable access controls.
автор: Anthropic
Установка
Копируй и вставляй в терминал
1 установок
curl -fsSL https://vibebaza.com/i/filesystem | bash
The Filesystem MCP server provides Claude with secure access to your local filesystem with configurable access controls.
Installation
npm install -g @modelcontextprotocol/server-filesystem
Configuration
Add to your Claude Code settings:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}
Available Tools
read_file
Read the contents of a file.
read_file(path: string): string
write_file
Write content to a file.
write_file(path: string, content: string): void
list_directory
List contents of a directory.
list_directory(path: string): FileInfo[]
create_directory
Create a new directory.
create_directory(path: string): void
move_file
Move or rename a file.
move_file(source: string, destination: string): void
search_files
Search for files matching a pattern.
search_files(path: string, pattern: string): string[]
Security
- Access is restricted to specified directories
- No access to parent directories (
..) - Configurable read/write permissions
- Path validation and sanitization
Usage Example
Claude, please read the contents of ./config/settings.json
and update the database connection string.