Provides clipboard integration specifically built for the Mac clipboard system, enabling file reference copying and pasting between terminal and GUI applications
Enables copying files as references that can be pasted and uploaded directly into Slack conversations
Clippy 📎
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.
The Terminal-First Clipboard Suite: Clippy copies files to clipboard, Pasty pastes them 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.
💡 Bonus: Clippy includes an MCP server for AI assistants like Claude to copy generated content directly to your clipboard.
Installation
Homebrew (Recommended)
Build from Source
Core Features
1. Smart File Copying
2. Recent Downloads
3. Pipe Data as Files
4. Copy and Paste Together
5. Clear Clipboard
6. Helpful Flags
Why "Clippy"?
Because it's a helpful clipboard assistant that knows what you want to do! 📎
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
Install & Use
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.
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.
Setup
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json
):
Available Tools
- clipboard_copy - Copy text or files to clipboard
- clipboard_paste - Paste clipboard content to files/directories
- get_recent_downloads - List recently downloaded files
Claude can generate content and put it directly on your clipboard, ready to paste wherever you need it.
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
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Gives AI assistants direct access to macOS clipboard - letting Claude copy generated code, text, or files straight to your clipboard for pasting anywhere on Mac.
Related MCP Servers
- AsecurityAlicenseAqualityBridges Claude AI with Xcode, enabling AI-powered code assistance, project management, and automated development tasks securely on your local machine.Last updated -917303TypeScriptMIT License
- AsecurityAlicenseAqualityProvides AI assistants access to the macOS clipboard content, supporting text, images, and binary data via OSAScript.Last updated -16TypeScriptMIT License
- -securityAlicense-qualityA server that acts as a bridge between Claude and local Xcode projects, enabling AI-powered code assistance, project management, and automated development tasks without exposing your code to the internet.Last updated -JavaScriptMIT License
- -securityAlicense-qualityA high-performance server that provides clipboard access for AI assistants, specifically designed to solve the VSCode + WSL2 image clipboard limitation when using Claude.Last updated -61GoMIT License