Clipboard

v2.6.3
io.github.cmeans/mcp-clipboard Checked 1 day ago Published 1 month ago

Read and write the system clipboard — tables, text, code, JSON, URLs, images, and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

clipboard_paste

Paste clipboard contents. Reads the user's system clipboard and returns the content. This is the primary clipboard tool. WHEN TO CALL THIS TOOL: Call this tool when the user says "paste", "paste it", "paste the data", "what's on my clipboard", "read my clipboard", "read what I copied", "what did I copy", "show clipboard", "from my clipboard", "use what I copied", "I copied something", "check my clipboard", or ANY phrase that implies reading from or pasting from the clipboard. Also call this tool when the user references data that is NOT present in the conversation — for example: "format t…

ParameterTypeDescription
include_schemaboolean
output_formatstring
selectionstring

clipboard_read_raw

Read raw clipboard content in a specific MIME format. Diagnostic tool only — use clipboard_paste instead for normal clipboard access. This tool returns the clipboard content as-is without any parsing or restructuring. Use clipboard_list_formats first to see what MIME types are available. Supports any non-binary MIME type. The most common values are text/* types, plus image/svg+xml (text-readable despite the image/ prefix). application/* types pass through as well (application/json, application/xml, application/xhtml+xml, etc.) because the only blocked prefixes are image/, audio/, video/, a…

ParameterTypeDescription
mime_typestring
selectionstring

clipboard_list_formats

List the MIME types / formats currently on the system clipboard. Diagnostic tool — use clipboard_paste to actually read and return clipboard content. Lists what formats are present. For spreadsheet data, you want to see "text/html" (best) or "text/plain" (fallback with tab-separated values). Args: selection: Which buffer to list. Defaults to "clipboard". Pass "primary" to list formats on the X11/Wayland PRIMARY selection. macOS and Windows have no PRIMARY analog and will return an error if "primary" is passed. Returns: A list of available clipboard formats.

ParameterTypeDescription
selectionstring

clipboard_copy

Copy text to the user's system clipboard. Replaces whatever is currently on the clipboard with the provided content. WHEN TO CALL THIS TOOL: Call this tool when the user says "copy this", "put this on my clipboard", "copy to clipboard", "send to clipboard", or any phrase that implies writing content to the clipboard. Also call this tool when you have produced formatted output (cleaned-up JSON, a markdown table, reformatted code, an HTML table, etc.) and the user wants to use it outside the conversation — copying to clipboard lets them paste it elsewhere. Args: content: The text to pl…

ParameterTypeDescription
content *string
mime_typestring

clipboard_copy_image

Write an image to the user's system clipboard. Replaces whatever is currently on the clipboard with the provided image so it can be pasted into other applications (Slack, Gmail, Figma, image editors, etc.). WHEN TO CALL THIS TOOL: Call this tool when the user says "copy this image", "put this on my clipboard", or any phrase that implies writing an image to the clipboard. Also call it when you have produced or fetched an image (a chart, a screenshot, a generated image) and the user wants to paste it elsewhere. For text content, use `clipboard_copy` instead. Args: image_data: Base64-enco…

ParameterTypeDescription
image_data *string
mime_typestring

clipboard_copy_markdown

Render markdown to HTML and place both formats on the system clipboard so the user can paste rich text into apps that prefer formatted content (Slack, Gmail, Notion, Word, Google Docs, Discord) AND plain markdown into apps that prefer source (text editors, terminals). WHEN TO CALL THIS TOOL: Call this tool when the user wants formatted output to paste into a rich-text target — bulleted lists, headings, links, code, bold/italic emphasis. Examples: "summarize these emails as a list and copy it", "copy this as formatted text", "put this on my clipboard so I can paste it into Slack with format…

ParameterTypeDescription
text *string

clipboard_version

Return the version of mcp-clipboard currently running. Use this when you need to record or report which mcp-clipboard build is serving the current MCP session — for example, in test harnesses, diagnostic dumps, or when the user asks which version is installed. The version is read from the package metadata at runtime, so it always matches the wheel actually serving the call. Returns: A dict with keys "name" (always "mcp-clipboard") and "version" (the installed version string, e.g. "2.6.1"). If the package metadata cannot be located (uninstalled source checkout), returns "0.0…