Jarvis MCP Filesystem

通过 mcporter 连接文件系统,支持读取、浏览和搜索文件。

已扫描
适合谁
开发者、自动化流程设计者
不适合谁
普通用户、无技术背景的办公人员
国内可用性
需网络配置。可能需要网络配置或第三方服务可访问。
安装难度
新手友好(★☆☆)。基于终端操作、依赖、API Key 和本地环境要求的初步判断。

安装与下载

openclaw skills install @claudedamir-art/jarvis-mcp-filesystem

Skill 说明

命令、参数、文件名以原文为准

MCP 文件系统

MCP 服务器,为 Jarvis 提供对工作区文件系统的访问权限。

可用工具(tools)

通过以下命令调用:

mcporter call --stdio "mcp-server-filesystem <root>" <tool> <args>

read_file

读取文件内容。

mcporter call --stdio "mcp-server-filesystem /root/.openclaw/workspace" read_file path=/root/.openclaw/workspace/FILE.md

list_directory

列出目录内容。

mcporter call --stdio "mcp-server-filesystem /root/.openclaw/workspace" list_directory path=/root/.openclaw/workspace

search_files

根据通配符模式搜索文件。

mcporter call --stdio "mcp-server-filesystem /root/.openclaw/workspace" search_files pattern="*.md" path=/root/.openclaw/workspace/models

get_file_info

获取文件信息(大小、时间戳、权限等)。

mcporter call --stdio "mcp-server-filesystem /root/.openclaw/workspace" get_file_info path=/root/.openclaw/workspace/MEMORY.md

配置

配置文件路径:/root/.openclaw/workspace/config/mcporter.json

{
  "mcpServers": {
    "filesystem": {
      "command": "mcp-server-filesystem",
      "args": ["/root/.openclaw/workspace"],
      "type": "stdio"
    }
  }
}

安装

npm install -g mcp-server-filesystem

注意事项

  • 服务器仅在 /root/.openclaw/workspace 路径范围内运行(沙箱环境)
  • 不需要常驻进程 —— 通过 stdio 按需启动
  • 资源占用:约 0(启动后立即退出,不占用内存)
  • 测试日期:2026-05-07 —— 所有基础工具功能正常
CA
@claudedamir-art

已收录 1 个 Skill

相关推荐