The MDZip MCP server lets your AI app...
- Read an MDZip (
.mdz) document, with the pictures it uses, in one step - Search it, and read any file inside it
- Edit the document, add or replace pictures and other files, and create new
.mdzfiles - Find the
.mdzfiles in a folder
It's a free, open-source MCP server: the standard way AI apps such as Claude, Codex, ChatGPT, GitHub Copilot and Cursor use tools. It runs on your own computer. In Claude Desktop it installs as an extension with nothing else to set up; elsewhere it needs Node.js 20 or later.
Install
Pick your app. Each way runs the same server, @mdzip/mcp-server.
Claude Desktop
- Download
mdzip.mcpb. - In Claude Desktop, open Settings → Desktop app → Extensions and drag the file onto the page.
- Choose the folders it may use (Documents by default), whether it's read-only, and the size limit.
- Click Configure and turn it on. It stays off until you do.
Claude Desktop runs it with its own Node.js, so you don't need to install anything else. Choose a folder that holds your documents rather than a whole drive: searching a drive is slow, and unless you make it read-only, your AI can change any .mdz inside the folders you choose. You can change both later under Configure.
Claude Code
Add the MDZip plugin:
claude plugin marketplace add mdzip-project/mdzip-mcp
claude plugin install mdzip@mdzip-projectCodex and the ChatGPT desktop app
Add the MDZip marketplace, then install MDZip from the app's Plugins directory:
codex plugin marketplace add mdzip-project/mdzip-mcpVS Code
The MDZip Editor for VS Code has the same tools built in (all but mdz_find_archives), for VS Code's own chat and for agents such as Claude Code and Codex in VS Code. You don't need to install the server separately.
Cursor and other apps
Add this to the app's MCP settings. In Cursor that's ~/.cursor/mcp.json.
{
"mcpServers": {
"MDZip": {
"command": "npx",
"args": ["-y", "@mdzip/mcp-server"]
}
}
}Restart the app afterwards. Closing its window may not be enough: quit it completely. If the app can't start npx on Windows, use "command": "cmd" and "args": ["/c", "npx", "-y", "@mdzip/mcp-server"].
What your AI can do with it
| Tool | What it does |
|---|---|
mdz_review_document |
The main document, the pictures it uses, and a hash for safe edits. The best first step |
mdz_search_text |
Search the text files in an archive |
mdz_read_text, mdz_read_image |
Read one file |
mdz_list_entries |
Every file in an archive |
mdz_read_markdown_embedded_images |
The document with its pictures inlined |
upsert_canonical_document |
Replace the main document |
mdz_write_entry, mdz_remove_entry |
Add, replace or remove a file |
mdz_create_archive |
Create a new .mdz from files |
mdz_find_archives |
Find .mdz files in a folder and its subfolders |
Changes are made carefully:
- Nothing is overwritten by accident. A change is refused if the file changed since your AI last read it.
- A failed save leaves the file as it was. The server writes a new copy beside the file and swaps it in.
- Your app can ask before every change. Each tool is marked as reading or writing.
Pictures come back in a form your AI can look at. An SVG diagram comes back as its source and as a rendered picture, so the AI can read its exact labels and see its layout.
Limit what it can reach
In the Claude Desktop extension, choose the folders and read-only under Configure. Elsewhere, add options after @mdzip/mcp-server in args:
--root <folder>keeps the server inside that folder. Repeat it for more folders. Anything outside is refused.--read-onlyoffers only the tools that read.
"args": ["-y", "@mdzip/mcp-server", "--root", "C:\\Users\\me\\Documents\\notes", "--read-only"]The plugins for Claude Code, Codex and ChatGPT can't take options. To use them, add the server yourself as above instead.
Privacy
The server runs on your computer, with your user account's permissions. It reads and writes only the files your AI asks it to (inside the folders you chose, if you limited it), and it doesn't send them, or anything else, over the network. It collects no data and has no telemetry. The only network use is npx downloading the package from npm the first time; the Claude Desktop extension doesn't need even that.
What your AI app does with what it reads is up to that app and its own privacy terms.
Help and support
- Something wrong, or missing? Open an issue on GitHub.
- Every option and detail: the server's README
- Listed in the MCP Registry as
io.github.mdzip-project/mcp-server, and on npm
More
- What AI-friendly means: why
.mdzsuits AI tools, and how it's used with them - AI Producer Guide: how an AI can make a valid
.mdzwithout the server - Source and releases on GitHub
- Other MDZip tools
This page renders from mcp.mdz (MDZip, ~6 KB, updated 2026-11-30) — one self-contained file. Download it, open it in the web editor, or read how these pages are made. Built with @mdzip/renderer.