Logo Clipth

Clipth

Cộng đồng
wavever

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

Nhà phát hànhwavever
Kho mãClipth
Ngôn ngữSwift
Bản fork
5
Sao
28
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Clipth cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    28 sao và 5 bản fork từ kho mã được liên kết.

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.

Cài đặt

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

Dùng MCP Clipth với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Clipth, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Clipth làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Clipth.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "clipth": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Clipth, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Clipth.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Clipth giúp tôi làm việc này không?
Clipth
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Clipth.

Câu hỏi thường gặp

Máy chủ MCP Clipth dùng để làm gì?

Clipth là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Clipth với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Clipth với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Clipth với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Clipth, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Clipth với TypingMind?

Clipth hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Clipth cung cấp những công cụ nào trong TypingMind?

Clipth cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Clipth không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Clipth yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇