プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Gdocs Comments MCP

作者:stanislawherjan1バージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.stanislawherjan1/gdocs-comments-mcp

インストール

概要

作者による説明(英語の原文)

Add inline, range-anchored comments to Google Docs - the one comment op the Google APIs can't do.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 文書・表計算・事務作業

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: GDOCS_COMMENTS_PROFILE_DIR, GDOCS_COMMENTS_CDP_URL

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "gdocs-comments": {
      "command": "npx",
      "args": [
        "-y",
        "gdocs-comments-mcp"
      ],
      "env": {
        "GDOCS_COMMENTS_PROFILE_DIR": "your-value",
        "GDOCS_COMMENTS_CDP_URL": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add gdocs-comments --env GDOCS_COMMENTS_PROFILE_DIR=your-value --env GDOCS_COMMENTS_CDP_URL=your-value -- npx -y gdocs-comments-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "gdocs-comments": {
      "command": "npx",
      "args": [
        "-y",
        "gdocs-comments-mcp"
      ],
      "env": {
        "GDOCS_COMMENTS_PROFILE_DIR": "your-value",
        "GDOCS_COMMENTS_CDP_URL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "gdocs-comments": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gdocs-comments-mcp"
      ],
      "env": {
        "GDOCS_COMMENTS_PROFILE_DIR": "your-value",
        "GDOCS_COMMENTS_CDP_URL": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • GDOCS_COMMENTS_PROFILE_DIR env
    Browser profile location (default ~/.gdocs-comments-mcp/profile)
  • GDOCS_COMMENTS_CDP_URL env
    Attach to an existing browser over CDP instead of managing a profile

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント stanislawherjan1 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

文書・表計算・事務作業のほかのサーバーとの比較i

  • このカテゴリのほかの2197件のうち0%よりスターが多い
  • このカテゴリのほかの2197件のうち18%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2197件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Gdocs Comments MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

パソコンで動く★ 4,276MIT6 日前更新
インストール

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

パソコンで動く★ 847MIT4 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

gdocs-comments-mcp

Inline, range-anchored comments for Google Docs — the one comment operation the Google APIs can't do.

= 18">

Quickstart · Scope · Tools · Configuration · How it works · Troubleshooting · Server deployment · FAQ

You're building an AI process around Google Docs — an agent that reviews drafts, audits contracts, gives editorial feedback. The natural way to deliver that feedback is how humans do it: a comment pinned to the exact sentence it's about, not a wall of text dumped at the end of the doc or into chat.

Then you hit the wall: the Google APIs can't create anchored comments. The Docs API has no comment endpoints at all, and the Drive API accepts an anchor field only to have the Docs editor ignore it — the comment shows up as a general, whole-document comment.

This MCP server closes that gap. Your agent calls add_comment with a text fragment and a comment; the server posts it through a real, logged-in Google Docs session, so it lands anchored to that exact text — just as if a human had selected it and pressed Ctrl+Alt+M:

Why not the official APIs?

This server does one thing: add a comment to a Google Doc. The interesting case is the anchored one — a comment pinned to a specific text range — which no Google API can do.

Add a comment…Google Docs APIGoogle Drive APIthis server
unanchored (whole document)❌✅✅
anchored to a text range❌❌✅

The Docs API has no comment endpoints at all. The Drive API's comments.create accepts an anchor field, but the Docs editor ignores it — the comment renders as an unanchored, whole-document comment. The editor's own anchor format (kix.*) is undocumented and can't be produced externally (Drive API docs, issuetracker #292610078, open since 2016). Driving the editor UI is the only way — so this server does exactly that, and nothing else. (Listing, replying, resolving, and deleting comments already work over the Drive API — use a Drive-based tool for those.)

What this does — and what it doesn't

This server is deliberately one narrow thing. Read this before wiring it in.

✅ It does: add comments to a Google Doc — anchored to a specific text range (the part no API can do), or unanchored on the whole document.

❌ It does NOT:

You want to…Use instead
Read the document's content (so an agent can decide what to comment on, or get the exact text to anchor to)Google Docs API (documents.get) or a Docs-reading MCP
Export the doc (text / markdown / PDF)Google Drive API (files.export)
List / reply to / resolve / delete commentsGoogle Drive API (comments.*) — faster, no browser

Important: this tool never returns document content — its output is structured-only ({ ok, anchored, occurrence_used, verified }), by design, so a malicious doc can't inject instructions into your agent. That means the agent is writing *blind*: to review a doc intelligently, pair this with a read capability (Docs API documents.get) and feed the exact quoted text back in as find_text. The two use different auth — this server drives a logged-in browser session (no OAuth), while the Docs/Drive APIs need an OAuth token or service account — but they can run against the same Google account.

Quickstart

One command — signs you in (opens a browser once), then registers the server with Claude Code:

npx -y gdocs-comments-mcp setup

That's it — skip to Use it below. Prefer to do it by hand, or use another client? The manual steps are below.

Manual setup

1. Log in once — opens a browser window; the Google session is saved to a local profile (~/.gdocs-comments-mcp/profile):

npx -y gdocs-comments-mcp login

2. Add the server to your MCP client:

# Claude Code

claude mcp add gdocs-comments -- npx -y gdocs-comments-mcp

Other MCP clients — after login, add the config for your client:

Claude Desktop / Cowork

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "gdocs-comments": { "command": "npx", "args": ["-y", "gdocs-comments-mcp"] } } }

</details>

Project-level .mcp.json (shared with your team via git)

Create .mcp.json in the project root — Claude Code, Cowork, and most MCP clients pick it up:

{

"mcpServers": { "gdocs-comments": { "command": "npx", "args": ["-y", "gdocs-comments-mcp"] } } }

Note: every user of the project still runs npx gdocs-comments-mcp login once on their own machine — sessions are personal and never shared through git.

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{

"mcpServers": { "gdocs-comments": { "command": "npx", "args": ["-y", "gdocs-comments-mcp"] } } }

</details>

VS Code (GitHub Copilot)

Add to .vscode/mcp.json:

{

"servers": { "gdocs-comments": { "type": "stdio", "command": "npx", "args": ["-y", "gdocs-comments-mcp"] } } }

</details>

3. Use it — ask your agent:

Add a comment to https://docs.google.com/document/d/1AbC…/edit — anchor it to "quarterly numbers" and say "Update this before Friday".

The agent calls add_comment and gets back:

{ "ok": true, "anchored": true, "occurrence_used": 1, "verified": true }

…and the comment is sitting on the highlighted phrase in the doc, from the account you logged in with.

No Playwright browser download is needed — by default the server drives your installed Google Chrome via playwright-core.

Tools

add_comment
ParamRequiredDescription
doc✅Document id or full docs.google.com/document/d/ /edit URL
comment_text✅Comment body (plain text, newlines OK)
find_text—Exact, single-line text fragment to anchor to (must match the doc text). Omit to add a general, unanchored comment on the whole document.
occurrence—Anchor to the N-th match when find_text appears multiple times (default 1)

Returns { ok, anchored, occurrence_used, verified } — verified: true means the posted comment was observed in the page after submitting. If find_text is given but not found, the call fails with TEXT_NOT_FOUND and nothing is posted.

The tool never returns document content, so a malicious doc can't inject instructions into your agent through it.

check_connection

Probes the Google session; returns { connected, mode }. If connected: false, run npx gdocs-comments-mcp login again.

Scope note: this server does *one* thing — creating anchored comments. Listing, replying, resolving, and deleting comments all work fine through the Drive API (comments.*), which is faster and needs no browser — use a Drive-based MCP for those.

CLI

npx gdocs-comments-mcp login    # one-time interactive Google sign-in

npx gdocs-comments-mcp status # is the saved session still valid? npx gdocs-comments-mcp logout # delete the saved session/profile

Configuration

All optional, via environment variables:

Env varDefaultPurpose
GDOCS_COMMENTS_PROFILE_DIR~/.gdocs-comments-mcp/profileWhere the logged-in browser profile lives (set a different dir per Google account)
GDOCS_COMMENTS_BROWSER_CHANNELchromechrome \msedge \chromium (bundled; needs npx playwright install chromium)
GDOCS_COMMENTS_HEADLESStrueSet false to watch the automation work
GDOCS_COMMENTS_IDLE_CLOSE_MIN10Close the managed browser after N idle minutes (0 = keep open)
GDOCS_COMMENTS_CDP_URL—Attach to an existing browser over CDP instead of managing a profile (see below)
GDOCS_COMMENTS_AUDIT_LOGoffJSONL audit log (hashes only, no content)

Troubleshooting

ErrorWhat it meansFix
NOT_CONNECTEDNo saved Google session yetnpx gdocs-comments-mcp login
SESSION_EXPIREDThe saved session lapsed (idle sessions die after ~1–2 weeks)npx gdocs-comments-mcp login again
TEXT_NOT_FOUNDfind_text doesn't occur in the doc (or occurrence > number of matches)Pass a fragment that matches the doc text exactly — nothing was posted
NO_BROWSERNo Chrome/Edge/Chromium foundInstall Google Chrome, or npx playwright install chromium + GDOCS_COMMENTS_BROWSER_CHANNEL=chromium
PROFILE_LOCKEDAnother process holds the profile (usually a running server + a login/status attempt)Stop one of them, or use a second GDOCS_COMMENTS_PROFILE_DIR
Comment lands but verified: falseThe post-submit check couldn't see the comment (can be a false negative on long comments)Check the doc; rerun with GDOCS_COMMENTS_HEADLESS=false to watch

First run on a new machine? npx gdocs-comments-mcp status tells you exactly where you stand.

Running on a server / datacenter IP

On a residential machine the default profile mode just works. On datacenter IPs, Google's anti-fraud rejects a freshly launched browser process reusing a saved session — it bounces to accounts.google.com/confirmidentifier. Relaunching from a profile does not work there.

What does work: keep the exact browser the operator logged into alive, and let this server attach to it:

  1. Start a long-lived Chrome/Chromium (under Xvfb if headless) with --remote-debugging-port=9333 and log in to Google inside it once.
  2. Run the MCP server with GDOCS_COMMENTS_CDP_URL=http://127.0.0.1:9333.

The server then drives that live session over CDP and never launches its own browser. Keep the session warm by navigating it to docs.google.com every few hours, or an idle session expires after ~1–2 weeks.

How it works

Because the APIs can't anchor a comment, the server does exactly what a person would: it drives the real Google Docs editor. Here's the full path of one add_comment call.

1. Attach to a logged-in browser. In the default *profile mode*, the server owns a persistent Chromium profile (your installed Google C

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く