mcp-filesystem
7
The Secure MCP Filesystem Server is a Model Context Protocol server that provides secure, validated access to filesystem directories. It allows AI models to perform file operations and execute commands securely, supporting deployment via Docker.
Secure MCP Filesystem Server
Overview
- A secure Model Context Protocol (MCP) server offering filesystem access within predefined directories.
- Features strict path validation to ensure secure access.
Core Features
- Secure file operations: read, write, edit, and move files.
- Directory operations: create, list, get tree views, and search directories.
- Metadata access: View file and directory information.
- Securely execute system commands.
- Supports Docker for easy deployment.
- New features include structured logging, performance metrics, and improved error handling.
Technologies Used
- TypeScript, Node.js, MCP SDK, Zod, Docker, pnpm.
Installation
- Requires Node.js, Git, and pnpm.
- Can be run locally, via Docker, or using Docker Compose.
Usage
- Use with Claude Desktop by adding configurations to
claude_desktop_config.json
. - Provides tools such as file and system operations, with plans for HTTP API requests in a future release.