WebPerfect MCP Server

by splendasucks
Verified

local-only server

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

Integrations

  • Provides JPEG artifact removal as part of the image processing pipeline

  • Uses the Sharp image processing library to perform advanced image optimizations and processing

WebPerfect MCP サーバー

ウェブ対応画像のための完全自動化バッチパイプラインを備えたインテリジェントなMCPサーバー。ノイズ低減、自動レベル補正/カーブ補正、JPEGアーティファクト除去、4Kリサイズ、シャドウ/ハイライト強調機能付きスマートシャープニング、高度なWebP変換などの機能を備えています。最適化された圧縮により、画質を損なうことなくファイルサイズを縮小できます。

特徴

高度な画像処理パイプライン

  1. 中央値フィルタリングを使用した強力なノイズ低減
  2. 画像エントロピーに基づいたインテリジェントな自動レベル調整とカーブ
  3. 変調とシャープニングによる高度なテクスチャ強化
  4. スマート解像度最適化(最大4K)
  5. 最適化されたWebP変換

ツール

process_images

高度な拡張機能を使用して、一連の画像を処理および最適化します。

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

リソース

リソーステンプレート

  • logs/{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} : 月次統計 (YYYY-MM)
    { "month": "2024-01", "totalImagesProcessed": 450, "averageCompressionRatio": "82%", "popularFormats": { "input": ["JPEG", "PNG"], "output": ["WebP"] }, "totalStorageSaved": "150MB" }

静的リソース

  • stats/summary : 全体的な処理統計
    { "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 : 利用可能な最適化プリセット
    { "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"] } } }

インストール

  1. リポジトリをクローンします。
git clone https://github.com/splendasucks/webperfect-mcp-server.git cd webperfect-mcp-server
  1. 依存関係をインストールします:
npm install
  1. サーバーを構築します。
npm run build

クロードとの使用

  1. サーバーを Claude MCP 設定 (通常はclaude_desktop_config.json内) に追加します。
{ "mcpServers": { "webperfect": { "command": "node", "args": ["/path/to/webperfect-mcp-server/build/index.js"], "env": {} } } }
  1. Claude を再起動して MCP サーバーをロードします。
  2. サーバーは、Claude の MCP ツールとリソースを通じて利用できるようになります。
// 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>

要件

  • Node.js >= 16
  • シャープ画像処理ライブラリ
  • モデルコンテキストプロトコルSDK

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

ウェブ対応画像のための完全自動化バッチパイプラインを備えたインテリジェントなMCPサーバー。ノイズ低減、自動レベル補正/カーブ補正、JPEGアーティファクト除去、4Kリサイズ、シャドウ/ハイライト強調機能付きスマートシャープニング、高度なWebP変換などの機能を備えています。

  1. Features
    1. Advanced Image Processing Pipeline
    2. Tools
    3. Resources
  2. Installation
    1. Usage with Claude
      1. Requirements
        1. License
          ID: am3lop071j