Claude Code writes the plan.You review it in MarkdownDraft.
Connect Claude Code to MarkdownDraft once. Every spec and plan it writes then comes to you as a document to read and comment on, not a wall of text in the terminal, and every fix shows up in the file for you to accept.
macOS 14 or later. Reading is free; editing and reviews are one payment.
MarkdownDraft is the new name of DotMD. The current download is still named DotMD.
Quick answer
Connect Claude Code to MarkdownDraft over MCP, and each spec or plan it writes comes to you as a document to read, comment on and approve. Reviews are part of MarkdownDraft Reviewer, a one-time purchase; reading is free.
How to connect Claude Code to MarkdownDraft
MarkdownDraft runs a small MCP server on your Mac. Claude Code talks to it to open files in MarkdownDraft, send you documents for review and read your comments. Setting it up takes a minute.
-
Turn on MarkdownDraft's MCP server
In MarkdownDraft, open Settings → MCP and switch on MCP server. The status turns green. Switch on Start with MarkdownDraft too, so the server is ready whenever MarkdownDraft is open.
-
Add MarkdownDraft to Claude Code
Run this once in Terminal:
claude mcp add -s user --transport http dotmd http://127.0.0.1:8089/mcp-s usersets MarkdownDraft up for every project, not only the folder you ran it in. If you added MarkdownDraft before without it, that entry belongs to one project: runclaude mcp remove -s local dotmdin that project to remove it. If you changed the port, copy the address from the top of Settings → MCP. -
Check that it answers
Ask Claude Code to open a Markdown file in MarkdownDraft. The file opens, and Recent Requests in Settings → MCP lists the call in plain words, with a green check.
View and comment on a Claude Code plan
Ask Claude Code for the document, and say where it should go and that you want to review it:
"Write the spec to docs/spec.md and send it to me in MarkdownDraft for review."
-
Claude Code sends you the file
It saves the spec and sends it to you for review. A notification appears, the file is listed under Needs You, and Claude Code waits. It spends no tokens while you read, however long you take.
-
You comment on the passages
Read the spec rendered, with its tables, diagrams and code. Select a passage that should change, press ⌥⌘M and write what you want. Go through the whole document before you send anything.
-
You send the comments
Click Send at the bottom of the Review panel. Claude Code gets all your comments at once. If you have nothing to change, the button says Approve.
-
You check each fix in the file
Claude Code edits the file and sends each comment back with a note on what it did. Every fix sits next to the comment it answers, the old text in red and the new in green. Accept it, Reopen it, or Accept All.
-
You approve
After its fixes Claude Code waits again. Leave more comments and click Send for another round, or click Approve, and it carries on, for example with the code.
Make it a habit: a few lines in CLAUDE.md
Claude Code sends a document for review when you ask it to. To have it do that every time, and to always look for your comments in MarkdownDraft, add these lines to CLAUDE.md in your project, or to ~/.claude/CLAUDE.md for all your projects:
Comments and reviews on Markdown files are kept in MarkdownDraft (MCP server `dotmd`), not in the files.
When I mention comments, a review or remarks on a .md file, read them with get_review_comments,
fix each one and send it back with resolve_review_comments.
After writing or substantially changing a spec, plan or design doc for me, send it to me with
request_review and wait for my answer; call it again after fixing my comments, until I approve.
The first line matters most. Your comments are kept by MarkdownDraft, not in the file, so an agent that doesn't think of MarkdownDraft searches the project for them and finds nothing.
MarkdownDraft can also add these rules to the file for you in one click: see CLAUDE.md and AGENTS.md on a Mac.
Using plan mode? See Claude Code plan mode: where the plans are saved and how to review them.
Things to ask Claude Code
Once MarkdownDraft is connected, Claude Code can show you things in MarkdownDraft as well as send you documents. A few requests that work well:
- "Write the plan to docs/plan.md and open it in MarkdownDraft."
- "Show me in MarkdownDraft where you changed the pricing."
- "I left comments on the plan in MarkdownDraft. Go through them."
- "Rewrite the paragraph I selected in MarkdownDraft."
- "Review docs/compare.md in MarkdownDraft and leave your comments on the lines."
The last one turns Claude Code into the reviewer: its comments appear in MarkdownDraft under its name, and you choose which ones the writer gets. See One agent reviews another.
Claude Code in a Docker container
Inside a container, 127.0.0.1 is the container itself, not your Mac. Docker Desktop lets containers reach the Mac as host.docker.internal, so add MarkdownDraft with that address:
claude mcp add -s user --transport http dotmd http://host.docker.internal:8089/mcp
Other computers still can't reach MarkdownDraft: the server answers on this Mac only. The MCP server guide has the details.
Questions about Claude Code and MarkdownDraft
How do I review a Claude Code plan before it writes code?
Ask Claude Code to send the plan to you in MarkdownDraft. Comment on the passages, click Send, check each fix in the file, then click Approve and Claude Code carries on.
How do I connect Claude Code to MarkdownDraft?
Turn on the MCP server in MarkdownDraft's Settings → MCP. Then run claude mcp add -s user --transport http dotmd http://127.0.0.1:8089/mcp once.
Does Claude Code spend tokens while it waits for my review?
No. It waits in one tool call until you click Send or Approve, however long you take.
Does MarkdownDraft have to be open?
Yes. MarkdownDraft runs the MCP server while it's open. Settings → MCP → Start with MarkdownDraft keeps it ready.
Does MarkdownDraft send my files anywhere?
No. The server answers only on your Mac, and your files, comments and history stay there. Claude Code itself works with Anthropic as it always does.
Can Claude Code review a document Codex wrote?
Yes. Claude Code leaves its comments on the lines, you keep the ones that matter, and Codex fixes them. See One agent reviews another.