Skip to main content
Glama

Cursor MCP File Organizer

by AlexanderVTr

カーソル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) サポート

前提条件

  • Node.js (v14以上)
  • タイプスクリプト
  • カーソルIDE

インストール

  1. リポジトリをクローンします。
git clone https://github.com/AlexanderVTr/cursor-mcp-file-organizer.git cd cursor-mcp-file-organizer
  1. 依存関係をインストールします:
npm install
  1. プロジェクトをビルドします。
npm run build

構成

  1. カーソル IDE MCP 設定を構成します。
{ "mcpServers": { "file-organizer": { "url": "http://localhost:3001", "port": 3001, "enabled": true, "description": "File organization MCP server" } } }
  1. mcp-config.jsonで組織ルールをカスタマイズします。
{ "version": "1.0", "rules": { "downloads": { "path": "~/Downloads", "organizeBy": { "images": { "extensions": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"], "destination": "~/Downloads/Pictures" } // ... other categories } } } }

使用法

  1. サーバーを起動します。
npm start
  1. カーソル 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

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

謝辞

  • MCPプロトコルのCursor IDEチーム
  • 優れたツールとライブラリを提供するNode.jsコミュニティ
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

ファイルの種類に基づいて適切なディレクトリに分類し、ダウンロード フォルダー内のファイルを自動的に整理します。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 構成
          1. 使用法
            1. 利用可能なコマンド
              1. 発達
                1. プロジェクト構造
                  1. 貢献
                    1. ライセンス
                      1. 謝辞

                        Related MCP Servers

                        • A
                          security
                          F
                          license
                          A
                          quality
                          Provides a tool to download entire websites using wget. It preserves the website structure and converts links to work locally.
                          Last updated -
                          1
                          40
                          JavaScript
                          • Apple
                          • Linux
                        • -
                          security
                          A
                          license
                          -
                          quality
                          Enables integration with Google Drive for listing, reading, and searching over files, supporting various file types with automatic export for Google Workspace files.
                          Last updated -
                          1,971
                          9
                          JavaScript
                          MIT License
                        • A
                          security
                          A
                          license
                          A
                          quality
                          Generates a JSON file tree from a specified directory's 'src' folder, adhering to '.gitignore' rules, allowing for quick project structure review in Claude.
                          Last updated -
                          1
                          Python
                          MIT License
                        • -
                          security
                          A
                          license
                          -
                          quality
                          A tool that helps rank codebase files by importance (1-10 scale), track file dependencies, and provide summaries, all accessible through a simple JSON-based interface.
                          Last updated -
                          2
                          TypeScript
                          GPL 3.0
                          • Linux

                        View all related MCP servers

                        MCP directory API

                        We provide all the information about MCP servers via our MCP API.

                        curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlexanderVTr/cursor-mcp-file-organizer'

                        If you have feedback or need assistance with the MCP directory API, please join our Discord server