MacOS Clipboard MCP Server
Provides access to the macOS clipboard via OSAScript, allowing retrieval of clipboard content including text, images, and binary data
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MacOS Clipboard MCP Serverwhat's currently on my clipboard?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: mcp-clipboardify
Installation
bun installUsage
To start the server:
bun run startFor development with hot reloading:
bun run devAlternative development modes:
bun run dev2 # Run with fastmcp dev
bun run inspect # Run with fastmcp inspector
bun run mcp-cli # Run with mcp-cli toolImplementation 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
This server cannot be deployed
Maintenance
Related MCP Connectors
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceGives AI assistants direct access to macOS clipboard - letting Claude copy generated code, text, or files straight to your clipboard for pasting anywhere on Mac.247MIT
- AlicenseNot gradedqualityDmaintenanceProvides clipboard access tools (get and set) for AI assistants via the Model Context Protocol, enabling seamless clipboard operations across platforms.1MIT
- AlicenseNot gradedqualityDmaintenanceA standalone clipboard history MCP server for macOS that monitors clipboard in real-time, stores history locally in SQLite, and exposes it to any MCP-compatible AI assistant.5MIT
- FlicenseBqualityDmaintenanceProvides MCP tools to copy text to and paste text or images from the macOS clipboard using AppleScript.31-