cleanshot
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cleanshot capture a fullscreen screenshot and return the image"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cleanshot-cli
Kommandozeile für CleanShot X auf macOS, in Python. Neuschreibung des Go-Werkzeugs XiaofengXie16/cleanshot-cli.
Jeder Befehl wird in eine cleanshot://-URL übersetzt und per open an die App
übergeben. CleanShot X muss installiert sein. Das URL-Schema meldet nicht zurück,
ob die Aktion geklappt hat. Die Ausgabe sagt deshalb nur „übergeben“.
Installation
uv tool install . # stellt den Befehl `cleanshot-cli` bereit
# oder im Projekt:
uv sync && uv run cleanshot-cli --helpRelated MCP server: Screenshot MCP (macOS)
Befehle
Befehl | URL-Befehl | Optionen |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| |
|
| |
|
| |
| gleichnamig | |
|
|
Optionen:
-a, --action:copy,save,annotate,upload,pin-d, --display: Bildschirm, ab 1--x --y --width --height: nur alle vier zusammen;0ist eine gültige Koordinate-f, --file: Bilddatei, muss existieren, wird zum absoluten Pfad
Globale Optionen (vor dem Befehl): -v/--verbose gibt die URL aus,
-q/--quiet unterdrückt die Ausgabe, -n/--dry-run gibt nur die URL aus und ruft
nichts auf, --version.
cleanshot-cli capture-fullscreen -a copy
cleanshot-cli capture-area --x 0 --y 0 --width 800 --height 600 -a upload
cleanshot-cli -n capture-text -f "$HOME/Desktop/Bild mit Leerzeichen.png"
cleanshot-cli settings -t shortcutsMCP-Server
cleanshot-cli mcp startet einen MCP-Server über stdio. Dafür braucht es das
optionale Extra mcp:
uv tool install '.[mcp]'
claude mcp add cleanshot -- cleanshot-cli mcpOhne Installation, direkt aus dem Projekt:
claude mcp add cleanshot -- uv --directory ~/src_own/cleanshot-cli run --extra mcp cleanshot-cli mcpFür Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"cleanshot": { "command": "cleanshot-cli", "args": ["mcp"] }
}
}Werkzeug | Zweck |
| Aufnahme starten ( |
| Aufnehmen, speichern und das Bild an den Client zurückgeben |
| Neueste Aufnahme aus dem Speicherordner zurückgeben |
| Bildschirmvideo starten |
| OCR, Ergebnis landet in der Zwischenablage |
| Editor öffnen bzw. Bild anheften, optional mit Datei |
| Einstellungen öffnen |
| Befehle ohne Parameter (history, restore, Schreibtischsymbole, …) |
Nur capture_image und latest_capture liefern ein Bild. Alle anderen Werkzeuge
melden nur, dass der Befehl übergeben wurde. Bei area, window und scrolling
muss ein Mensch am Bildschirm auswählen.
Den Speicherordner liest der Server aus den CleanShot-Einstellungen
(defaults read pl.maketheweb.cleanshotx exportPath). Mit CLEANSHOT_EXPORT_DIR
lässt er sich überschreiben, Rückfall ist ~/Desktop. Bilder mit einer Kante über
1568 px werden vor der Rückgabe per sips verkleinert.
Unterschiede zur Go-Vorlage
x=0/y=0gehen nicht mehr verloren.Leerzeichen werden als
%20statt+kodiert.Ungültige Werte für
--action/--display, unvollständige Bereiche und fehlende Dateien werden abgelehnt, bevor CleanShot aufgerufen wird.Erfolgsmeldungen versprechen nichts, was das URL-Schema nicht bestätigt.
--version,--dry-run,--verbose,--quietund Tests sind neu.pinnimmt zusätzlich--file.
Entwicklung
uv sync --extra mcp
uv run pytest
uv run ruff check . && uv run ruff format --check .
uv run mypyDie Tests ersetzen subprocess.run per autouse-Fixture und rufen CleanShot nie
wirklich auf.
Lizenz
MIT, siehe LICENSE. CleanShot X ist ein kommerzielles Produkt von MakeTheWeb; dieses Projekt steht in keiner Verbindung dazu.
Available Tools
9 toolsannotateC
Oeffnet den Annotationseditor, optional mit einer Bilddatei.
Inputs: file. Returns: result
captureA
Startet eine Bildschirmaufnahme in CleanShot X.
mode: area (Bereich), fullscreen, window, previous_area (letzter Bereich),
self_timer, scrolling. area/window/scrolling verlangen eine Auswahl durch
den Menschen. display (ab 1) nur bei area, fullscreen, self_timer. Bereich
x/y/width/height nur bei area und nur alle vier zusammen. Das Bild kommt
nicht zurueck - dafuer capture_image verwenden.
Inputs: mode (required), x, y, width, +3 more. Returns: result
capture_imageA
Nimmt auf, speichert und gibt das Bild zurueck.
Wie capture, aber mit action=save; wartet bis zu timeout Sekunden auf die neue Datei im CleanShot-Speicherordner und liefert sie (verkleinert) als Bild plus Pfad. Bei area/window/scrolling muss der Mensch auswaehlen.
Inputs: x, y, mode, width, +3 more.
capture_textA
Texterkennung (OCR): ohne file waehlt der Mensch einen Bereich.
Der erkannte Text landet in der Zwischenablage, nicht in der Antwort.
Inputs: file. Returns: result
latest_captureB
Gibt die neueste Aufnahme aus dem CleanShot-Speicherordner zurueck.
Inputs: no named parameters.
open_settingsC
Oeffnet die Einstellungen, optional einen Reiter (general, shortcuts, ...).
Inputs: tab. Returns: result
pinC
Heftet ein Bild als schwebendes Fenster an den Bildschirm.
Inputs: file. Returns: result
record_screenC
Startet die Bildschirmaufnahme (Video), optional mit Bereich.
Inputs: x, y, width, height, +1 more. Returns: result
run_simpleC
Einfache Befehle ohne Parameter.
annotate-clipboard, all-in-one, history, restore (zuletzt geschlossene Aufnahme), toggle-/hide-/show-desktop-icons, quick-access.
Inputs: name (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
capture vs capture_image vs latest_capture all center on producing a screenshot, and the descriptions spend words explaining which is which, which signals genuine overlap. run_simple also overlaps with annotate (annotate-clipboard), pin, open_settings and latest_capture (history/restore) by acting as a catch-all for operations that exist as dedicated tools.
Everything is snake_case, but the patterns are mixed: bare verb (capture), verb_noun (capture_image, capture_text, record_screen, open_settings, run_simple), and adjective_noun (latest_capture). The capture_* prefix grouping helps, but there is no single predictable convention.
Nine tools is well within a natural range for a screenshot utility app and each maps to a recognizable CleanShot feature area (photo capture, video, OCR, annotate, pin, settings, misc commands). Nothing feels padded or missing purely on count.
Core capture/annotate/pin flows are covered, but record_screen starts a video with no corresponding stop or retrieve-recording tool, and capture_text only places OCR output in the clipboard with no tool to read it back. History is reachable only indirectly via run_simple, leaving real dead ends for an agent.
Maintenance
Related MCP Connectors
Clean PNG/JPEG screenshots via REST or MCP, with goal-driven multi-step navigation.
Create App Store screenshots, icons, ASO copy, localization, and revisions via hosted MCP.
Capture website screenshots, run bulk captures, and manage screenshot schedules and history.
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides screenshot and OCR capabilities for macOS.141 npm23MIT
- AlicenseAqualityDmaintenanceA macOS-based MCP server that allows for capturing screenshots of displays and windows, as well as recording window activity to MP4 files. It leverages a Swift CLI backend to interact with macOS CoreGraphics and AVFoundation APIs for seamless screen capture management.71MIT
- AlicenseAqualityDmaintenanceEnables screen capture, OCR text extraction, and automated clicking on macOS through MCP. Supports fullscreen, window, and region capture with optional text recognition and monitoring.9MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to control macOS via accessibility and screen recording, providing tools to list apps, observe UI, click, type, press keys, and scroll.MIT