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
Installation
Usage
To start the server:
For development with hot reloading:
Alternative development modes:
Implementation Notes
- Uses AppleScript via the
osascript
command to interact with the macOS clipboard - Handles 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
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Provides AI assistants access to the macOS clipboard content, supporting text, images, and binary data via OSAScript.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityProvides screenshot and OCR capabilities for macOS.Last updated 7 months ago157720JavaScriptMIT License
- -securityAlicense-qualityA Cursor-compatible toolkit that provides intelligent coding assistance through custom AI tools for code architecture planning, screenshot analysis, code review, and file reading capabilities.Last updated 5 months ago73810TypeScriptMIT License
- AsecurityFlicenseAqualityA collection of tools that enable AI assistants to interact with Apple applications and services including Contacts, Notes, Messages, Mail, Reminders, Calendar, Maps, and Web Search through the Model Context Protocol.Last updated 3 months ago8TypeScript
- -securityAlicense-qualityAn MCP server that enables AI assistants like Claude to access and manipulate Apple Notes on macOS, allowing for retrieving, creating, and managing notes through natural language interactions.Last updated 2 months ago70TypeScriptMIT License