MacOS Clipboard MCP logo

MacOS Clipboard MCP

by xiaoquisme

MacOS Clipboard MCP is a utility that provides model context protocol (MCP) tools for interacting with the macOS clipboard. It allows copying and pasting text and images.

View on GitHub

Last updated: N/A

What is MacOS Clipboard MCP?

MacOS Clipboard MCP is a Python-based utility designed to provide Model Context Protocol (MCP) tools for interacting with the macOS clipboard. It enables users to programmatically copy and paste text and images.

How to use MacOS Clipboard MCP?

To use MacOS Clipboard MCP, first install the dependencies using uv sync. Then, start the MCP server using mcp dev main.py. This exposes MCP tools like copy_to_clipboard, paste_from_clipboard, and paste_image_from_clipboard.

Key features of MacOS Clipboard MCP

  • Copy text to the clipboard

  • Paste text from the clipboard

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

  • Uses Model Context Protocol (MCP)

  • Python-based

Use cases of MacOS Clipboard MCP

  • Automating clipboard interactions

  • Integrating clipboard functionality into other applications

  • Programmatically copying and pasting data

  • Extracting images from the clipboard

FAQ from MacOS Clipboard MCP

What is MCP?

MCP stands for Model Context Protocol, a framework for interacting with models.

What versions of macOS are supported?

The utility is designed for macOS, but specific version compatibility is not mentioned.

What image formats are supported for pasting?

The utility supports TIFF, PNG, and JPEG image formats.

What Python version is required?

Python 3.12 or higher is required.

How do I install the dependencies?

Use uv sync to install the required dependencies.