mcpField
M
MacOS Clipboard MCP

MacOS Clipboard MCP

Local
github.com/xiaoquismeProductivity1Updated 77w ago

About MacOS Clipboard MCP

MacOS Clipboard MCP is a utility MCP server for interacting with the macOS clipboard. It provides tools to copy text and retrieve clipboard text or images.

Key features

  1. 01Copy text to the clipboard
  2. 02Retrieve clipboard text
  3. 03Retrieve clipboard images
  4. 04Support TIFF, PNG, and JPEG clipboard images

Use cases

  1. 01Copy generated text to the macOS clipboard
  2. 02Read text already on the clipboard
  3. 03Retrieve a clipboard image for use

MCP support

It exposes MCP tools for copying text, retrieving clipboard text, and returning clipboard images as base64-encoded PNG.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MacOS Clipboard MCP

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.