Skip to main content
Glama

MacOS Clipboard MCP Server

by newbeb

MacOS 剪贴板 MCP 服务器

一个 MCP 服务器,可通过 OSAScript 访问 macOS 剪贴板。此工具允许 AI 助手查看用户剪贴板上的内容,包括文本、图像和二进制数据。

特征

  • 从 macOS 剪贴板检索内容
  • 支持多种内容类型:
    • 文本
    • 图片 (PNG)
    • 原始二进制数据

安装

bun install

用法

要启动服务器:

bun run start

对于使用热重载进行开发:

bun run dev

替代开发模式:

bun run dev2 # Run with fastmcp dev bun run inspect # Run with fastmcp inspector bun run mcp-cli # Run with mcp-cli tool

实施说明

  • 通过osascript命令使用 AppleScript 与 macOS 剪贴板进行交互
  • 处理各种剪贴板内容类型
  • 内容以适当的 MIME 类型返回
  • 剪贴板应始终按需检查(不缓存),因为内容可能会在请求之间发生变化

要求

  • macOS 操作系统
  • Bun 运行时
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

让 AI 助手能够通过 OSAScript 访问 macOS 剪贴板内容,支持文本、图像和二进制数据。

  1. 特征
    1. 安装
      1. 用法
        1. 实施说明
          1. 要求

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Provides screenshot and OCR capabilities for macOS.
              Last updated -
              1
              692
              20
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A 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 -
              693
              10
              TypeScript
              MIT License
            • A
              security
              F
              license
              A
              quality
              A 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 -
              8
              TypeScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              An 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 -
              73
              TypeScript
              MIT License
              • Apple

            View all related MCP servers

            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/newbeb/clipboard-mcp'

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