Skip to main content
Glama
brian-ln

MacOS Clipboard MCP Server

by brian-ln

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

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    A
    maintenance
    Gives AI assistants direct access to macOS clipboard - letting Claude copy generated code, text, or files straight to your clipboard for pasting anywhere on Mac.
    244
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Provides clipboard access tools (get and set) for AI assistants via the Model Context Protocol, enabling seamless clipboard operations across platforms.
    1
  • A
    license
    -
    quality
    D
    maintenance
    A 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.
    5
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Provides MCP tools to copy text to and paste text or images from the macOS clipboard using AppleScript.
    3
    1

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brian-ln/clipboard-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server