mcp-file-operations-server
by bsmi021·★ 21·综合分 40
功能全面的 MCP 服务器,支持文件操作、变更跟踪和流式处理,提供 HTTP 界面增强文件管理能力。
概述
文件操作 MCP 服务器通过模型上下文协议提供增强的文件系统功能。它提供了一套全面的文件和目录操作工具,包括复制、读取、写入、移动、删除功能,以及目录创建和管理功能。该服务器支持文件监控以跟踪变更,变更查询以操作历史记录,以及流式处理以高效处理大文件。通过标准输入输出和 HTTP 传输模式,它可以与 Claude Desktop 等 MCP 客户端直接集成,或通过服务器发送事件提供可访问的 Web 端点。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要全面的文件操作功能,包括变更跟踪、文件监控和进度报告,同时支持本地和远程访问场景时,选择此服务器。
什么时候不要选它
如果您只需要基本的文件操作,不需要流式传输和跟踪功能的开销,或者需要除 stdio 和 HTTP 之外的传输协议,请避免使用此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具copy_fileCopy a file to a new location
read_fileRead content from a file
write_fileWrite content to a file
move_fileMove/rename a file
delete_fileDelete a file
append_fileAppend content to a file
make_directoryCreate a directory
remove_directoryRemove a directory
copy_directoryCopy a directory recursively with progress reporting
watch_directoryStart watching a directory for changes
unwatch_directoryStop watching a directory
get_changesGet the list of recorded file system changes
可对比工具
安装
通过 Smithery 安装
npx -y @smithery/cli install @bsmi021/mcp-file-operations-server --client claude手动安装
npm install
npm startClaude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"file-operations": {
"command": "npx",
"args": ["@bsmi021/mcp-file-operations-server"]
}
}
}Docker 安装
docker run -it --rm -v "$(pwd):/workspace" ghcr.io/bsmi021/mcp-file-operations-serverFAQ
- 这个服务器是否支持大文件?
- 是的,它包含流式处理功能,可以高效处理大文件。
- 我可以监控文件变更吗?
- 是的,该服务器提供文件监控功能,可以监控文件和目录的变更。
mcp-file-operations-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。