
Clipboard Mcp Server
Gives Claude direct access to your system clipboard across macOS, Linux (X11/Wayland), and Windows. Three tools: read content in text, HTML, RTF, or image formats with auto-detection of the richest available type, write text or HTML with automatic plain-text fallback, and inspect what formats are present before reading. Handles size limits (512 KB for text formats, 5 MB for images), returns base64-encoded PNGs with dimensions, and throws typed errors when a requested format isn't available. Built on the mcp-ts-core framework with declarative tool definitions. Reach for this when you need Claude to paste code snippets, grab screenshots, or exchange structured content with other desktop apps without manual copy-paste steps.
- GitHub stars
- 3
- tools
- 3
- transport
- STDIO, HTTP
- env vars
- 9
- last updated
- Oct 29, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
clipboard_readRead clipboard contents in a specified format (text, HTML, RTF, image, or auto-select richest)
Read clipboard contents in a specified format (text, HTML, RTF, image, or auto-select richest)
No parameter schema in public metadata yet.
clipboard_writeWrite plain text or HTML to the clipboard, replacing current contents, or clear it outright
Write plain text or HTML to the clipboard, replacing current contents, or clear it outright
No parameter schema in public metadata yet.
clipboard_inspectList available clipboard formats and byte sizes without reading full content
List available clipboard formats and byte sizes without reading full content
No parameter schema in public metadata yet.
Sponsors
Configuration
MCP_LOG_LEVELdefault: infoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
CLIPBOARD_READ_ONLYdefault: falseServe the clipboard read-only. When true, clipboard_write is not registered: it is absent from tools/list and uncallable, absent from the manifest but shown as disabled on the landing page and startup log. Accepts true/false/1/0/yes/no/on/off.
MCP_TRANSPORT_TYPEdefault: httpSelects the HTTP transport.
MCP_HTTP_HOSTdefault: 127.0.0.1The hostname for the HTTP server.
MCP_HTTP_PORTdefault: 3010The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHdefault: /mcpThe endpoint path for the MCP server.
MCP_AUTH_MODEdefault: noneAuthentication mode to use: 'none', 'jwt', or 'oauth'.
MCP_HTTP_MAX_BODY_BYTESdefault: 7340032Maximum inbound JSON-RPC request body in bytes. Defaults to 7 MiB so a full-size clipboard_write survives worst-case JSON escaping; 0 disables the guard.
MCP_SESSION_MODEdefault: statelessHTTP session mode: 'auto', 'stateful', or 'stateless'. 'auto' resolves to 'stateful'. This server defaults to 'stateless'.
Readme
@cyanheads/clipboard-mcp-server
Read, write, and inspect the system clipboard across macOS, Linux (X11/Wayland), and Windows via MCP. STDIO or Streamable HTTP.
Details
- Repository
- github.com/cyanheads/clipboard-mcp-server
- Package
@cyanheads/clipboard-mcp-server- Transport
- STDIO, HTTP
- Registry
- MCP registry, active
More from cyanheads
- Guardian Mcp Server2
- Mailchimp Mcp Server2
- Sports Mcp Server2
- Whois Mcp Server2
- Federal Reserve Mcp Server1
- Shift Mcp Server1
- Anime Mcp Server2
- Survey Mcp Server4
- Mcp Ts Template145
- nist-nvd-mcp-server
- open-meteo-mcp-server
- openfda-mcp-server
- wikipedia-mcp-server
- census-mcp-server
- crossref-mcp-server
- eur-lex-mcp-server
- faostat-mcp-server
- fema-mcp-server
- libofcongress-mcp-server
- openfoodfacts-mcp-server
- orcid-mcp-server
- reference-data-mcp-server
- usaspending-mcp-server
- arxiv-mcp-server