Cursor MCP File Organizer
カーソル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、スケッチなど)
データベース (sql、sqlite など)
フォント(ttf、otf、woff など)
設定可能な組織ルール
リアルタイムファイルシステム監視
ライブアップデートのための SSE (Server-Sent Events) サポート
Related MCP server: Organizer MCP Server
前提条件
Node.js (v14以上)
タイプスクリプト
カーソルIDE
インストール
リポジトリをクローンします。
git clone https://github.com/AlexanderVTr/cursor-mcp-file-organizer.git
cd cursor-mcp-file-organizer依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build構成
カーソル IDE MCP 設定を構成します。
{
"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カーソル IDE を使用してコマンドを送信します。
// Example command to organize files
{
command: "organizeFiles",
args: {
path: "~/Downloads"
}
}利用可能なコマンド
listDir: ディレクトリの内容を一覧表示するreadFile: ファイルの内容を読み取るwriteFile: ファイルにコンテンツを書き込むmoveFile: ファイルを新しい場所に移動するcreateDir: ディレクトリを作成するorganizeFiles: ファイルを種類別に整理する
発達
# 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)プルリクエストを開く
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
謝辞
MCPプロトコルのCursor IDEチーム
優れたツールとライブラリを提供するNode.jsコミュニティ
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…
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
Manage files and folders directly from your workspace. Read and write files, list directories, cre…
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.).-