gdocs-comments-mcp
v0.1.1Add inline, range-anchored comments to Google Docs - the one comment op the Google APIs can't do.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
add_comment
Add an inline comment anchored to a specific text fragment in a Google Doc (the comment is pinned to that exact phrase, like selecting text and commenting on it by hand). USE THIS WHEN the user wants to leave feedback, notes, questions, edits, or review comments on specific passages of a Google Doc — e.g. "review this doc and comment on the weak spots", "leave a comment on that sentence", "add editorial feedback inline". This is the ONLY way to place anchored comments: the Google Docs and Drive APIs cannot anchor a comment to a text range, so this drives a real logged-in Docs session in a br…
| Parameter | Type | Description |
|---|---|---|
comment_text * | string | The comment body. Plain text; newlines allowed. |
doc * | string | Google Docs document id, or the full docs.google.com/document/d/<id>/edit URL. |
find_text | string | Exact single-line text fragment to anchor the comment to. Must match the doc text exactly; pick a fragment unique enough to identify the spot (or pass occurrence). Omit for a general, unanchored comme… |
occurrence | integer | When find_text appears multiple times, anchor to the N-th match (1-based). Default: 1. |
check_connection
Check whether the Google session behind this server is usable: launches/attaches the browser and probes docs.google.com. Returns { connected, mode }. Call this to diagnose failures; if connected=false, ask the operator to run `npx gdocs-comments-mcp login`.