Read, write, and inspect the system clipboard on macOS, Linux (X11/Wayland), and Windows via MCP.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"clipboard-mcp-server": {
"env": {
"MCP_LOG_LEVEL": "info",
"MCP_TRANSPORT_TYPE": "stdio"
},
"args": [
"@cyanheads/clipboard-mcp-server@latest"
],
"type": "stdio",
"command": "bunx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
3 tools for reading, writing, and inspecting the system clipboard:
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in productivity
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Local-first AI memory with knowledge graphs and hybrid search. 17+ AI tools via MCP. Free.
MCP server for monday.com integration.
MCP Security Weekly
Get CVE alerts and security updates for io.github.cyanheads/clipboard-mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Read, write, and inspect the system clipboard across macOS, Linux (X11/Wayland), and Windows via MCP. STDIO or Streamable HTTP.
3 tools for reading, writing, and inspecting the system clipboard:
| Tool | Description |
|---|---|
clipboard_read | Read clipboard contents in a specified format (text, HTML, RTF, image, or auto-select richest) |
clipboard_write | Write plain text or HTML to the clipboard, replacing current contents |
clipboard_inspect | List available clipboard formats and byte sizes without reading full content |
clipboard_readRead the current clipboard contents in a requested format.
auto mode returns the richest format explicitly present — priority: image > html > rtf > textimage returns base64-encoded PNG data with pixel dimensionshtml returns raw HTML source as copied from a browserrtf returns raw RTF markuptext returns plain textformat_unavailable error when the requested format is not on the clipboard — use clipboard_inspect first to check availabilityclipboard_writeWrite content to the clipboard, replacing current contents.
text writes plain texthtml writes HTML with an auto-generated plain-text fallback (tag-stripped), so paste targets that only accept plain text still receive something usefuldestructiveHint: true — replaces whatever is currently on the clipboardclipboard_inspectList the formats and byte sizes of what is currently on the clipboard without reading the full content.
primaryFormat — the richest format present (image > html > rtf > text), or emptyavailableFormats — all semantic formats present, for deciding which format to pass to clipboard_readrawTypes — all raw platform type identifiers with byte sizes (UTIs on macOS, TARGETS on X11/Wayland, format names on Windows)clipboard_read to avoid format_unavailable errors and to check content size b