filesystem-mcp
由 buddhasource 提供
DevOps & Cloud简介
Official Filesystem MCP Server for secure file operations with configurable access controls.
描述
该技能的功能
MCP server that gives AI agents sandboxed access to local files and directories. Supports reading, writing, editing, moving, deleting, and searching files within explicitly allowed paths. Access controls block directory traversal and system file access at the server level.
Unlike direct filesystem access, it enforces directory sandboxing and path validation without requiring custom permission logic in each agent.
何时使用
- Reading project source files before generating code changes
- Scanning error logs to identify recurring failures
- Organizing downloaded files into categorized folders
- Writing generated documentation to a local docs directory
- Searching a codebase for all files matching a name pattern
示例工作流
User asks: Analyze our app error logs and summarize the issues
- 1
Lists files in the application log directory
- 2
Reads the contents of the error log file
- 3
Searches for files containing ERROR pattern across the log directory
- 4
Generates a summary of identified issues and patterns
- 5
Writes the summary report to a markdown file
Error summary written to /reports/error-summary.md with categorized issues and counts
安装
clawhub install buddhasource/filesystem-mcp运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。