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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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 compressi22510MIT
- 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 gradedqualityCmaintenanceMCP server for image optimization, conversion, AI generation, and gallery management via SnapiX API.28MIT
Related MCP Connectors
Normalize and convert more than 400 file types via TweekIT's hosted MCP streamable HTTP endpoint.
MCP server for Tinify image optimization — one tool, max optimization
Create App Store screenshots, icons, ASO copy, localization, and revisions via hosted MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/getmochify/mochify-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server