Provides access to the macOS clipboard via OSAScript, allowing retrieval of clipboard content including text, images, and binary data
MacOS Clipboard MCP Server
An MCP server that provides access to the macOS clipboard via OSAScript. This tool allows AI assistants to see what content is on the user's clipboard, including text, images, and binary data.
Features
Retrieve content from the macOS clipboard
Supports multiple content types:
Text
Images (PNG)
Raw binary data
Related MCP server: Notes MCP
Installation
Usage
To start the server:
For development with hot reloading:
Alternative development modes:
Implementation Notes
Uses AppleScript via the
osascriptcommand to interact with the macOS clipboardHandles various clipboard content types
Content is returned with appropriate MIME types
The clipboard should always be checked on demand (not cached) as content can change between requests
Requirements
macOS operating system
Bun runtime