home / mcp / file organizer mcp server
Sort files in downloads folder in mac os by type
Configuration
View docs{
"mcpServers": {
"alexandervtr-cursor-mcp-file-organizer": {
"url": "http://localhost:3001"
}
}
}The Cursor MCP File Organizer is an MCP server that watches your Downloads folder and automatically sorts files by type, helping you keep your workspace tidy. It supports many categories such as images, documents, archives, code, media, design files, databases, and fonts, with configurable rules to tailor the organization to your needs.
To use this MCP server, first ensure the server is running and accessible from your MCP client. You will then send commands from your client to organize your Downloads folder and manage files. The key command is to organize files by type, which re-sorts existing files into their designated folders based on the configured rules. You can also browse directory contents, read and write files, move files, and create directories through the available MCP commands.
Prerequisites you need before installing are Node.js (v14 or higher), TypeScript, and Cursor IDE.
Step by step install and run flow you can follow:
# Clone the project
git clone https://github.com/AlexanderVTr/cursor-mcp-file-organizer.git
cd cursor-mcp-file-organizer
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm startConfigure the MCP client to connect to the file organizer server and tailor the organization rules for your Downloads folder.
{
"mcpServers": {
"file_organizer": {
"url": "http://localhost:3001",
"port": 3001,
"enabled": true,
"description": "File organization MCP server"
}
}
}You can customize how files are sorted in a dedicated configuration, mapping file extensions to destination folders under your Downloads path.
{
"version": "1.0",
"rules": {
"downloads": {
"path": "~/Downloads",
"organizeBy": {
"images": {
"extensions": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"],
"destination": "~/Downloads/Pictures"
}
// Additional categories can be added here
}
}
}
}The server includes real-time updates via SSE so you can monitor changes as they happen in your Downloads folder.
Organizes files recursively within a specified path by their type according to configured rules.
Lists contents of a directory for inspection or selection.
Reads the contents of a file and returns it to the MCP client.
Writes content to a specified file path from the MCP client.
Moves a file from one location to another.
Creates a new directory at a given path.