跳到正文
TakoAPI
返回技能列表

filesystem-mcp

由 buddhasource 提供

DevOps & Cloud
2.6k下载量由 clawskills.sh 提供
4星标
2浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Lists files in the application log directory

  2. 2

    Reads the contents of the error log file

  3. 3

    Searches for files containing ERROR pattern across the log directory

  4. 4

    Generates a summary of identified issues and patterns

  5. 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 或你在用的任意编程智能体里。

链接