
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.
概览
内置于 macOS 版 SnipperApp 3 的本地 MCP 服务器,让助手搜索、读取、创建和整理你的代码片段。
- 可以做什么
- 搜索、读取、创建、更新和删除 SnipperApp 库中的代码片段,并可从公开 Hub 搜索和导入片段。创建、重命名和删除文件夹,并列出工作区、存储、分组和语言以了解库的组织方式。列出、添加和移除片段上的标签,以及创建或删除标签。列出、获取、添加和删除片段附件。
- 适用场景
- 当你在 Mac 上用 SnipperApp 3 保存代码片段,并希望助手找出已保存的辅助函数、把刚写好的函数存入指定工作区和文件夹,或按标签、语言筛选片段时使用。
- 运行要求
- 需要 macOS 15 或更高版本(Apple Silicon 或 Intel)并已安装 SnipperApp 3;服务器是应用内的 stdio 二进制文件,无需另外安装。可在客户端中指向应用的 snipper-mcp 可执行文件,或在 Claude Desktop 中安装 MCPB 扩展包。未声明任何 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Snipper Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
- SnipperApp 3 (Mac App Store, free 7-day trial): https://apps.apple.com/us/app/snipperapp-3-code-snippets/id6757330954?mt=12
- macOS 15 or later (Apple Silicon or Intel)
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:
Claude Desktop, Cursor (.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json):
Full guide: https://snipperapp.com/docs/mcp-integration
Tools (25)
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 launcherserver/index.js. Rebuild withnpx @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-mcpbinary are proprietary.
Support
[email protected] — bug reports, feature requests and privacy questions. Documentation: https://snipperapp.com/docs/mcp-integration
来源:README.md,提交 2e875b5
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
