# Clipboard

> Clipboard is an open-source MCP server for productivity. Read and write the system clipboard from an AI assistant, keeping table structure. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Repository:** https://github.com/cmeans/mcp-clipboard
- **MCP Registry name:** io.github.cmeans/mcp-clipboard
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

mcp-clipboard solves two annoyances. When you copy spreadsheet cells and paste them into a chat box, rows and columns collapse into flat text. This server reads the HTML that Sheets or Excel place on the clipboard and returns a Markdown table, JSON or CSV, with optional inferred column types. It also lets the assistant write clean text to the clipboard, which avoids the padding and hard line breaks the README says appear when copying from Claude Code's terminal.

Seven tools cover reading, writing and diagnostics. Writing supports plain text, HTML, RTF, SVG, Markdown rendered into rich and plain formats, and PNG or JPEG images. On Linux the server can also read the PRIMARY selection, the highlighted-text buffer, without pressing Ctrl-C.

It runs locally over stdio from a PyPI package with pipx or uv. macOS and Windows need nothing extra, while Linux needs wl-clipboard for Wayland or xclip for X11. The README reports Linux with Wayland as tested and actively used.

## Features

- **Table-aware paste:** Spreadsheet cells come back as Markdown, JSON or CSV instead of flat text.
- **Clean copy:** The assistant can write commands or text straight to the clipboard.
- **Rich text copy:** Markdown is rendered so Slack, Gmail or Notion get formatting while terminals get source.
- **Image support:** Read images from the clipboard or write PNG and JPEG images.
- **Linux selection buffer:** Read highlighted text via the PRIMARY selection.
- **Format inspection:** List the MIME types on the clipboard and read raw content.

## Good for

- Paste a Google Sheets range into a chat with its structure intact
- Copy a shell command without terminal padding
- Ask what a highlighted error message means on Linux
- Put a rendered markdown reply into Slack or Gmail

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-clipboard -- uvx mcp-clipboard
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-clipboard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-clipboard"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-clipboard -- uvx mcp-clipboard
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-clipboard]
command = "uvx"
args = ["mcp-clipboard"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user mcp-clipboard uvx -- mcp-clipboard

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-clipboard": {
      "command": "uvx",
      "args": [
        "mcp-clipboard"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 2 of 7 tools read data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `clipboard_paste`: Reads any clipboard content, formatting tables as Markdown, JSON or CSV and returning images.
- `clipboard_copy`: Writes text to the system clipboard with an optional MIME type.
- `clipboard_copy_markdown`: Renders markdown to HTML and places both formats on the clipboard.
- `clipboard_copy_image`: Writes a PNG or JPEG image to the clipboard from base64 bytes.
- `clipboard_list_formats` (name suggests: reads): Lists the MIME types currently on the clipboard.
- `clipboard_read_raw` (name suggests: reads): Returns raw clipboard content for a MIME type, for diagnostics.
- `clipboard_version`: Returns the running package version.

## FAQ

### Which platforms are supported?

macOS and Windows work with built-in tools; Linux needs wl-clipboard or xclip.

### How do I run Clipboard?

It is a PyPI package launched over stdio with pipx or uv.

### Can Clipboard read images?

Yes. clipboard_paste returns images as image content the model can see.

### Does PRIMARY selection work on macOS?

No. It is Linux only and returns a clear error elsewhere.

### Is Clipboard free?

Yes. Clipboard is open source, so you can use and self-host it for free.

### How do I add Clipboard to Claude Code?

Run this command in your terminal: claude mcp add mcp-clipboard -- uvx mcp-clipboard

### What are the best alternatives to Clipboard?

The closest alternatives to Clipboard are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/clipboard
