Sponsored by Deepsite.site

Clipboard Mcp Server

Created By
csabakecskemeti4 months ago
Clipboard MCP Server An MCP server that allows LLM models to save relevant output directly to your system clipboard for immediate use.
Content

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

Clipboard MCP in Action

The clipboard MCP server working with LM Studio - automatically saving useful content to clipboard while providing full responses

Quick Start

./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
  1. 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.

Server Config

{
  "mcpServers": {
    "clipboard": {
      "type": "sse",
      "url": "http://localhost:3001/sse"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server