clipboard_copy_image

MCP tool from MCP Clipboard by cmeans

Write a PNG or JPEG image to the system clipboard from base64-encoded bytes. Pass-through with no re-encoding; magic bytes are validated against the declared MIME. Use clipboardcopy for text.

How to use it

clipboard_copy_image is exposed by the MCP Clipboard MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the clipboard_copy_image tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Clipboard

$pipx run mcp-clipboard
FULL MCP CLIPBOARD LISTING

Other tools in MCP Clipboard (7)

clipboard_copy

Write text content to the system clipboard. Accepts an optional mimetype parameter (text/plain by default; also text/html, text/rtf, image/svg+xml, or any text/ on Wayland/X11).

clipboard_copy_markdown

Render markdown to HTML and place both formats on the clipboard so paste targets pick the right one — Slack/Gmail/Notion/Discord get rich text; vim/terminal get the source. macOS/Windows write both atomically; Wayland/X11 are single-MIME and write only text/html.

clipboard_list_formats

List what MIME types are currently on the clipboard. Accepts selection="primary" for the X11/Wayland PRIMARY selection.

clipboard_paste

Primary tool. Read any clipboard content: tables, text, code, JSON, URLs, images. Tables are formatted as Markdown/JSON/CSV; pass includeschema=true to append inferred column types. Images are returned as image content the model can see. Optional selection="primary" reads the X11/Wayland PRIMARY sel

clipboard_read_raw

Return raw clipboard content for a given MIME type (diagnostic). Any non-binary type passes through; only image/, audio/, video/, and application/octet-stream are rejected. Use clipboardpaste for images. Accepts selection="primary" for the X11/Wayland PRIMARY selection.

clipboard_version

Return the running mcp-clipboard package version as {"name": "mcp-clipboard", "version": "<x.y.z>"}. Diagnostic. Useful for hosts that don't surface the standard MCP serverInfo block to the model, and for test harnesses that need to record which build served a given run.

macOS

Built-in