MacOS Clipboard MCP Server
Provides AI assistants access to the macOS clipboard content, supporting text, images, and binary data via OSAScript.
newbeb
Tools
getClipboardContents
Fetch the contents of the clipboard (text, images, or binary data). Used to see what is on the clipboard. IMPORTANT: This tool should be called every time clipboard contents are needed as clipboard data can change; results should not be cached.
README
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
bun install
Usage
To start the server:
bun run start
For development with hot reloading:
bun run dev
Alternative development modes:
bun run dev2 # Run with fastmcp dev
bun run inspect # Run with fastmcp inspector
bun run mcp-cli # Run with mcp-cli tool
Implementation Notes
- Uses AppleScript via the
osascriptcommand 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
Recommended Servers
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
ThingsPanel MCP
An integration server that connects AI models with ThingsPanel IoT platform, allowing AI assistants to interact with IoT devices through natural language for device control, data retrieval, and management operations.
Beamlit MCP Server
An MCP server implementation that enables seamless integration between Beamlit CLI and AI models using the Model Context Protocol standard.
iTerm MCP Server
This MCP server enables users to execute shell commands in the current iTerm2 session through integration with Claude Desktop, facilitating seamless command execution via the Model Context Protocol.
MCP Command Server
A secure server that allows LLM applications like Claude to execute whitelisted system commands with user confirmation and comprehensive security features.
WinTerm MCP
A Model Context Protocol server that provides programmatic access to the Windows terminal, enabling AI models to interact with the Windows command line through standardized tools for writing commands, reading output, and sending control signals.
MCP Server: SSH Rails Runner
Enables secure remote execution of Rails console commands over SSH for read-only operations, mutation planning, and executing approved changes in a deployed Rails environment.
Everything Search MCP Server
Provides integration with Everything Search Engine allowing powerful file search capabilities through the Model Context Protocol with advanced search options like regex, case sensitivity, and sorting.
Blender MCP Server
A Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.