Skip to main content
Glama

Clipboard MCP

An server that provides tools for reading and writing system clipboard data. Works on Linux, macOS, Windows, and WSL.

Installation

The easiest way to use this server is with :

uvx clipboard-mcp

Or install it globally:

uv tool install clipboard-mcp

Configuration

Claude Desktop

Add the following to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{ "mcpServers": { "clipboard": { "command": "uvx", "args": ["clipboard-mcp"] } } }

Claude Code

Add the following to your Claude Code settings:

{ "mcpServers": { "clipboard": { "command": "uvx", "args": ["clipboard-mcp"] } } }

Available tools

read_clipboard

Read the current text content from the system clipboard.

write_clipboard

Write text content to the system clipboard.

Parameter

Type

Description

text

string

The text content to write to the clipboard

Platform support

This server uses for clipboard access, which requires different backends depending on your platform:

  • macOS: Uses pbcopy/pbpaste (built-in)

  • Windows: Uses native Windows clipboard APIs (built-in)

  • Linux/WSL: Requires xclip or xsel to be installed

On Linux, install the required dependency:

# Debian/Ubuntu sudo apt install xclip # Fedora sudo dnf install xclip # Arch Linux sudo pacman -S xclip

License

Distributed under the .

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dahlia/clipboard-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server