
Ziplark
io.github.zhitongblog由 GitHub 账号 zhitongblog 发布v0.3.0更新于 Oct 24, 2026
Archive server: extract & create ZIP, 7z, tar, gz/xz/zst; read RAR/RAR5 & ISO. AES-256, safe.
概览
Ziplark 的本地 MCP 服务器,让助手查看、列出、校验并解压压缩包(ZIP、RAR、7z、tar、ISO),以及创建 ZIP、7z 和 tar 压缩包。
- 可以做什么
- 查看、列出与校验压缩包:读取元数据、分页浏览条目并可按路径过滤、检测完整性且不写入任何文件。
- 解压压缩包:将 ZIP、RAR/RAR5、7z、tar、压缩 tar 变体和 ISO 镜像解压到指定目录。
- 创建压缩包:从文件和文件夹生成 ZIP(支持 AES-256)、7z 和 tar,可设置压缩级别与可选密码。
- 处理大型或损坏的压缩包:分页列表附带目录统计,并能从损坏或不完整的分卷中取出可读文件。
- 适用场景
- 适合助手需要在用户机器上查看或解包压缩文件,或把文件打包成压缩包的场景,无需用户另开压缩软件。对 RAR 和 ISO 内容尤其有用,也适合条目极多、完整列表会占满上下文的大型压缩包。
- 运行要求
- 以 stdio 方式在本机运行,可通过 MCP Bundle 安装或从源码构建;桌面应用和命令行工具需另行安装。除非启动时开启写入标志,解压和创建等写入工具不可用。未声明需要账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Ziplark,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Ziplark — every archive, one small app]
[CI] [Release] [Downloads] [Stars] [License] [Website]
Free, fast, cross-platform archiver. Extracts ZIP, RAR (incl. RAR5), 7z, tar, ISO and the common compressed-tar variants; creates ZIP (with AES-256), 7z and tar archives. One small Rust engine, three ways to drive it: a desktop app, a CLI, and an MCP server.
Install
Or grab a build for any platform from the releases page
(macOS .dmg, Windows .msi/.exe, Linux .deb/.AppImage, and CLI archives).
RAR, ISO, DEB/AR, RPM/CPIO and CAB are read/extract/preview formats — all parsed in memory-safe Rust (except RAR, which uses the official UnRAR C++ library). ZIP, 7z and tar variants support full creation and in-place append (
ziplark add).
RAR, properly
RAR is the format people arrive with — a download split into volumes, packed solid, sometimes one volume short — so it gets first-class treatment rather than a checkbox:
- A volume set is one archive.
movie.part03.rar, or the oldermovie.r01, opens the whole set: any file of the set resolves to the first volume, the parts are listed, and an entry that spans volumes comes out whole. Both naming schemes are handled, including the legacy one whose first volume ismovie.rarrather thanmovie.r01. - A missing volume is named. Ziplark says which file it needs next instead of failing with a generic error, and refuses to start writing rather than stopping half-way.
- Damage is survivable.
--keep-broken(in the app: "Extract what's readable") gets every intact file out of a damaged or incomplete archive and reports exactly which entries failed and which were written incomplete. Verifying reports every bad entry, so you know which file to re-download. - Verifying writes nothing. Integrity is checked by decompressing each entry and discarding the bytes — not, as a surprising number of tools do, by extracting the whole archive to a temporary directory.
- Metadata survives. Permissions (an executable stays executable), 100-nanosecond RAR5 timestamps, symlinks as symlinks, per-entry compressed sizes, solid/recovery-record/lock flags, and the archive comment.
- Encrypted headers work. An archive whose file names are encrypted
(
rar -hp) lists and extracts with a password like any other. - Self-extracting archives open. A
.exewith a RAR payload behind the stub is read as the archive it is. - Pick single files out of it.
--exact(and ticking rows in the app) extracts exactly the entries you name, rather than everything whose path happens to contain the text.
Ziplark drives libunrar's C API directly — see
formats/rar/raw.rs for why the
wrapper crates were not enough (multi-volume reads out of bounds there, a failed
entry throws away the archive handle, and the struct layouts do not match the
library's packed headers, which silently mis-reads every field past file_attr).
Why Ziplark
- Small. Size-optimized release profile (
opt-level=z, LTO, stripped,panic=abort). The desktop app uses the OS webview (no bundled Chromium). - Faithful. Permissions, modification times and symlinks survive the round trip, so an extracted binary still runs and an extracted tree still looks like the one you archived.
- Safe. Every extraction path is funneled through a single guard, and it
checks both ways out: the entry name (
../, absolute paths) and what is actually on disk, so a symlink — planted by an earlier entry of the same archive or sitting in the destination already — can't be used to redirect a write. No entry can escape the destination directory. - One engine. The GUI, CLI and MCP server are thin shells over
ziplark-core; whatever the CLI does, the app does identically.
Repository layout
1. Desktop app
Drag an archive onto the window to inspect & extract it, or switch to Create to drag in files/folders, pick a format + compression level (and optional password), and save.
2. CLI — ziplark
Every command takes --json for scripting. --include <PAT> filters entries on
extract; --smart avoids tarbombs and double-nesting; --level store|fast|default|best
and --password apply to create/add.
Right-click (file-manager) integration
Add Extract here with Ziplark and Compress to ZIP with Ziplark to your OS file manager's context menu:
Per platform: macOS installs two Automator Quick Actions (Finder → right-click →
Quick Actions); Windows adds per-user (HKCU, no admin) shell verbs on archive
file types and on files/folders; Linux installs KDE service menus and Nautilus
scripts. Every entry just calls the ziplark CLI (extract-here / compress-zip),
so it follows wherever the binary lives. Both helper commands are also usable
directly:
3. MCP server — ziplark-mcp
A Model Context Protocol server (JSON-RPC over stdio). Read tools
(ziplark_info, ziplark_list, ziplark_read, ziplark_test) are always available; the write tools
(ziplark_extract, ziplark_create, ziplark_add) require --allow-write.
Or install the MCP Bundle — ziplark-mcp-<version>.mcpb on the
releases page, one file
carrying the server for macOS, Windows and Linux. Ziplark is listed in the
official MCP registry
as io.github.zhitongblog/ziplark, so clients that read the registry can find it
on their own.
Register it with an MCP client:
Big archives don't flood the context
ziplark_list is paged. It returns at most limit entries (default 200) starting
at offset, always alongside the archive's true total_entries, so listing a
200 000-entry disc image costs the same as listing a small ZIP:
When the result is truncated it also carries top_level — entry counts grouped by
directory, descending past a single root — so a client can see the shape of a huge
archive without paging through it. To go straight to what you want, filter instead of
paging: include takes path patterns, matched as globs when they contain * or ?
and as substrings otherwise, and applies before paging. dirs selects only files or
only directories.
Building & testing
License
MIT © 2026 doaipm — a doaipm project. See LICENSE.
Ziplark bundles third-party open-source components under their own licenses, acknowledged in THIRD_PARTY_LICENSES.md. Note in particular that RAR extraction uses the UnRAR library, which is under the UnRAR license (not MIT) and may not be used to re-create the RAR compression algorithm.
来源:README.md,提交 8618a04
工具
0版本历史
1- v0.3.0最新Sep 18, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分