#cross-platform #clipboard #mcp

app klip

Cross-platform MCP server allowing agents to copy values to the system's clipboard

1 unstable release

0.1.0 Feb 9, 2026

#88 in #clipboard

MIT license

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_clipboard tool
  • ✅ 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.

Install in VS Code Install in VS Code Insiders

Copilot CLI

  1. Start the Copilot CLI by running copilot.
  2. Run the /mcp add command to start adding an MCP server
  3. Enter klip in the "Name" field.
  4. Enter klip in the "Command" field.
  5. Enter "*"* in the "Tools" field.
  6. Save by pressing Ctrl+S.
  7. Check that the tool is working by using the prompt Copy the current ISO8601 date to the clipboard.

Claude Code

  1. Install the MCP server with the claude mcp add-json command
claude mcp add-json klip '{"type": "stdio", "command": "klip"}'
  1. Start Claude Code by running claude.
  2. 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