1 unstable release
| 0.1.0 | Feb 9, 2026 |
|---|
#88 in #clipboard
19KB
180 lines
klip
🤖📎 Cross-platform MCP server allowing agents to copy values to the system clipboard
Features
- ✅ Cross-platform support (Windows, macOS, Linux)
- ✅ Simple
copy_to_clipboardtool - ✅ Fast, lightweight Rust implementation
- ✅ Full Unicode and emoji support
Installation
- macOS or Linux via Homebrew:
brew tap timrogers/tap && brew install klip - macOS, Linux or Windows via Cargo, Rust's package manager:
cargo install klip - macOS, Linux or Windows via direct binary download: Download the latest release for your platform, then copy the binary to
$PATH
Usage
Visual Studio Code
Use the buttons below to install the server.
Copilot CLI
- Start the Copilot CLI by running
copilot. - Run the
/mcp addcommand to start adding an MCP server - Enter
klipin the "Name" field. - Enter
klipin the "Command" field. - Enter
"*"*in the "Tools" field. - Save by pressing Ctrl+S.
- Check that the tool is working by using the prompt
Copy the current ISO8601 date to the clipboard.
Claude Code
- Install the MCP server with the
claude mcp add-jsoncommand
claude mcp add-json klip '{"type": "stdio", "command": "klip"}'
- Start Claude Code by running
claude. - Check that the tool is working by using the prompt
Copy the current ISO8601 date to the clipboard.
With Other MCP Clients
klip communicates via stdin/stdout using the MCP protocol, so it can be used with any MCP-compatible client. Simply configure your client to run the klip binary.
Available Tools
copy_to_clipboard
Copies text to the system clipboard.
Parameters:
text(string, required): The text content to copy to the clipboard
Example:
{
"name": "copy_to_clipboard",
"arguments": {
"text": "Hello, World!"
}
}
Response:
Successfully copied 13 characters to clipboard
Development
Building
cargo build
Testing
cargo test
Running Locally
cargo run
CLI Options
# Show help
klip --help
# Show version
klip --version
Platform Support
- Linux: X11 and Wayland
- macOS: 10.13 High Sierra and later
- Windows: Windows 10 and later
License
MIT License - see LICENSE for details.
Dependencies
~14–36MB
~439K SLoC