desktop-image-manager-mcp

desktop-image-manager-mcp

1

The Desktop Image Manager MCP Server is a desktop application that provides functionalities to count, list, and compress image files on the desktop, optimized for users managing large image collections. It supports multiple image formats and allows customizable compression quality.

Desktop Image Manager MCP Server

  • A desktop image management server based on the Model Context Protocol (MCP) for tracking, viewing, and compressing image files.
  • Features:
    • Count the number of images on the desktop quickly.
    • List all image filenames on the desktop.
    • Compress images in formats like JPG, PNG, WebP, with customizable quality.

Requirements

  • Node.js >= 16
  • pnpm >= 8

Installation

  1. Clone the repository.
  2. Install dependencies using pnpm.

Development

  • Start the development server with pnpm.

Build and Run

  • Build the project and start the server using pnpm.

Supported Image Formats

  • JPG/JPEG, PNG, GIF, BMP, WebP, TIFF, SVG.

Notes

  • Ensure sufficient desktop access rights.
  • Large file compression may take longer.
  • Compressed files are saved on the desktop with a "-compressed" suffix.

Tech Stack

  • TypeScript, MCP SDK, Sharp, fs-extra, zod.