Cursor MCP 文件管理器
使用 Cursor IDE 组织下载文件夹中的文件的模型上下文协议 (MCP) 服务器。
特征
自动按类型组织下载文件夹中的文件
支持多种文件类别:
图像(jpg、jpeg、png、gif、webp、svg 等)
文档(pdf、doc、docx、txt 等)
档案(zip、rar、7z、tar 等)
代码文件(js、ts、py、java等)
媒体文件(mp4、mp3、wav 等)
设计文件(psd、ai、sketch等)
数据库(sql、sqlite等)
字体(ttf、otf、woff 等)
可配置的组织规则
实时文件系统监控
SSE(服务器发送事件)支持实时更新
先决条件
Node.js(v14 或更高版本)
TypeScript
游标 IDE
安装
克隆存储库:
安装依赖项:
构建项目:
配置
配置 Cursor IDE MCP 设置:
在
mcp-config.json
中自定义组织规则:
用法
启动服务器:
使用Cursor IDE发送命令:
可用命令
listDir
:列出目录内容readFile
:读取文件内容writeFile
:将内容写入文件moveFile
:将文件移动到新位置createDir
:创建目录organizeFiles
:按类型组织文件
发展
项目结构
贡献
分叉存储库
创建你的功能分支(
git checkout -b feature/amazing-feature
)提交您的更改(
git commit -m 'Add some amazing feature'
)推送到分支(
git push origin feature/amazing-feature
)打开拉取请求
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
致谢
MCP 协议的 Cursor IDE 团队
Node.js 社区提供优秀的工具和库
Related MCP Servers
- AsecurityAlicenseAqualityProvides tools for collecting and documenting code from directories.Last updated -42515MIT License
- -securityAlicense-qualityEnables integration with Google Drive for listing, reading, and searching over files, supporting various file types with automatic export for Google Workspace files.Last updated -71448MIT License
- -securityFlicense-qualityIntegrates with Google Drive to enable listing, reading, and searching over files, with automatic export of Google Workspace documents to appropriate formats.Last updated -714
- -security-license-qualityProvides fast file searching capabilities across Windows, macOS, and Linux operating systems using platform-specific search technologies.Last updated -MIT License