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

            • -
              security
              A
              license
              -
              quality
              Allows the AI to read from your local Apple Notes database (macOS only)
              Last updated -
              56
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Provides screenshot and OCR capabilities for macOS.
              Last updated -
              1
              35
              10
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              Provides code manipulation, execution, and version control capabilities. It allows AI assistants to read, write, and execute code while maintaining a history of changes.
              Last updated -
              8
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              Enables AI tools to capture and process screenshots of a user's screen, allowing AI assistants to see and analyze what the user is looking at through a simple MCP interface.
              Last updated -
              1
              Python
              • Linux
              • 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