What is @shtse8/filesystem-mcp?
@Shtse8/filesystem-mcp is a Node.js server implementing the Model Context Protocol (MCP) that provides AI agents with secure, token‑optimized filesystem operations. It confines all file access to the project root, supports batch processing of multiple files per request, and uses Zod validation. It is designed for developers using AI coding assistants like Claude or Cline.
How to use @shtse8/filesystem-mcp?
Configure the server in your MCP host (e.g., Cline, VSCode) using npx or bunx with the command @shtse8/filesystem-mcp. Alternatively, run the official Docker image, mounting your project directory to /app. The server uses its current working directory as the project root; ensure your host sets cwd appropriately.
Key features of @shtse8/filesystem-mcp
- Batch operations – read, write, edit multiple files in one request
- Token‑optimized – reduces round trips and overhead (50‑70% less token usage)
- Project root confinement – prevents path traversal outside the working directory
- Zod validation – all tool arguments validated for safety
- Detailed per‑item error reporting for batch operations
- 11+ tools including read, write, edit, search, move, copy, delete, chmod, chown
Use cases of @shtse8/filesystem-mcp
- AI agents reading, editing, and searching project files during development
- Batch refactoring across multiple files in a codebase
- Safe automated file generation, project setup, and directory management
- Integration with code assistants (Claude, Cline) for direct filesystem access
コメント