doc-review
This MCP server lets an AI open a doc-review workspace, wait for user comments, collaborate on comment threads, manage review rounds, and configure workspace tags/display rules.
Open a folder or file in the doc-review web UI and return its URL, optionally opening the browser.
Block waiting for the user to press "Send to AI", then receive new comments with file, line, quote, context, thread history, referenced @files/#tags, and any standing instruction.
Reply in comment threads with notes or questions, and resolve comments with a short note.
Create new anchored comment threads itself to flag doubts, facts to check, or suggestions.
Finish the current round with a summary and diff of changes for the user to accept or revert.
List comment threads by file and/or status, including anchors and messages.
Set, list, or clear per-workspace display rules that color/style text or attach hover/inline annotations without changing file contents.
Define or update #tags with descriptions and related files for autocomplete and comment context.
Connects to a locally running Ollama instance as a free AI provider for document review, allowing local models to handle comments and edits without a cloud API key.
Connects to OpenAI's API as a selectable AI provider for the built-in document review assistant, enabling AI-driven comment responses and find-and-replace edits to files.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@doc-review open the ~/Documents/thesis folder in doc-review"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Doc Review
Comment on documents like in Google Docs, then let AI handle your comments.
Works with .md, .txt, .tex. Free, open source, runs on your computer.


Install
Desktop app (anyone): download from Releases (.dmg Mac, .exe Windows), open it, pick a folder.
The app is unsigned: on Mac right-click it → Open; on Windows click More info → Run anyway.
Then click AI not set up (top right) and paste an API key from OpenAI, Anthropic or OpenRouter. Free alternative: Ollama. A ChatGPT/Claude chat subscription is not an API key.
Claude Code / MCP (needs Node 18+ and git):
git clone https://github.com/MichaelEight/doc-review.git ~/doc-review
claude mcp add --scope user doc-review -- node ~/doc-review/bin/doc-review.js --mcpOther MCP clients: command node, args ["/full/path/doc-review/bin/doc-review.js", "--mcp"].
Then ask: "open this folder in doc-review".
Related MCP server: overleaf-mcp
Use
Select text, click Comment (or click a spot, then +).
Press Send to AI (⌘⇧↵).
Review the edits in the Changes tab: Accept, Edit or Revert.
Do | How |
Find a file or phrase | ⌘K |
Mention a file or tag |
|
Quick commands | Start a comment with |
Same request on every comment | Instruction button next to Send |
LaTeX preview | PDF tab (needs |
Shortcuts
Action | Mac | Windows |
Send to AI | ⌘ ⇧ ↵ | Ctrl Shift Enter |
Add comment on selection | ⌘ ⌥ M | Ctrl Alt M |
Post reply | ⌘ ↵ | Ctrl Enter |
Search files and text | ⌘ K | Ctrl K |
Jump to heading | ⌘ ⇧ O | Ctrl Shift O |
Previous / next comment | ⌥ , and ⌥ . | Alt , and Alt . |
Switch tab 1–9 / close tab | ⌥ 1–9 / ⌥ W | Alt 1–9 / Alt W |
Bold / italic / underline | ⌘ B / I / U | Ctrl B / I / U |
Undo | ⌘ Z | Ctrl Z |
Limits
Not signed yet. No
.docxyet.API key is saved in plain text in
~/.config/doc-review/ai.json(only you can read it).Tested on macOS only.
MIT licence.
Available Tools
9 toolsreview_commentB
Start a new comment thread yourself, anchored on an exact quote from a file (or at the start of the file if quote is empty). Use it to point the user at something: a doubt, a fact to check, a suggestion.
Inputs: file (required), text (required), kind, root, +2 more.
review_define_tagB
Define or update a #tag for this workspace (a concept, topic or convention, e.g. #image-gs = "Gaussian splatting figures, see figures/gs/"). Tags autocomplete in the UI and their definitions are sent along whenever a comment uses them.
Inputs: name (required), description (required), root, files.
review_finishA
End the current round: the UI unlocks editing and shows your summary and the diff of your changes for the user to accept or revert.
Inputs: root, summary.
review_openA
Open a folder (or the folder of a file) in the doc-review web UI and return its URL. The user reads, edits and comments on .md/.txt/.tex files there, then presses "Send to AI". Put the returned url in a chat message before you call review_wait, which blocks for minutes and keeps anything said after it from reaching the user in time.
Inputs: path (required), open_browser.
review_replyA
Post a message in a comment thread, shown in the margin next to the text. kind=question when you need the user's answer before you can act (the answer arrives in a later review_wait); kind=note to explain or agree (e.g. "Yeah, that's right") without resolving.
Inputs: text (required), comment_id (required), kind.
review_resolveB
Mark a comment as handled, with a short note shown to the user (e.g. "Corrected", "Rewrote the intro as asked").
Inputs: comment_id (required), note.
review_styleA
Set, list or clear display rules: colouring and notes that change how files are SHOWN in the UI and never touch what they contain. A rule matches a literal or a regular expression in the files its scope globs select, then paints it (colour, background, bold, italic, underline, strike, dim), attaches a note to it (on hover or inline), or both. Use it when the user asks for something like "colour this nick blue", "give the text in <> a grey background", "dim the timestamps" or "on hover show how long since the previous line". Rules are per workspace and persist.
Inputs: op, ids, file, root, +2 more.
review_threadsB
List comment threads (all, or one file / status) with their current anchor position and messages.
Inputs: file, root, status.
review_waitA
Block until the user presses "Send to AI", then return every new comment with its file, line, quoted text, context and thread history, plus referenced @files and #tags, and the user's standing instruction for the round if they set one (it overrides the default of editing the files; follow it). Ends the previous round. Returns {status:"timeout"} after timeout_seconds; then call it again to keep listening. This blocks for minutes, so make sure the UI url is already in a chat message before you call it.
Inputs: root, timeout_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
The tools mostly target clearly distinct actions: opening the UI, waiting, replying in an existing thread, resolving, creating a new anchored comment, finishing, listing threads, styling display, and defining tags. The only subtle overlap is between review_wait ending a previous round and review_finish ending the current round, but the descriptions help clarify the lifecycle.
All nine tools use the same review_ prefix with lowercase snake_case suffixes, and the suffixes consistently describe the action or resource. There is no mixing of camelCase, PascalCase, or inconsistent verb styles.
Nine tools is well-scoped for a collaborative document-review workflow with UI interaction, threaded comments, round management, and style/tag configuration. Each tool appears to earn its place without obvious redundancy.
The surface covers the core review lifecycle: open, wait, comment, reply, resolve, list threads, finish, plus styling and tag definitions. Minor gaps such as editing/deleting existing comments or explicitly reopening resolved threads are not exposed, but agents can likely work around them.
Maintenance
Related MCP Connectors
Share markdown as a link anyone can comment on and edit, no account. MCP server and CLI.
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA desktop launcher and local MCP workspace server that enables ChatGPT and other MCP clients to securely read, edit, search, run commands, and show changes in selected local project folders.1MIT
- AlicenseAqualityCmaintenanceEnables collaborative LaTeX editing on Overleaf with tracked changes, review comments, compilation, file management, and downloads via a single MCP connection.261AGPL 3.0

PocketDraft MCPofficial
FlicenseAqualityBmaintenanceEnables MCP agents to inspect and precisely edit a paired browser editor project through local stdio, with batch commands, previews, exports, validation, and guarded undo/redo while keeping changes hand-editable.11-- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to browse and edit approved local workspace files, inspect and modify .xlsx spreadsheets, run terminal commands, and use previews and local approvals backed by path guards, backups, and audit logging.MIT