WebPerfect MCP Server

WebPerfect MCP Server

By splendasucks GitHub

webperfect-mcp-server

javascript automation
Overview

What is WebPerfect MCP Server?

WebPerfect MCP Server is an intelligent server designed for processing and optimizing web-ready images through a fully automated batch pipeline.

How to use WebPerfect MCP Server?

To use the server, clone the repository, install the dependencies, build the server, and configure it within your Claude MCP settings to process images.

Key features of WebPerfect MCP Server?

  • Advanced image processing pipeline with noise reduction and auto levels/curves.
  • JPEG artifact removal and 4K resizing capabilities.
  • Smart sharpening with shadow/highlight enhancement.
  • Optimized WebP conversion for smaller file sizes without quality loss.

Use cases of WebPerfect MCP Server?

  1. Automating the optimization of images for web use.
  2. Enhancing image quality for digital solutions.
  3. Processing large batches of images efficiently.

FAQ from WebPerfect MCP Server?

  • What are the system requirements?

Node.js >= 16 and Sharp image processing library are required.

  • Can I use it with other image formats?

Yes, it supports various formats including JPEG and PNG.

  • Is there a license for this project?

Yes, it is licensed under MIT.

Content

WebPerfect MCP Server

An intelligent MCP server with a fully automated batch pipeline for web-ready images. Features include noise reduction, auto levels/curves, JPEG artifact removal, 4K resizing, smart sharpening with shadow/highlight enhancement, and advanced WebP conversion. Optimized compression delivers smaller files without sacrificing quality.

Features

Advanced Image Processing Pipeline

  1. Strong noise reduction using median filtering
  2. Intelligent auto levels and curves based on image entropy
  3. Advanced texture enhancement with modulation and sharpening
  4. Smart resolution optimization (up to 4K)
  5. Optimized WebP conversion

Tools

process_images

Process and optimize a batch of images with advanced enhancements.

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

Resources

Resource Templates

  • logs/{date}: Access processing logs by date (YYYY-MM-DD)

    {
      "date": "2024-01-20",
      "entries": [{
        "timestamp": "2024-01-20T10:00:00Z",
        "imagesProcessed": 15,
        "totalInputSize": "5.2MB",
        "totalOutputSize": "1.1MB",
        "compressionRatio": "78.8%",
        "averageProcessingTime": "1.2s"
      }]
    }
    
  • stats/monthly/{month}: Monthly statistics (YYYY-MM)

    {
      "month": "2024-01",
      "totalImagesProcessed": 450,
      "averageCompressionRatio": "82%",
      "popularFormats": {
        "input": ["JPEG", "PNG"],
        "output": ["WebP"]
      },
      "totalStorageSaved": "150MB"
    }
    

Static Resources

  • stats/summary: Overall processing statistics

    {
      "totalImagesProcessed": 5280,
      "averageCompressionRatio": "81%",
      "totalStorageSaved": "1.8GB",
      "popularEnhancements": [
        "noise_reduction",
        "auto_levels_curves",
        "texture_enhancement"
      ],
      "performanceMetrics": {
        "averageProcessingTime": "1.5s",
        "peakThroughput": "45 images/minute"
      }
    }
    
  • config/optimization-presets: Available optimization presets

    {
      "presets": {
        "web_standard": {
          "maxWidth": 1920,
          "format": "webp",
          "quality": 85,
          "enhancements": ["noise_reduction", "auto_levels_curves"]
        },
        "web_high_quality": {
          "maxWidth": 3840,
          "format": "webp",
          "quality": 90,
          "enhancements": [
            "noise_reduction",
            "auto_levels_curves",
            "texture_enhancement"
          ]
        },
        "thumbnail": {
          "maxWidth": 400,
          "format": "webp",
          "quality": 80,
          "enhancements": ["noise_reduction"]
        }
      }
    }
    

Installation

  1. Clone the repository:
git clone https://github.com/splendasucks/webperfect-mcp-server.git
cd webperfect-mcp-server
  1. Install dependencies:
npm install
  1. Build the server:
npm run build

Usage with Claude

  1. Add the server to your Claude MCP settings (typically in claude_desktop_config.json):
{
  "mcpServers": {
    "webperfect": {
      "command": "node",
      "args": ["/path/to/webperfect-mcp-server/build/index.js"],
      "env": {}
    }
  }
}
  1. Restart Claude to load the MCP server.

  2. The server will be available through Claude's MCP tools and resources:

// 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

No tools information available.
server
server by rulego

A lightweight dependency-free workflow automation platform. Supports iPaaS, stream computing, and AI capabilities.

workflow automation
View Details

Adapters for integrating Model Context Protocol (MCP) tools with LangChain.js applications, supporting both stdio and SSE transports.

javascript typescript
View Details

Adapters for integrating Model Context Protocol (MCP) tools with LangChain.js applications, supporting both stdio and SSE transports.

javascript typescript
View Details
Lamda
Lamda by firerpa

🤖 The most powerful Android RPA framework, the next generation of mobile automation robots.

android automation
View Details
TickTick MCP Server
TickTick MCP Server by Alex%20Arevalo

-

task-management automation
View Details
GenAIScript
GenAIScript by microsoft

Automatable GenAI Scripting

javascript agent
View Details

MCP Server using TypeScript and JavaScript made with official MCP docs handling US Weather data having context for two tools - showing weather forecast and weather alerts for US based location. Used Zod for data validation and architectured two folders - src and build , development (ts) and production (js) respectively.

javascript weather
View Details