Mochify MCP
mochify-cli
mochify.app用のコマンドラインツールおよびMCPサーバーです。ネイティブC++エンジンを搭載した、高速でプライバシーを重視した画像圧縮・変換APIです。
ターミナルから画像をモダンなフォーマット(AVIF、JXL、WebP、Jpegli)に圧縮・変換したり、Model Context Protocolを通じてClaudeのようなAIアシスタントに直接画像処理機能を提供したりできます。
インストール
macOS (Homebrew):
brew tap getmochify/mochify
brew install mochifyLinux / WSL:
# x86_64
curl -L https://github.com/getmochify/mochify-cli/releases/latest/download/mochify-linux-x86_64 -o mochify
chmod +x mochify
sudo mv mochify /usr/local/bin/
# arm64
curl -L https://github.com/getmochify/mochify-cli/releases/latest/download/mochify-linux-arm64 -o mochify
chmod +x mochify
sudo mv mochify /usr/local/bin/手動: すべてのバイナリはReleasesから入手可能です。
ソースから:
cargo install --path .Related MCP server: tinypng-mcp-server
認証
mochify.appアカウントでサインインして、クォータを最大限に活用しましょう:
mochify auth loginブラウザが開き、サインインしてCLIを承認します。認証情報は自動的に ~/.config/mochify/credentials.toml に保存されるため、環境変数の設定や手動でのキーコピーは不要です。CLIとMCPサーバーの両方が自動的に読み込みます。
mochify auth status # check whether you're signed in
mochify auth logout # remove saved credentials無料枠(未認証)は1日25枚までです。mochify.appでサインアップしてください。
CLIの使用方法
mochify [OPTIONS] <FILES>...オプション
フラグ | 説明 |
| 出力フォーマット: |
| ターゲットの幅(ピクセル) |
| ターゲットの高さ(ピクセル) |
| 指定した寸法にクロップ |
| 回転: |
| 出力ディレクトリ(デフォルト: 入力と同じ) |
| 自然言語プロンプト — パラメータを自動的に解決 |
| APIキーの上書き(または |
例
# Convert a JPEG to AVIF
mochify photo.jpg -t avif
# Resize and convert to WebP
mochify photo.jpg -t webp -w 800
# Batch convert a folder to AVIF at 1200px wide
mochify ./images/*.jpg -t avif -w 1200 -o ./compressed
# Use a natural-language prompt instead of explicit flags
mochify photo.jpg -p "convert to avif and resize to 1200px wide"
# Prompt works with multiple files too
mochify ./images/*.jpg -p "compress for web, keep under 1000px wide" -o ./outMCPサーバー (Claude Desktop)
mochify はMCPサーバーとして実行でき、Claudeが会話から直接あなたの代わりに画像を処理できるようになります。
セットアップ
最初に mochify auth login を実行し、以下の内容をClaude Desktopの設定ファイル ~/Library/Application Support/Claude/claude_desktop_config.json に追加してください:
{
"mcpServers": {
"mochify": {
"command": "mochify",
"args": ["serve"]
}
}
}Claude Desktopを再起動します。mochifyサーバーが接続先に表示され、保存された認証情報が自動的に使用されます。
使用方法
画像へのフルパスを指定して、自然言語でやりたいことを伝えるだけです:
"Convert
/Users/me/Desktop/photo.jpgto AVIF at 1000px wide"
"Compress all the JPEGs in
/Users/me/projects/blog/images/to WebP and save them to/Users/me/projects/blog/compressed/"
Claudeが自動的に squish ツールを呼び出します。
API
https://api.mochify.xyz/v1/squish のmochify APIによって動作します。
画像はメモリ内で処理され、ディスクには保存されません
JPEG (Jpegli)、AVIF、JXL、WebP、PNGの出力に対応
1画像あたり最大25MBまで
ウェブインターフェースについてはmochify.appをご覧ください。
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert images to PNG, JPEG, WebP, or AVIF through one public remote MCP tool.
Image processing over MCP: compress and split images, generate images and QR codes.
Normalize and convert more than 400 file types via TweekIT's hosted MCP streamable HTTP endpoint.
Hosted MCP tools for FFmpeg-style video and audio processing through FFMPEG API.
Related MCP Servers
- AlicenseCqualityDmaintenanceImage Tools MCP is a Model Context Protocol (MCP) service that retrieves image dimensions and compresses images from URLs and local files using the TinyPNG API. It supports converting images to formats like webp, jpeg/jpg, and png, providing detailed information on width, height, type, and compressi210 npm9MIT
- Apache 2.0

Cloudinaryofficial
AlicenseNot gradedqualityDmaintenanceCloudinary MCP server enables AI agents to upload, manage, analyze transform, optimize and deliver media using Cloudinary’s API.10MIT- AlicenseNot gradedqualityDmaintenanceMCP server for image optimization, conversion, AI generation, and gallery management via SnapiX API.7 npmMIT