Scan your whole stack
Latest version: v0.3.0
MDZip was last scanned on 1 Dec 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.0 LATEST | 1 Dec 2026 | No rules fired |
| 0.2.0 | 1 Dec 2026 | No rules fired |
Findings for v0.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A standalone MCP server that lets AI tools read, search and edit MDZip (.mdz) documents: Markdown plus its images in one file. It runs locally over stdio and needs only Node.js 20 or later. You don't need VS Code, Obsidian or MDZip Studio.
It offers the same tools as the MCP server bundled with the MDZip VS Code extension, plus a tool to find archives, folder limits, a read-only mode and size limits.
Most clients take this configuration:
{
"mcpServers": {
"MDZip": {
"command": "npx",
"args": ["-y", "@mdzip/mcp-server"]
}
}
}
To run a build from source instead (npm install, then npm run build), use "command": "node" with "args": ["<path to>/dist/mdzip-mcp-server.js"].
Download mdzip.mcpb and install it in Claude Desktop: open Settings → Desktop app → Extensions and drag the file onto the page. Then click Configure on the extension and turn it on; it stays off until you do. Claude Desktop runs it with its own Node.js, so you don't need Node installed. When you install it, choose the folders it may use (Documents by default), whether it's read-only, and the size limit. You can change them later in the extension's settings.
Build it from source with npm run build:mcpb (writes dist/mdzip.mcpb, from mcpb/manifest.json).
This repo is also a plugin marketplace for Claude Code, Codex and the ChatGPT desktop app. The mdzip plugin (plugin/) adds the server, pinned to the current release.
Claude Code:
claude plugin marketplace add mdzip-project/mdzip-mcp
claude plugin install mdzip@mdzip-project
Codex and the ChatGPT desktop app: run codex plugin marketplace add mdzip-project/mdzip-mcp, then install MDZip from the app's Plugins directory.
The plugin can't take --root or --read-only; for those, add the server yourself as above.
Add --root <folder> to restrict the server to files inside that folder. Repeat it for more folders:
"args": ["-y", "@mdzip/mcp-server", "--root", "/Users/me/Documents/notes", "--root", "/Users/me/projects"]
--roots <folder>... does the same for every folder up to the next option (--roots /Users/me/Documents/notes /Users/me/projects), for clients that pass a list of folders as separate arguments.
With --root:
sourcePath, must be inside one of the folders, or the call fails with PATH_OUTSIDE_ROOTS;Without --root, the server can use any file the user running it can reach, and relative paths resolve against the folder the client starts it in.
Add --read-only to offer only the tools that read. The four write tools aren't listed, and a call to one fails with READ_ONLY without changing anything.
The server loads whole archives into memory, so it refuses, with TOO_LARGE:
sourcePath, or content passed inline, larger than 100 MB;Change the limit with --max-file-mb <n>; the unpacked limit stays 10 times it.
Other options: --help, --version.
| Tool | What it does |
|---|---|
mdz_find_archives |
Find .mdz files in a folder and its subfolders (all --root folders by default) |
mdz_review_document |
Best first call: the main Markdown document, its images, and a content hash for safe writes |
mdz_list_entries |
Every file in the archive, optionally with hashes |
mdz_search_text |
Search text files in the archive (plain text or regex) |
mdz_read_text |
Read one text file |
mdz_read_image |
Read one image |
mdz_read_markdown_embedded_images |
Markdown with its images inlined as data URLs |
upsert_canonical_document |
Replace the main document; refused if it changed since it was read |
mdz_create_archive |
Create a new, validated .mdz from files |
mdz_write_entry |
Add or replace any file in an archive |
mdz_remove_entry |
Remove a file from an archive |
Write tools check a hash from your last read and refuse to overwrite changes made elsewhere. Archives are written to a temporary file beside them and then swapped in, so a crash or full disk mid-write leaves the old archive whole. Writing through a link updates the file it points to, and on macOS and Linux the archive keeps its permissions. Each tool is marked read or write (readOnlyHint, destructiveHint), so clients can ask before writes.
mdz_read_image and mdz_review_document return PNG, JPEG, GIF and WebP images as they are. Most AI clients can't show other image formats, so:
mdz_read_text returns all of it.The renderer is resvg compiled to WebAssembly and bundled into the server, so it works the same on every platform and installs nothing extra.
mdz_find_archives skips hidden folders and node_modules, doesn't follow links, searches 6 levels deep by default, and returns at most 100 archives by default. Without --root it needs a folder.
npm install
npm run typecheck
npm test # builds dist/mdzip-mcp-server.js, then runs the stdio smoke test and the mdzip-mcp-only tests
A release goes to npm, to GitHub, to the MCP Registry (from server.json, published by a workflow when a GitHub release is published, after the version is on npm) , to the plugins in plugin/, and to the Claude Desktop extension (mdzip.mcpb, built and attached to the GitHub release by a workflow), and all of them carry the version: package.json, both version fields in server.json, the plugin manifests' version, the pinned package in plugin/.mcp.json and plugin/mcp.json, and version in mcpb/manifest.json. npm test fails until they agree.
src/mdzToolHandlers.ts, src/mdzMcpServer.ts, tests/mcp-smoke.cjs and media/templates/embedded-agent-guide.md are copies of the same files in mdzip-vscode, taken from commit a9081c4 (files last changed in da62294). Until a later refactor makes the extension use this package, a fix to the tools has to be made in both repos. Lines that differ on purpose are marked [mdzip-mcp]. Code that exists only here sits in its own files (src/cli.ts, src/roots.ts, src/discovery.ts, src/limits.ts, src/atomicWrite.ts, src/imageContent.ts, src/serverTools.ts and tests/*.test.cjs), and mdzToolHandlers.ts stays as close to the original as possible: serverTools.ts adds mdz_find_archives, --root, --read-only and the size limits around the copied handlers. The changes inside them: the four fs.writeFile calls that save an archive call writeFileAtomic instead, and mdz_read_image and mdz_review_document build their image blocks with imageEntryContent (SVG as source + PNG). mdzip-vscode still sends SVG, AVIF and ICO as image blocks the model can't view. To check for drift:
git -C ../mdzip-vscode diff a9081c4 origin/main -- src/mdzToolHandlers.ts src/mdzMcpServer.ts tests/mcp-smoke.cjs media/templates/embedded-agent-guide.md
See docs/phase-0-inventory.md for the plan.
Apache-2.0. The published server bundles its dependencies; their licenses are in dist/THIRD_PARTY_NOTICES.md.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.