MacOS Clipboard MCP Server

MacOS Clipboard MCP Server

Provides AI assistants access to the macOS clipboard content, supporting text, images, and binary data via OSAScript.

newbeb

OS Automation
Visit Server

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 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

Recommended Servers

@kazuph/mcp-taskmanager

@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.

Featured
Local
JavaScript
Claude Code MCP

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.

Featured
Local
JavaScript
ThingsPanel MCP

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.

Official
Python
Beamlit MCP Server

Beamlit MCP Server

An MCP server implementation that enables seamless integration between Beamlit CLI and AI models using the Model Context Protocol standard.

Official
TypeScript
Nash MCP Server

Nash MCP Server

A Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.

Local
Python
WASM MCP Server

WASM MCP Server

This server enables running a Model Context Protocol in a web browser with functionalities including arithmetic operations and session-based key-value storage.

Local
TypeScript
Xcode MCP Server

Xcode MCP Server

Bridges Claude AI with Xcode, enabling AI-powered code assistance, project management, and automated development tasks securely on your local machine.

Local
TypeScript
mcp-screenshot

mcp-screenshot

Provides screenshot and OCR capabilities for macOS.

Local
JavaScript
macOS Defaults MCP Server

macOS Defaults MCP Server

MCP server that enables reading and writing macOS system preferences and application settings through the defaults system.

Local
Python
Shell MCP Server

Shell MCP Server

A Model Context Protocol server that allows LLMs to execute shell commands and receive their output in a controlled manner.

Local
Python