What operations does the server support?
It supports six tools: `list_directory`, `read_file`, `save_file`, `append_file`, `delete_this_file`, and `edit_file` (which offers line-based pattern matching and dry-run previews).
@asirulnik
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_server_filesystem_01": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}Lists files and directories in the project directory
Reads the contents of a file
Creates or overwrites files atomically
Adds content to existing files
Removes files from the filesystem
Makes selective edits using pattern matching
MCP File System Server is a Model Context Protocol server that enables AI assistants (via Claude Desktop, VSCode/Cline extension, or other MCP-compatible systems) to perform file system operations—read, write, edit, delete—within a specified project directory. It is built for developers who want to collaborate with AI on local codebases through natural-language prompts.
Install the server by cloning the repository and running pip install -e . inside its directory. Then launch it with python -m src.main --project-dir /path/to/project, optionally setting --log-level and --log-file. Add the server’s configuration to your MCP client’s settings (e.g., Claude Desktop’s claude_desktop_config.json or Cline’s cline_mcp_settings.json) and restart the client.
list_directory: list files and directories in the project directoryread_file: read the contents of a filesave_file: atomically create or overwrite files with contentappend_file: append content to an existing filedelete_this_file: permanently delete a file from the filesystemedit_file: make selective edits using pattern matching with diff previewIt supports six tools: `list_directory`, `read_file`, `save_file`, `append_file`, `delete_this_file`, and `edit_file` (which offers line-based pattern matching and dry-run previews).
Python 3 (with a virtual environment recommended) and the dependencies installed via `pip install -e .`. The server uses FastMCP and can be run on Windows, macOS, or Linux.
Standard human-readable logs go to the console. Optionally, structured JSON logs can be written to a file specified with `--log-file`. Log level is configurable (DEBUG, INFO, WARNING, ERROR, CRITICAL).
All file paths are normalized and validated to stay within the project directory; path traversal attacks are blocked. Files are written atomically to prevent data corruption, and the `--project-dir` argument is required.
The server communicates via MCP’s standard transport (stdin/stdout) used by Claude Desktop and Cline. No external API endpoints or authentication are mentioned—access is governed by the MCP client’s auto-approval settings.
filesystem MCP server for accessing WSL distributions from Windows
Go server implementing Model Context Protocol (MCP) for filesystem operations.
MCP server for working with PDF files
Model Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets
MCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
Comments