
Clippy
io.github.neilberkman由 GitHub 帳號 neilberkman 發布v1.9.1更新於 Oct 24, 2026
Copy AI-generated content to the macOS clipboard: rich Gmail-ready email drafts, text, and files
概覽
僅支援 macOS 的 MCP 伺服器,讓 AI 助理把產生的文字、郵件草稿和檔案直接複製到系統剪貼簿。
- 可以做什麼
- Clippy 在命令列剪貼簿工具之外執行一個本機 MCP 伺服器。工具包括:clipboard_copy 複製文字或檔案,copy_email 複製結構化、可直接貼進 Gmail 的富文字郵件草稿,clipboard_paste 把剪貼簿內容寫入檔案或目錄,get_recent_downloads 列出最近下載的檔案,以及 buffer_copy、buffer_cut、buffer_paste、buffer_list 透過助理的私有緩衝區搬移檔案位元組,不碰系統剪貼簿。它也能把 Markdown 轉成富文字郵件或 Slack 編輯器格式。
- 適用情境
- 適合希望助理產生的內容(例如程式碼、郵件草稿或 Markdown 文件)直接進入剪貼簿、隨時貼到其他應用程式的場合。也適合透過緩衝區工具做逐位元組精確的檔案編輯,讓助理搬移檔案內容而不必重新輸出成 token。
- 執行需求
- 僅支援 macOS,以本機程序執行。README 使用 Homebrew 安裝,並以指向 clippy 執行檔並帶上 mcp-server 參數的方式註冊到 Claude Code 或 Claude Desktop。未宣告任何帳號、API 金鑰、環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Clippy,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Clippy 📎
[Homebrew] [Release] [CI] [Go Version] [License]
Copy files from your terminal that actually paste into GUI apps. No more switching to Finder.
macOS only - built specifically for the Mac clipboard system.
Why Clippy?
pbcopy copies file contents, but GUI apps need file references. When you pbcopy < image.png, you can't paste it into Slack or email - those apps expect files, not raw bytes.
Clippy bridges this gap by detecting what you want and using the right clipboard format:
Stay in your terminal. Copy anything. Paste anywhere.
Installation:
The Terminal-First Clipboard Suite: Clippy copies files to clipboard, includes an MCP server for AI assistants, Pasty pastes intelligently, and Draggy (optional GUI) bridges drag-and-drop workflows. Use as a Go library for custom integrations. All designed to minimize context switching from your terminal.
Core Features
1. Smart File Copying
2. Recent Downloads
3. Find Files with Spotlight
No more switching to Finder to search for files - find and copy them directly from your terminal.
4. Pipe Data as Files
5. Copy and Paste Together
6. Clear Clipboard
7. Content Type Detection
A nice bonus: clippy auto-detects content types (JSON, HTML, XML) so receiving apps handle them properly - something pbcopy can't do. This means when you paste into apps that support rich content, they'll handle it correctly - JSON viewers will syntax highlight, HTML will render, etc.
8. Gmail-Ready Markdown Email
Copy Markdown, render it as rich email content, then paste normally into Gmail, Mimestream, Mail, or another rich composer:
The clipboard carries HTML, RTF, and plain-text representations together. Rich composers preserve intentional paragraph spacing, emphasis, links, lists, inline code, and Mimestream-style fenced code blocks; plain-text targets still receive a readable fallback.
9. Native Slack Messages
Write Markdown, then paste into any Slack composer and get real formatting — not literal asterisks:
Slack's composer stores messages as a Quill Delta document and puts that same
document on the clipboard when you copy from it. md2slack writes exactly that
format, so a normal Command-V produces bold, italic, strikethrough, inline
code, code blocks, block quotes, headings, links, and bulleted or numbered
lists (including nesting) — as though the message had been typed in Slack.
Slack has no table, image, or horizontal-rule construct, so tables become unaligned text rows, images become links, and rules become a divider line. Anything that does not understand the Slack format receives plain text.
For aligned columns, use space-padded text inside a fenced code block. Put both fences on their own lines, with real line breaks between the rows:
Indentation inside a fence is preserved; it is not required to create a code
block. Keep existing column padding when editing. Input uses CommonMark/GFM
syntax (**bold**, ~~strikethrough~~), not Slack's mrkdwn syntax.
The copy_slack MCP tool returns formatting counts and warnings. Set
expected_code_blocks: 1 for a message with one fenced table: a mismatch
returns an error before changing the clipboard. preview: true reports the
same counts and warnings without copying. clippy --verbose md2slack reports
counts too, and the CLI always prints formatting warnings.
These counts describe generated formatting, not a verified Slack paste. Use normal Command-V. Plain-text clipboard reads omit formatting and fence markers, so they cannot verify code blocks. If the counts are correct but the paste is wrong, inspect the clipboard/paste path before changing the Markdown. The MCP tool and CLI use the same renderer.
10. Helpful Flags
Why "Clippy"?
Because it's a helpful clipboard assistant that knows what you want to do! 📎
MCP Server
Clippy includes a built-in MCP (Model Context Protocol) server that lets AI assistants copy generated content directly to your clipboard.
Ask Claude to generate any text - code, emails, documents - and have it instantly available to paste anywhere:
- "Write a Python script to process CSV files and copy it to my clipboard"
- "Draft an email about the meeting and put it on my clipboard"
- "Generate that regex and copy it so I can paste into my editor"
No more manual selecting and copying from the chat interface.
For email drafts, the dedicated copy_email tool is advertised to the model.
Prefer its explicit salutation, body_markdown, and signoff fields so the
email structure is preserved without guessing at language-specific greetings.
The complete-body markdown field remains available for compatibility. The
tool only copies the draft; it does not address or send mail.
Setup
Claude Code:
Note: $(which clippy) finds the clippy binary on your system. On Apple Silicon Macs this is typically /opt/homebrew/bin/clippy, on Intel Macs it's /usr/local/bin/clippy.
Claude Desktop:
Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json):
Metadata Overrides (Optional)
You can customize MCP tool/prompt/example descriptions without changing behavior:
By default, override files can be partial. Add --strict-metadata to require full coverage of every tool, prompt, and parameter.
Available Tools
System Clipboard Tools
- clipboard_copy - Copy text or files to system clipboard
- copy_email - Copy a structured email draft as Gmail-ready rich text (never sends)
- clipboard_paste - Paste clipboard content to files/directories
- get_recent_downloads - List recently downloaded files
Agent Buffer Tools
- buffer_copy - Copy file bytes (with optional line ranges) to agent's private buffer
- buffer_cut - Cut lines from file to buffer (copy and delete from source)
- buffer_paste - Paste bytes to file with append/insert/replace modes
- buffer_list - Show buffer metadata (lines, source file, range)
Why buffer tools? Solves the LLM "remember and re-emit" problem. The MCP server reads/writes file bytes directly - agents never generate tokens for copied content. Enables surgical refactoring (copy lines 17-32, paste to replace lines 5-8) with byte-for-byte accuracy, without touching your system clipboard.
Pasty - Intelligent Clipboard Pasting
When you copy a file in Finder and press ⌘V in terminal, you just get the filename as text. Pasty actually copies the file itself to your current directory.
Core Use Cases
1. Copy file in Finder → Paste actual file in terminal
2. Smart text file handling
3. Save browser images
Also handles rich text with embedded images (.rtfd bundles from TextEdit/Notes).
4. Debugging and plain text extraction
By default, pasty uses Finder-style duplicate naming if a file already exists.
Draggy - Visual Clipboard Companion
Draggy is a menu bar app that brings visual functionality to your clipboard workflow. While clippy handles copying from the terminal, Draggy provides a visual interface for dragging files to applications and viewing recent downloads.
Important: Draggy is a separate, optional tool. It's not automatically installed with clippy.
Features
Core Functionality
- Drag & Drop Bridge - Makes clipboard files draggable to web browsers, Slack, and other apps
- Recent Downloads Viewer - Toggle between clipboard and recent downloads with one click
- File Thumbnails - Visual previews for images and PDFs right in the file list
- Quick Preview - Hold ⌥ Option while hovering to see larger previews
- Zero Background Activity - No polling or battery drain, only activates on demand
User Experience
- Double-Click to Open - Quick access to files without leaving the menu
- Keyboard Shortcuts - ESC to close, Space to refresh
Design Philosophy
- Not a clipboard manager - No history, no database, no complexity
- Terminal-first workflow - Designed to complement terminal usage, not replace it
- Minimal but complete - Every feature serves a specific workflow need
Installation
⚠️ First Launch: macOS may show a security warning since Draggy isn't code-signed. If you see "Draggy is damaged and can't be opened":
- The Homebrew cask automatically removes the quarantine flag during installation
- If the warning persists, run:
xattr -dr com.apple.quarantine /Applications/Draggy.app - Or right-click Draggy.app and select "Open" to bypass Gatekeeper
Usage
Workflow Examples
Upload screenshots to GitHub:
Quick file sharing:
Recent downloads workflow:
Philosophy
Draggy is intentionally not a clipboard manager. No history, no search, no database. It's a visual bridge between your terminal clipboard workflow and GUI applications. For terminal users who occasionally need to see what's on their clipboard or drag files somewhere, then get back to work.
Build from Source
Library
Clippy can be used as a Go library in your own applications:
High-Level API
Features
- Smart Detection: Automatically determines whether to copy as file reference or text content
- Multiple Files: Copy multiple files in one operation
- Reader Support: Copy from any io.Reader with automatic format detection
- Clipboard Access: Read current clipboard content (text or file paths)
- Cross-Platform Types: Uses standard Go types, handles platform-specific clipboard internally
License
MIT
來源:README.md,提交 7aab75c
工具
0版本歷史
1- v1.9.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分