MCP HubMCP Hub
splendasucks

webperfect-mcp-server

by: splendasucks

webperfect-mcp-server

5created 20/12/2024
Visit
webperfect

📌Overview

Purpose: The WebPerfect MCP Server aims to automate and enhance the processing of web-ready images through an intelligent batch pipeline.

Overview: WebPerfect MCP Server is a robust server designed for efficiently processing images with advanced enhancements. Its fully automated batch pipeline ensures high-quality output with several optimization features, making it ideal for web deployment.

Key Features:

  • Advanced Image Processing Pipeline: Offers a strong suite of tools including noise reduction, auto levels/curves, and texture enhancement, ensuring images are sharpened and optimized for quality and size.

  • Optimized Compression: Delivers smaller file sizes without loss of quality through effective compression techniques, particularly benefiting web applications that require fast loading times.


WebPerfect MCP Server

An intelligent MCP server with a fully automated batch pipeline for web-ready images. It features optimized compression for smaller file sizes without sacrificing quality.

Features

Advanced Image Processing Pipeline

  • Noise reduction using median filtering
  • Intelligent auto levels and curves based on image entropy
  • Texture enhancement with modulation and sharpening
  • Resolution optimization (up to 4K)
  • Optimized WebP conversion

Tools

process_images

Process and optimize a batch of images.

{
  inputDir: string;      // Directory containing input images
  outputDir: string;     // Directory for optimized output
}

Installation

  1. Clone the repository:

    git clone https://github.com/splendasucks/webperfect-mcp-server.git
    cd webperfect-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the server:

    npm run build
    

Usage with Claude

  1. Add the server to your Claude MCP settings:

    {
      "mcpServers": {
        "webperfect": {
          "command": "node",
          "args": ["/path/to/webperfect-mcp-server/build/index.js"],
          "env": {}
        }
      }
    }
    
  2. Restart Claude to load the MCP server.

  3. The server will be available through Claude's MCP tools:

// Process a batch of images
<use_mcp_tool>
<server_name>webperfect</server_name>
<tool_name>process_images</tool_name>
<arguments>
{
  "inputDir": "/path/to/input",
  "outputDir": "/path/to/output"
}
</arguments>
</use_mcp_tool>

// Access processing statistics
<access_mcp_resource>
<server_name>webperfect</server_name>
<uri>stats/summary</uri>
</access_mcp_resource>

Requirements

  • Node.js >= 16
  • Sharp image processing library
  • Model Context Protocol SDK

License

MIT