Clipboard Mcp Server
About
Clipboard MCP Server is an MCP (Model Context Protocol) server that allows LLM models (like Claude Code) to save relevant output directly to your system clipboard for immediate use. It works with any MCP-compatible client that supports SSE transport, such as Claude Code and LM…
Details
- Author
- csabakecskemeti
- Downloads
- 284
- Categories
- Other
Jump to
- Saves command snippets (e.g., npm install express) directly to clipboard
- Saves code snippets ready to paste into an editor
- Saves short answers like city names, numbers, or specific values
- Saves any text content for immediate use
- Provides three dedicated tools: save_to_clipboard, save_command_to_clipboard, and save_code_to_clipboard
- Works with Claude Code, LM Studio, and other MCP clients supporting SSE transport
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Clipboard Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Set up the server using the automatic setup.sh script or manually (create a Python virtual environment, install from requirements.txt, and install xclip on Linux). Run the server with ./start.sh or python server.py (default port 3001). Add the appropriate SSE URL configuration (e.g., http://localhost:3001/sse) to your MCP client configuration file (e.g., ~/.claude.json for Claude Code).
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"clipboard mcp server": {
"clipboard": {
"type": "sse",
"url": "http://localhost:3001/sse"
}
}
}
}
McpServers
{
"clipboard": {
"type": "sse",
"url": "http://localhost:3001/sse"
}
}
Clipboard MCP Server
An MCP server that allows LLM models to save relevant output directly to your system clipboard for immediate use.
What it does
This MCP server provides tools that allow Claude Code (or other MCP-compatible tools) to:
- Save command snippets directly to your clipboard (e.g., npm install express)
- Save code snippets ready to paste into your editor
- Save short answers like city names, numbers, or specific values
- Save any text content for immediate use
Example Usage
When you ask: "How do I install Express.js?"
- Claude gives you a full explanation about Express.js
- AND automatically puts npm install express on your clipboard ready to paste
When you ask: "What's the capital of Hungary?"
- Claude explains about Budapest being the capital
- AND puts just Budapest on your clipboard for quick use
Demo

The clipboard MCP server working with LM Studio - automatically saving useful content to clipboard while providing full responses
Quick Start
Automatic Setup (Recommended)
./setup.sh
This will:
- Install system dependencies (xclip on Linux)
- Create Python virtual environment
- Install all required packages
- Show you the configuration to add to your MCP client
Manual Setup
1. Install dependencies:python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
2. Install clipboard support (Linux only):
sudo apt install xclip
Running the Server
Easy Start
./start.sh # Default port 3001
./start.sh 3002 # Custom port 3002
Manual Start
source .venv/bin/activate
python server.py # Default port 3001
python server.py --port 3002 # Custom port 3002
python server.py --help # See all options
The server will run on http://localhost:PORT/sse and provide clipboard functionality.
MCP Client Configuration
Add this configuration to your MCP client:
Claude Code (~/.claude.json):
{
"mcpServers": {
"clipboard": {
"type": "sse",
"url": "http://localhost:3001/sse"
}
}
}
For custom ports, update the URL accordingly:
{
"mcpServers": {
"clipboard": {
"type": "sse",
"url": "http://localhost:3002/sse"
}
}
}
LM Studio and other MCP clients use the same configuration format.
The server works with any MCP-compatible client that supports SSE transport.
Available Tools
save_to_clipboard(content: str)
General-purpose clipboard saving for any text content.
save_command_to_clipboard(command: str, description: str = "")
Specifically for terminal/shell commands with optional description.
save_code_to_clipboard(code: str, language: str = "")
For code snippets with optional language context.
Testing
Run the server directly to test:
python server.py
The server will start and wait for MCP protocol messages. Use with Claude Code or other MCP clients to test the clipboard functionality.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



