loading…
Search for a command to run...
loading…
A file organization MCP server that safely categorizes and manages files in allowed directories by type, with search and analysis capabilities.
A file organization MCP server that safely categorizes and manages files in allowed directories by type, with search and analysis capabilities.
A Python-based file organization system that leverages the Model Context Protocol (MCP) to safely organize and manage files across directories.
This project implements a file organization system using the Model Context Protocol (MCP) framework to:
# Clone the repository
git clone https://github.com/diganto-deb/local_file_organizer.git
cd local_file_organizer
# Install requirements
pip install -r requirements.txt
Create or modify the .cursor/mcp.json file in your project directory:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/organize/dir1",
"/path/to/organize/dir2"
]
}
}
}
Replace the paths with the directories you want to allow the MCP server to access.
After configuring the .cursor/mcp.json file:
MCPfilesystem server in the list of MCP serversOnce the MCP server is enabled, you can use the file organization commands directly in Cursor's Agent:
# List all available categories
list_categories
# Analyze a directory without making changes
analyze_directory /path/to/directory
# Create category folders in a target directory
create_category_directories /path/to/target
# Organize files by type
organize_files /path/to/directory
# Search for files
search_files /path/to/directory "*.jpg"
The system uses:
The following features are planned for upcoming releases:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Run in your terminal:
claude mcp add local-file-organizer -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.