Cursor MCP File Organizer
Organizador de archivos Cursor MCP
Un servidor de Protocolo de Contexto de Modelo (MCP) para organizar archivos en su carpeta de Descargas usando Cursor IDE.
Características
Organiza automáticamente los archivos en la carpeta Descargas por tipo
Admite múltiples categorías de archivos:
Imágenes (jpg, jpeg, png, gif, webp, SVG, etc.)
Documentos (pdf, doc, docx, txt, etc.)
Archivos (zip, rar, 7z, tar, etc.)
Archivos de código (js, ts, py, java, etc.)
Archivos multimedia (mp4, mp3, wav, etc.)
Archivos de diseño (psd, ai, sketch, etc.)
Bases de datos (sql, sqlite, etc.)
Fuentes (ttf, otf, woff, etc.)
Reglas de organización configurables
Monitoreo del sistema de archivos en tiempo real
Compatibilidad con SSE (eventos enviados por el servidor) para actualizaciones en vivo
Related MCP server: Organizer MCP Server
Prerrequisitos
Node.js (v14 o superior)
Mecanografiado
IDE de cursor
Instalación
Clonar el repositorio:
git clone https://github.com/AlexanderVTr/cursor-mcp-file-organizer.git
cd cursor-mcp-file-organizerInstalar dependencias:
npm installConstruir el proyecto:
npm run buildConfiguración
Configurar los ajustes de Cursor IDE MCP:
{
"mcpServers": {
"file-organizer": {
"url": "http://localhost:3001",
"port": 3001,
"enabled": true,
"description": "File organization MCP server"
}
}
}Personalizar las reglas de la organización en
mcp-config.json:
{
"version": "1.0",
"rules": {
"downloads": {
"path": "~/Downloads",
"organizeBy": {
"images": {
"extensions": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"],
"destination": "~/Downloads/Pictures"
}
// ... other categories
}
}
}
}Uso
Iniciar el servidor:
npm startUtilice Cursor IDE para enviar comandos:
// Example command to organize files
{
command: "organizeFiles",
args: {
path: "~/Downloads"
}
}Comandos disponibles
listDir: Lista el contenido del directorioreadFile: Leer el contenido del archivowriteFile: Escribe el contenido en el archivomoveFile: Mueve el archivo a una nueva ubicacióncreateDir: Crear directorioorganizeFiles: Organiza archivos por tipo
Desarrollo
# Run in development mode with hot reload
npm run dev
# Build the project
npm run build
# Start the server
npm startEstructura del proyecto
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 rulesContribuyendo
Bifurcar el repositorio
Crea tu rama de funciones (
git checkout -b feature/amazing-feature)Confirme sus cambios (
git commit -m 'Add some amazing feature')Empujar a la rama (
git push origin feature/amazing-feature)Abrir una solicitud de extracción
Licencia
Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.
Expresiones de gratitud
Equipo de Cursor IDE para el protocolo MCP
Comunidad Node.js por sus excelentes herramientas y bibliotecas
This server cannot be deployed
Maintenance
Related MCP Connectors
Streamline your workflow with Felix. Integrate it into your workspace and tailor its behavior to y…
Receipt tracker with no friction: receipts arrive by email and file themselves
Manage files and folders directly from your workspace. Read and write files, list directories, cre…
Brain dump, routines, task planning, focus, and instant thought retrieval
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn intelligent MCP server that analyzes folder contents to automatically categorize files and suggest meaningful naming conventions based on file types and content. It enables users to organize messy directories into structured topic-based folders through automated analysis, renaming, and file movement tools.-
- AlicenseNot gradedqualityDmaintenanceEnables Claude to intelligently organize files by scanning folders, detecting duplicates, suggesting meaningful names, and moving files into logical folders.MIT
- FlicenseBqualityDmaintenanceAutomatically organizes PDF files into date-based folders, providing tools to move, copy, list, and track PDFs by date.6-
- FlicenseNot gradedqualityDmaintenanceMCP server for organizing files on your Mac Desktop by automatically categorizing them into folders. Supports listing, previewing, and moving files into category folders (Images, Documents, Videos, etc.).-