Comments in the file
A standard Markdown comment carries the structured comment. GitHub, Typora and Obsidian render nothing; git diff shows everything. Change tools and nothing is lost.
Local-first · MIT · Free
Open a .md, edit it right in the rendered view, keep review comments inside the file itself — invisible when rendered, visible in git diff — export to Word / PDF / WeChat, or hand it to an AI agent over MCP.
Why MDA
A standard Markdown comment carries the structured comment. GitHub, Typora and Obsidian render nothing; git diff shows everything. Change tools and nothing is lost.
Click into rendered text and type. **, ~~ and backticks stay hidden; tables, code blocks and Mermaid are editable in place, and the file on disk stays clean source.
Single-file HTML / PDF / Word export and one-click rich text for WeChat. Local images, KaTeX formulas and diagrams are embedded — no network required.
A built-in stdio MCP server exposes six tools: scan, add, edit and remove comments, read a file, export a review prompt. Works with Claude Desktop, Cursor and other clients.
Features
Independent edit and comment toggles around a permanent preview; all three panes can sit side by side, resizable and double-click to reset.
Select a sentence in preview or source, leave a comment on exactly that range; highlight and panel entry locate each other.
Edit table cells, fenced code and Mermaid source directly in the rendered layer, with the same inline-style rules as body text.
Offline diagrams, typeset formulas, and README-style HTML badges or <details> rendered as cards.
Single-file HTML / PDF / Word; copying for WeChat embeds images, formulas and diagrams as PNG automatically.
Drag, rename, copy/move (undoable) and delete with confirmation inside a workspace tree; outline follows the caret; last session and window layout are remembered.
Follow the system or switch manually; syntax colors and diagrams follow the theme, and the UI language changes instantly.
GUI, mda-cli and mda-mcp share @mda/core, so automation behaves exactly like the app.
No login, no activation, no network. Every rendering asset ships with the installer.
Workflow
Drop in a .md or pick a workspace folder; the Markdown tree, outline and recent files are ready.
Change a few lines in the preview or switch to source. Saving is atomic and keeps the original line endings.
Comment on a paragraph or a selection with severity and tags. Mark it resolved and it still stays in the diff.
Export Word / PDF, copy into WeChat, or let an MCP client pick up the comments and continue.
Download
v3.1.0 · free · no account. Windows installer, portable exe and zip are on Releases; macOS and Linux builds run from source or your own packaging pipeline.
$ git clone https://github.com/ShuiYunYueKeeper/mda-l2.git
$ cd mda-l2 && npm install
$ npm run build
$ npm run gui -- samples/demo.md
$ npm run cli -- scan samples/demo.md --format json
$ node dist/mcp/server.js --workspace ./docs
FAQ
No. A comment is a CommonMark link reference definition ([comment]: <> (@anno {…})) and produces no visible output. Tools that do not understand the payload see an ordinary reference line. Body text is never modified.
Those are a writing tool, a knowledge base and a general editor. MDA covers the step after you receive a .md: understand it, change a few lines, leave structured feedback, export what the other side needs, then hand it to an agent. Comments living in the file and MCP being a first-class entry point are the practical differences.
Windows, macOS and Linux. Windows builds include an installer, a portable exe and a zip; macOS and Linux packages must be built on their own platform, and the electron-builder config ships in the repo.
Free and open source under MIT, with no account or activation. The app only reads and writes the files you open; preview, export and WeChat copy run locally. The MCP server is restricted to paths under --workspace.
Point your MCP client at dist/mcp/server.js, optionally with --workspace to limit accessible paths. Six tools: scan, add, edit and remove comments, read a file, and export a review prompt.
If MDA saves you a format conversion or a round of screenshot-and-chat review, a star is the most useful way to say so.
Comments in the file
Feedback travels with the file,
not with a system.
A comment is not a database row or a sidecar file. It is a valid Markdown link reference definition placed above the paragraph it reviews. It is copied, committed and merged with the document; removing it never touches a body line.