Clipth 标志

Clipth

社区
wavever

An elegant and powerful clipboard manager designed specifically for macOS.一款专门为 macOS 设计、界面优雅且功能强大的剪切板历史管理 App.

发布者wavever
代码仓库Clipth
语言Swift
复刻数
5
星标数
28
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Clipth 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 28 个 Star 和 5 个 Fork。

Clipth is an open-source macOS clipboard manager with offline semantic search and a built-in Model Context Protocol server. It lets you search clipboard history locally, organize useful clips, and optionally let AI clients such as Claude Desktop, Claude Code, or Cursor query your clipboard. Cloud sync is off by default and only connects to a destination you configure.

The name comes from "clip path": a trail of things you copied.

Edition Boundary

This repository is the open-source base edition of Clipth. It contains the core clipboard, search, organization, privacy, sync, and MCP functionality released under the license in this repository.

Clipth Pro is a separate commercial edition. Pro-only features, commercial services, payment and licensing logic, and other proprietary implementation are intentionally not part of this repository and are not included in the open-source release. Do not assume that code or behavior from the Pro edition is available here.

Why Clipth?

  • Local-first by default - clipboard history, OCR text, tags, and embeddings stay on your Mac unless you explicitly enable encrypted sync.
  • Conflict-resilient encrypted sync - optionally sync through iCloud Drive, WebDAV, S3-compatible storage, or a local folder without exposing clipboard plaintext.
  • Offline semantic search - Apple NLEmbedding powers meaning-based search without hosted embedding APIs.
  • AI-native workflow - the app binary can run as an MCP stdio server with searchable and writable clipboard tools.
  • Native macOS utility - menu bar app, global hotkeys, Quick Paste, previews, snippets, and SwiftUI interface.
  • Content protection - sensitive values such as phone numbers and API keys are redacted across the UI, exports, and MCP by default, while the original stays on your Mac for reuse.
  • Privacy controls - pause capture, exclude source apps, ignore sensitive pasteboard markers, strip URL trackers, disable MCP tools, and delete history.

Highlight: Encrypted Sync That Merges, Not Overwrites

Clipth does not replace one Mac's entire database with another. It sends encrypted incremental operations, merges each field independently, and keeps a recoverable copy when two devices change non-mergeable content.

Choose automatic sync or keep it manual. The main window always exposes a compact sync state: one-click sync when automation is off, an immediate in-progress indicator, and explicit success or failure feedback when the run finishes.

What happensHow Clipth protects it
Two Macs edit different fieldsHybrid logical clocks and field versions preserve both changes
Both devices write at onceImmutable encrypted journals survive the snapshot race
Tags or group membership change independentlyConvergent set merging combines additions and preserves removals
A device returns with stale dataAcknowledged tombstones prevent deleted clips from silently reappearing

Everything is encrypted locally with AES-256-GCM before it reaches iCloud Drive, WebDAV, S3-compatible storage, or your chosen sync folder. The losing version is retained as an encrypted conflict copy for 30 days, while old journals and orphan attachments are cleaned conservatively. Read the sync architecture →

Preview

Features

Capture and Reuse

  • Auto-captures text, images, video, files, URLs, and rich text
  • Double-click to copy an entry back to the clipboard
  • Duplicate refresh keeps re-copied items at the top instead of creating duplicates
  • Optional paste-as-plain-text and trailing-whitespace trimming
  • Soft-delete trash with restore, permanent delete, and retention controls
  • Global hotkeys for the main window and snippets
  • Efficient image storage — clipboard images are kept compressed with external binary storage, so memory and disk usage stay low even with a long image history
  • Switch between list and grid layouts: the main window uses a responsive grid, while Quick Paste and the menu bar panel offer independently configurable two-column grids in Settings. Grid image previews preserve their aspect ratio and show the image name as an in-place overlay.

Search and Organization

  • Full-text search with type filters
  • Offline semantic search over text and OCR content
  • Source-app and time filters such as app:Safari, since:2d, and before:2026-05-01
  • Favorites, pinned clips, tags, custom titles, and tag autocomplete
  • Multi-select merge for clips of the same type

Content Awareness

  • Rich preview popover
  • OCR indexing for images
  • Smart text parsing for timestamps, Base64, and JSON
  • Video preview with thumbnail or inline player mode
  • URL tracking-parameter stripping for utm_*, fbclid, gclid, and more
  • Screen-recording hide mode for the app window

Content Protection

  • Automatic, conservative redaction of sensitive spans: Chinese mainland phone numbers (13812345678 → 138****5678) and API keys, tokens, secrets, and passwords — labeled values such as appkey=… plus high-confidence prefixes like sk-, ghp_, AKIA
  • Masks only the sensitive value while keeping surrounding labels and structure; conservative enough to leave UUIDs, hashes, timestamps, and ordinary URLs untouched
  • Redacted display across the history list, previews, menu bar, Dynamic Island, Quick Paste, Quick Look, and search snippets, with a lock badge on protected clips
  • The original value is never modified in storage — copy, quick paste, paste-as-plain-text, and edits still use the raw clip
  • Default exports and MCP responses return redacted content with isProtected metadata; raw egress requires an explicit opt-in
  • Master switch and one editable rule list in Settings → Data → Privacy: the built-in phone/app-key rules can be edited, reset, or turned off, alongside your own keyword or regex rules

Export and Stats

  • JSON export with type, date, favorite, and pinned filters
  • Per-item export to original formats such as text and PNG
  • Copy statistics, 14-day chart, and GitHub-style yearly heatmap

Encrypted Sync

  • Optional bidirectional sync through iCloud Drive, WebDAV, S3-compatible object storage, or a local folder (including folders managed by Dropbox, OneDrive, Syncthing, and network drives)
  • Manual or automatic sync with a compact main-window status, immediate progress feedback, and clear success or failure notifications
  • AES-256-GCM end-to-end encryption before data leaves the Mac; WebDAV passwords, S3 secret credentials, and the 256-bit recovery key are stored in Keychain
  • Hybrid logical clocks merge independently edited fields; tags and group membership use convergent set merging, while losing content is retained as a 30-day conflict copy
  • Encrypted incremental journals protect concurrent writers and compact into conditional-write snapshots; acknowledged deletion tombstones, old journals, and orphan attachments are garbage-collected conservatively
  • Syncs history, images, tags, groups, favorites, pins, trash state, and individual file attachments up to 25 MB; device settings, statistics, and semantic vectors remain local
  • Another Mac needs the same recovery key. Losing it makes existing remote data unrecoverable.
  • Existing v1 manifests are upgraded in place on the next successful sync; the recovery key is reused and the remote .clipth-sync-v1 location stays stable for Clipth releases.
  • See Sync Architecture for merge, commit, migration, and retention invariants.

MCP Server

The app binary doubles as an MCP stdio server.

One-click setup. Settings → AI lists the agents actually installed on your Mac — CLIs and apps alike — and writes the entry into their config file for you. Supported: Claude Code, Codex CLI, Claude Desktop, Cursor, OpenClaw, VS Code, Zed, Windsurf, Gemini CLI, opencode, Qwen Code, Cline, Kiro, LM Studio, and Amazon Q CLI. The original file is backed up alongside it as .clipth.bak, comments and formatting are preserved, and each client's own syntax is used (Codex is TOML, VS Code keys the map servers, Zed uses context_servers, opencode takes command as an array). Restart the client afterwards so it picks Clipth up.

Import never writes straight away: it opens a confirmation dialog showing the exact edit — the affected lines of that config file, in that file's own syntax, with the additions highlighted — and nothing is written until you confirm. Each row can also open its config file in Quick Look or hand it to your editor.

To configure a client by hand instead:

json
{
  "mcpServers": {
    "clipth": {
      "command": "/Applications/Clipth.app/Contents/MacOS/Clipth",
      "args": ["--mcp"]
    }
  }
}

Codex uses TOML rather than JSON — in ~/.codex/config.toml:

toml
[mcp_servers.clipth]
command = "/Applications/Clipth.app/Contents/MacOS/Clipth"
args = ["--mcp"]

Available tools:

ToolDescription
search_clipboardKeyword or semantic search over clipboard history
list_recentList recent entries, optionally filtered by type
get_clipFetch one entry by UUID with full content and metadata
list_tagsList all tags and usage counts
list_recent_activityList entries added since an ISO date or relative time such as 30m, 2h, 3d, 1w
tag_clip / untag_clipAdd or remove tags
favorite_clip / pin_clipUpdate favorite or pinned state
delete_clip / restore_clipSoft-delete, permanently delete, or restore entries
create_snippetCreate a snippet with optional title and tags

Protected clips are redacted in MCP responses by default and carry isProtected metadata; returning raw protected content requires an explicit opt-in in Settings → Data → Privacy. MCP can still expose other clipboard contents to the client you configure — read PRIVACY.md before enabling it for sensitive workflows.

Install

Download the latest DMG from GitHub Releases, open it, and drag Clipth into Applications.

Current public releases are signed with a stable self-signed identity so macOS can keep Accessibility permission across updates. Public notarization is on the roadmap. If macOS blocks a downloaded build, you can build from source with unsigned local signing disabled.

System Requirements

  • macOS 14.0 Sonoma or later
  • Xcode 16.0 or later recommended for development

Build from Source

Open Clipth.xcodeproj in Xcode, select "My Mac", and run.

Command line:

bash
xcodebuild \
  -project Clipth.xcodeproj \
  -scheme Clipth \
  -configuration Debug \
  -destination 'platform=macOS' \
  -derivedDataPath build \
  -skipMacroValidation \
  CODE_SIGN_IDENTITY="-" \
  CODE_SIGNING_REQUIRED=NO \
  CODE_SIGNING_ALLOWED=NO \
  build

Code Signing for Maintainers

Releases use a stable self-signed certificate so macOS keeps Accessibility permission across rebuilds and updates. Without a stable signing identity, the permission can be invalidated after each build even if the System Settings toggle still appears enabled.

Run once to create and install the certificate:

bash
scripts/generate-signing-cert.sh

The script prints SIGNING_CERT_P12_BASE64 and SIGNING_CERT_PASSWORD values for GitHub Actions secrets.

Keyboard Shortcuts

ShortcutAction
⌘⇧VOpen main window
⌘,Open settings
⌘NNew snippet
⌘⏎Save in snippet editor
EscDismiss preview, go back, or cancel edit

Project Docs

Contributing

Issues and pull requests are welcome. Good first areas include documentation, localization, MCP resources/prompts, URL sanitizer tests, search parser tests, and privacy polish.

Before contributing, read CONTRIBUTING.md. For private security or privacy reports, follow SECURITY.md.

License

Clipth is released under the MIT License.

安装

TypingMind
{
  "mcpServers": {
    "clipth": {
      "command": "Clipth",
      "args": []
    }
  }
}

将 Clipth MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Clipth 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Clipth 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Clipth MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "clipth": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Clipth MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Clipth MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Clipth 帮我完成这项任务吗?
Clipth
当然。我已阅读。
以下是我使用 Clipth 得到的结果。

常见问题

Clipth MCP 服务器有什么用途?

Clipth 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Clipth MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Clipth,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Clipth MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Clipth 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Clipth MCP 连接到 TypingMind?

Clipth 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Clipth MCP 在 TypingMind 中提供哪些工具?

Clipth 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Clipth MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Clipth 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇