Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Macos Clipboard

FreeNot checked

Provides MCP tools to copy text to and paste text or images from the macOS clipboard using AppleScript.

GitHubEmbed

About

Provides MCP tools to copy text to and paste text or images from the macOS clipboard using AppleScript.

README

A simple utility that provides model context protocol (MCP) tools for interacting with the macOS clipboard.

Features

  • Copy text to the clipboard
  • Paste text from the clipboard
  • Paste images from the clipboard (supports TIFF, PNG, and JPEG formats)

mcp config

method1(recommended)

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

method2

{
    "clipboard": {
            "command": "uv",
            "args": [
                "--directory",
                "<your-local-folder>/macos-clipboard-mcp",
                "run",
                "main.py"
            ]
        }
}

Installation

uv sync
python main.py

Requirements

  • Python 3.12+
  • macOS (uses AppleScript for clipboard operations)

Usage

Start the MCP server:

mcp dev main.py

This exposes the following MCP tools:

  • copy_to_clipboard(data: str): Copies text to the clipboard
  • paste_from_clipboard(): Returns text from the clipboard
  • paste_image_from_clipboard(): Returns images from the clipboard as base64-encoded PNG

Development

This project uses modern Python tooling:

  • uv for dependency management

License

MIT

from github.com/xiaoquisme/macos-cliboard-mcp

Install Macos Clipboard in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install macos-clipboard-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add macos-clipboard-mcp -- uvx macos-clipboard-mcp

FAQ

Is Macos Clipboard MCP free?

Yes, Macos Clipboard MCP is free — one-click install via Unyly at no cost.

Does Macos Clipboard need an API key?

No, Macos Clipboard runs without API keys or environment variables.

Is Macos Clipboard hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Macos Clipboard in Claude Desktop, Claude Code or Cursor?

Open Macos Clipboard on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Macos Clipboard with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs