Snipper Mcp

io.github.teologov由 GitHub 帳號 teologov 發布v1.0.0更新於 Oct 24, 2026

Search, read, create and organise code snippets in SnipperApp 3, a native macOS snippet manager.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

內建於 macOS 版 SnipperApp 3 的本機 MCP 伺服器,讓助理搜尋、讀取、建立和整理你的程式碼片段。

可以做什麼
搜尋、讀取、建立、更新和刪除 SnipperApp 資料庫中的程式碼片段,並可從公開 Hub 搜尋和匯入片段。建立、重新命名和刪除資料夾,並列出工作區、儲存空間、群組和語言以了解資料庫的組織方式。列出、加入和移除片段上的標籤,以及建立或刪除標籤。列出、取得、新增和刪除片段附件。
適用情境
當你在 Mac 上用 SnipperApp 3 保存程式碼片段,並希望助理找出已儲存的輔助函式、把剛寫好的函式存到指定工作區和資料夾,或依標籤、語言篩選片段時使用。
執行需求
需要 macOS 15 或更新版本(Apple Silicon 或 Intel)並已安裝 SnipperApp 3;伺服器是應用程式內的 stdio 二進位檔,無需另外安裝。可在用戶端指向應用程式的 snipper-mcp 執行檔,或在 Claude Desktop 中安裝 MCPB 擴充套件。未宣告任何 API 金鑰或環境變數。
安裝前請注意
伺服器與應用程式共用同一個本機 SQLite 資料庫,建立、更新和刪除片段、資料夾、標籤及附件會立即改動真實資料庫;刪除和移除標籤的工具被標示為破壞性操作。三個 Hub 工具會呼叫公開的 SnipperApp Hub API 並傳送搜尋詞或片段 ID,但不會上傳資料庫內容。只有你自行啟用同步儲存(如 iCloud 或 GitHub Gist)時,片段才會離開本機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Snipper Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

snipper-mcp — the MCP server inside SnipperApp 3

[SnipperApp 3 — code snippet manager for macOS]

SnipperApp 3 is a native macOS code snippet manager. It ships its own Model Context Protocol server, so AI assistants can search, read, create and organise the snippets in your library. There is nothing to install: the server is a stdio binary bundled in the app.

This repository documents the server's interface. The server itself is part of the app (Swift, built on the Swift MCP SDK).

Requirements

Install in Claude Desktop (one click)

Download snipperapp-1.0.2.mcpb from the latest release and open it; Claude Desktop installs it as an extension. The bundle contains only a small launcher (mcpb/server/index.js) that finds the server inside SnipperApp 3 and hands over stdio. Without the app it still answers initialize and tools/list (the manifest in mcpb/server/tools.json), and every tool call returns a clear not-installed error; a Dockerfile runs that mode for registry introspection checks.

Setup (manual)

Claude Code:

bash
claude mcp add snipper -- "/Applications/SnipperApp 3.app/Contents/MacOS/snipper-mcp"

Claude Desktop, Cursor (.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json):

json
{  "mcpServers": {    "snipper": {      "command": "/Applications/SnipperApp 3.app/Contents/MacOS/snipper-mcp"    }  }}

Full guide: https://snipperapp.com/docs/mcp-integration

Tools (25)

AreaTools
Snippetssearch_snippets, get_snippet, create_snippet, update_snippet, delete_snippet
Folderslist_folders, create_folder, update_folder, delete_folder
Tagslist_tags, create_tag, delete_tag, add_tag_to_snippet, remove_tag_from_snippet
Attachmentslist_attachments, get_attachment, create_attachment, delete_attachment
Organisationlist_workspaces, list_storages, list_groups, list_languages
Hub (public snippets)search_hub, get_hub_snippet, import_from_hub

Every tool carries a title and the MCP annotations clients use to decide what needs confirmation: the twelve read tools are marked readOnlyHint, the five delete/untag tools destructiveHint, and the three Hub tools openWorldHint.

The server reads and writes the same local SQLite database as the app, so anything an assistant saves appears in SnipperApp immediately. Nothing is sent to a server; the Hub tools call the public Hub API only when you use them.

Example prompts

  • "Search my snippets for the retry-with-backoff helper and paste it here."
  • "Save this function as a snippet in the Work workspace, folder Utilities, tagged postgres."
  • "List my Swift snippets tagged networking."

Privacy Policy

Full policy: https://snipperapp.com/privacy

What the server collects. Nothing. snipper-mcp has no analytics, no telemetry and no crash reporting of its own. The MCPB launcher in this repository makes no network requests at all — it either hands stdio to the bundled binary or answers tools/list from a static file.

How your data is used and stored. The server reads and writes the same local SQLite database as SnipperApp 3, inside the app's own container on your Mac. Snippets, folders, tags and attachments never leave your machine unless you have turned on a sync storage yourself: iCloud (Apple CloudKit, your private database — the developer cannot read it) or GitHub Gist (your own account, under your GitHub credentials).

Third-party sharing. None by the server. The three Hub tools (search_hub, get_hub_snippet, import_from_hub) call the public SnipperApp Hub API, and only when an assistant invokes them; they send the search terms or snippet ID and nothing from your library. No snippet content is uploaded. Nothing is sold or shared with advertisers or data brokers.

Data retention. Your snippets live on your Mac and stay until you delete them; deleting them in SnipperApp 3 (or via delete_snippet) removes them from the local database and from any sync storage you enabled. There is no server-side copy for the developer to retain. Hub requests are not tied to an account and are not retained as a per-user history.

Contact. [email protected] — for questions, or to ask what is held about you and have it deleted.

This repository

  • mcpb/ — the MCPB extension: manifest.json, icon.png, and the launcher server/index.js. Rebuild with npx @anthropic-ai/mcpb pack mcpb snipperapp-<version>.mcpb.
  • server.json — the entry for the official MCP registry (mcp-publisher publish).
  • The launcher and these docs are MIT licensed; SnipperApp 3 and its bundled snipper-mcp binary are proprietary.

Support

[email protected] — bug reports, feature requests and privacy questions. Documentation: https://snipperapp.com/docs/mcp-integration

來源:README.md,提交 2e875b5

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分