Open, edit and save MDZip (.mdz) files in Visual Studio: Markdown and its images in one portable file, with live preview. Connects Copilot to .mdz files through the MDZip MCP server.
Open, edit and save MDZip (.mdz) files in Visual Studio 2026. An .mdz file is Markdown and its images in one portable file: a zip with a manifest, readable by any zip tool.
Preview. This is an early release. Please report problems on GitHub.
Features
Full editing. Open an .mdz file and edit its Markdown with a live preview, the same editor as MDZip for VS Code and MDZip Studio. Save, Save As and the save prompt on close all work as they do for any other file.
Images that stay with the document. Add, replace and view the images inside the archive. HTML such as <img align="right"> wraps text around an image.
Large files. Archives of hundreds of MB open in seconds; the file's bytes never pass through Visual Studio's own process.
Copilot can work with your documents. Tools > Connect MDZip to Copilot (MCP) adds the MDZip MCP server, shipped with the extension, to Visual Studio's MCP configuration. Copilot can then list, read, search and edit .mdz files, and an open file reloads when Copilot changes it.
Untouched content is kept. Saving rewrites only what you changed; other entries and unknown manifest fields come through as they were.
Using Copilot with .mdz files
Choose Tools > Connect MDZip to Copilot (MCP)... and confirm. It adds an MDZip server to %USERPROFILE%\.mcp.json (other servers in the file are kept).
Open GitHub Copilot Chat, switch to Agent mode, select Tools and tick the MDZip tools (Visual Studio starts them turned off).
Ask, for example, "Summarize C:\notes\meeting.mdz" or "Add a Next steps section to report.mdz".
The server runs on Node.js 20 or later: the one on your PATH, or the copy Visual Studio ships with its web development workloads. It accepts archives up to 1 GB; change --max-file-mb in the entry to allow more or less.
Requirements
Visual Studio 2026 (any edition) on Windows. Copilot integration needs GitHub Copilot with agent mode.
Learn more
mdzip.org: the format, and other apps that open .mdz files