Cursor文件整理器
HTTP-SSE自动整理下载文件夹文件的MCP服务器
自动整理下载文件夹文件的MCP服务器
A Model Context Protocol (MCP) server for organizing files in your Downloads folder using Cursor IDE.
git clone https://github.com/AlexanderVTr/cursor-mcp-file-organizer.git cd cursor-mcp-file-organizer
npm install
npm run build
{ "mcpServers": { "file-organizer": { "url": "http://localhost:3001", "port": 3001, "enabled": true, "description": "File organization MCP server" } } }
mcp-config.json:{ "version": "1.0", "rules": { "downloads": { "path": "~/Downloads", "organizeBy": { "images": { "extensions": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"], "destination": "~/Downloads/Pictures" } // ... other categories } } } }
npm start
// Example command to organize files { command: "organizeFiles", args: { path: "~/Downloads" } }
listDir: List directory contentsreadFile: Read file contentswriteFile: Write content to filemoveFile: Move file to new locationcreateDir: Create directoryorganizeFiles: Organize files by type# Run in development mode with hot reload npm run dev # Build the project npm run build # Start the server npm start
cursor-mcp-file-organizer/
├── src/
│ ├── server.ts # Main server implementation
│ └── organizer.ts # File organization logic
├── dist/ # Compiled JavaScript
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── mcp-config.json # Organization rules
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Certified by MCP Review https://mcpreview.com/mcp-servers/alexandervtr/cursor-mcp-file-organizer