Mochify MCP
mochify-cli
Ein Befehlszeilentool und MCP-Server für mochify.app — eine schnelle, auf Privatsphäre ausgerichtete API zur Bildkomprimierung und -konvertierung, die von einer nativen C++-Engine betrieben wird.
Komprimieren und konvertieren Sie Bilder in moderne Formate (AVIF, JXL, WebP, Jpegli) über Ihr Terminal oder geben Sie KI-Assistenten wie Claude direkten Zugriff auf die Bildverarbeitung über das Model Context Protocol.
Installation
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/Manuell: Alle Binärdateien unter Releases.
Aus dem Quellcode:
cargo install --path .Related MCP server: tinypng-mcp-server
Authentifizierung
Melden Sie sich mit Ihrem mochify.app-Konto an, um Ihr volles Kontingent freizuschalten:
mochify auth loginDies öffnet Ihren Browser, in dem Sie sich anmelden und die CLI autorisieren können. Ihre Anmeldedaten werden automatisch unter ~/.config/mochify/credentials.toml gespeichert — es sind keine Umgebungsvariablen oder manuelles Kopieren von Schlüsseln erforderlich. Sowohl die CLI als auch der MCP-Server übernehmen diese automatisch.
mochify auth status # check whether you're signed in
mochify auth logout # remove saved credentialsDer kostenlose Tarif (ohne Authentifizierung) ist auf 25 Bilder pro Tag begrenzt. Registrieren Sie sich unter mochify.app.
CLI-Nutzung
mochify [OPTIONS] <FILES>...Optionen
Flag | Beschreibung |
| Ausgabeformat: |
| Zielbreite in Pixeln |
| Zielhöhe in Pixeln |
| Auf exakte Abmessungen zuschneiden |
| Rotation: |
| Ausgabeverzeichnis (Standard: wie Eingabe) |
| Natürlichsprachliche Eingabeaufforderung — löst Parameter automatisch auf |
| API-Schlüssel-Überschreibung (oder Umgebungsvariable |
Beispiele
# 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-Server (Claude Desktop)
mochify kann als MCP-Server ausgeführt werden, wodurch Claude Bilder direkt aus dem Gespräch heraus für Sie verarbeiten kann.
Einrichtung
Führen Sie zuerst mochify auth login aus und fügen Sie dann Folgendes zu Ihrer Claude Desktop-Konfiguration unter ~/Library/Application Support/Claude/claude_desktop_config.json hinzu:
{
"mcpServers": {
"mochify": {
"command": "mochify",
"args": ["serve"]
}
}
}Starten Sie Claude Desktop neu. Der Mochify-Server erscheint in Ihren Verbindungen und verwendet automatisch Ihre gespeicherten Anmeldedaten.
Nutzung
Beschreiben Sie einfach in natürlicher Sprache, was Sie möchten, zusammen mit dem vollständigen Pfad zu Ihrem Bild:
"Konvertiere
/Users/me/Desktop/photo.jpgin AVIF mit 1000px Breite"
"Komprimiere alle JPEGs in
/Users/me/projects/blog/images/zu WebP und speichere sie unter/Users/me/projects/blog/compressed/"
Claude wird das squish-Tool automatisch aufrufen.
API
Betrieben durch die Mochify-API unter https://api.mochify.xyz/v1/squish.
Bilder werden im Arbeitsspeicher verarbeitet und niemals auf der Festplatte gespeichert
Unterstützt JPEG (Jpegli), AVIF, JXL, WebP und PNG als Ausgabe
Bis zu 25 MB pro Bild
Besuchen Sie mochify.app für die Weboberfläche.
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