Summary
The clipboard as a two-way channel.
It closes the copy-paste loop: what you copy is readable by the assistant, and what the assistant produces goes back to where you will paste it. watch_clipboard means it can act the moment you copy something.
What it is
A single Rust binary that gives an assistant read and write access to your system clipboard. It uses 1Password's arboard library rather than shelling out to pbcopy or xclip, and runs on Windows, macOS and Linux under both X11 and Wayland.
What you get
- get_clipboard reads the current text; content over 100 KB is truncated
- set_clipboard writes text back, up to 1 MB
- get_clipboard_html reads HTML content, so rich text copied from a browser keeps its markup
- watch_clipboard waits for the clipboard to change — a default timeout you can raise through timeout_secs, with several watches running at once
- list_clipboard_formats probes what is available: text, HTML, image or files
- clear_clipboard empties it
- One binary with no Python or Node runtime behind it; stdio by default, HTTP when a remote agent needs to reach it
Requirements
`cargo install clipboard-mcp`, or a prebuilt binary from GitHub Releases. Nothing else to install.
Setup effort
One command — cargo install clipboard-mcp
