MCP cover image
splendasucks_webperfect-mcp-server logo
Public

splendasucks_webperfect-mcp-server

See in Github
2024-12-25

Mirror ofhttps://github.com/splendasucks/webperfect-mcp-server

0

Github Watches

1

Github Forks

0

Github Stars

📷✨ WebPerfect MCP Server

Transform your images into web-optimized masterpieces with AI-powered precision

License: MIT Node.js Version Sharp


✨ Overview

WebPerfect is a cutting-edge MCP server that revolutionizes image optimization for the web. Using advanced AI algorithms and sophisticated processing techniques, it automatically enhances your images while dramatically reducing file sizes - all without compromising visual quality.

🚀 Key Benefits

  • Intelligent Processing: AI-powered algorithms adapt to each image's unique characteristics
  • Superior Quality: Enhanced visual clarity with smart sharpening and noise reduction
  • Maximum Compression: Achieve up to 80% size reduction while preserving image quality
  • Batch Automation: Process entire directories with a single command
  • Web Optimized: Perfect for modern web applications and responsive designs

🛠 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

Effortlessly process and optimize entire image collections with our advanced enhancement pipeline.

{
  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"]
        }
      }
    }
    

🚀 Getting Started

📥 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 © 2024 WebPerfect Contributors

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

    Reviews

    5 (1)
    Avatar
    user_bYLmrQEv
    2025-04-15

    The MCP Server Tester by nandkumar1000 is an essential tool for anyone looking to ensure optimal performance of their servers. The user-friendly interface and comprehensive testing capabilities make it a standout in its category. It is a must-have for reliable server maintenance and performance checks. Highly recommended for professionals and hobbyists alike!