原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Google Docs MCP

作者:yeyo11版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.yeyo11/google-docs-mcp

安装

概览

作者提供的说明(英文原文)

Read-only server that explains a Google Doc's comments and reply threads to an AI assistant.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@yeyo11/google-docs-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add google-docs -- npx -y @yeyo11/google-docs-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@yeyo11/google-docs-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "google-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yeyo11/google-docs-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 yeyo11 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32712 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32712 个服务器的 97% 更新
  • 基础检查结果等于或优于此分类中其他 32712 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Google Docs MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Aiterm MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Aiterm MCP

作者:kitepon

Persistent terminals and one launcher for Claude, Codex, Grok, Cursor, and Antigravity harnesses.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

google-docs-mcp

A read-only Model Context Protocol server for Google Docs. Its job is to explain a document's comments to an AI assistant (Claude or any MCP client) in full detail: who wrote each one, when, on which piece of text, whether it is open or resolved, the complete reply thread, and who resolved it.

  • Read-only by design. It only requests the documents.readonly and drive.readonly scopes. There is no tool that creates, edits, resolves or deletes anything, and every tool is advertised with readOnlyHint: true.
  • OAuth 2.0 sign-in. Users authenticate with their own Google account through the desktop-app flow with PKCE. Tokens are stored locally and refreshed automatically (see the seven-day exception for External apps in Testing mode).
  • Zero configuration for the assistant. Tools accept a document ID *or* a full Google Docs URL.

Built by José Antonio Garrido. I write about the developer tools I build on my blog, josegarrido.dev.

Tools

ToolWhat it does
list_commentsThe main tool. Every comment in full detail: author, dates, open/resolved status, quoted text, the whole reply thread (including who resolved or reopened it) and, optionally, the paragraph of the document where the quoted text appears. Filter by status, include deleted comments, paginate, and choose markdown or json output.
get_comments_summaryAggregate view: counts by status, participants and their activity, open comments with no replies, open comments waiting for the original author, oldest open comment and latest activity.
get_commentA single comment thread by ID, with context.
get_documentDocument metadata plus plain-text content (all tabs), so the assistant can understand what the comments refer to.
list_documentsSearch Google Docs in Drive (shared drives included) by title or full text.
get_auth_statusWhether the server is signed in and with which account.
Example: list_comments
# Q4 project plan
  • Document ID: 1AbC...
  • Link: https://docs.google.com/document/d/1AbC.../edit
  • Owner: Ana
  • Last modified: 2026-09-22 08:00 UTC by Jose (you)

Comments (all): 2

[1] 🟢 OPEN — Ana · 2026-09-22 08:00 UTC

Quoted text (what the comment refers to):

delivery date

Surrounding paragraph (#7):

The delivery date will be shared with the client once the scope is final.

Comment: The delivery date is missing.

_No replies yet._

Comment ID: AAAAxyz

[2] ✅ RESOLVED — Ana · 2026-09-20 10:32 UTC

... Thread (2 replies):

  • Jose (you) · 2026-09-21 09:00 UTC: Yes, moving it.
  • Jose (you) · 2026-09-21 12:00 UTC — marked as RESOLVED

Resolved by Jose (you) on 2026-09-21 12:00 UTC.

Comment and reply authors appear by display name: the Drive API doesn't populate their email address. A document's owner and last editor show an email when Google makes it visible to you.

Quick start

Prerequisites
  • Node.js >= 20
  • A Google Cloud project with the Google Drive API and Google Docs API enabled
1. Create an OAuth client in Google Cloud
  1. Open the Google Cloud Console and create or select a project.
  2. APIs & Services → Library: enable *Google Drive API* and *Google Docs API*.
  3. APIs & Services → OAuth consent screen: configure it. Use *Internal* for a Workspace organization; for *External* apps in testing mode, add your account as a test user.
  4. APIs & Services → Credentials → Create credentials → OAuth client ID, application type Desktop app.
  5. Download the JSON and save it as ~/.config/google-docs-mcp/credentials.json.

External apps in Testing mode have to sign in again every seven days. With an *External* consent screen whose

publishing status is *Testing*, Google

issues a refresh token that expires in 7 days,

so automatic renewal stops working and tools report that the sign-in expired until you repeat step 2. The running

server picks up the new sign-in without a restart. An *Internal* consent screen (Workspace organizations only) doesn't

have this limit. Neither does publishing the app (*In production*), but drive.readonly is a restricted scope, so

Google then

shows an unverified-app warning and caps the project at 100 users

unless the app is verified.

You can use environment variables instead of the file:

export GOOGLE_CLIENT_ID="...apps.googleusercontent.com"

export GOOGLE_CLIENT_SECRET="..."

2. Sign in with Google
npx -y -p @yeyo11/google-docs-mcp google-docs-mcp-auth

Your browser opens (or the URL is printed so you can paste it). Google asks for read-only access to Drive and Docs. Tokens are saved to ~/.config/google-docs-mcp/token.json with 0600 permissions. Run the same command again to switch accounts.

3. Register the server with your MCP client

No clone or build step is needed; npx fetches the package on first use.

Claude Desktop (claude_desktop_config.json):

{

"mcpServers": { "google-docs": { "command": "npx", "args": ["-y", "@yeyo11/google-docs-mcp"] } } }

Claude Code:

claude mcp add google-docs -- npx -y @yeyo11/google-docs-mcp

Any other MCP client that supports stdio servers works the same way. If you use environment variables for the OAuth client, add them to the env block of your client configuration.

Running from source instead

git clone https://github.com/yeyo11/google-docs-mcp.git

cd google-docs-mcp npm install npm run build npm run auth

Then point your MCP client at node /absolute/path/to/google-docs-mcp/dist/index.js.

4. Ask away

"Summarize the open comments in https://docs.google.com/document/d/…/edit and tell me which ones are waiting on me."

Configuration

VariableDescriptionDefault
GOOGLE_OAUTH_CREDENTIALSPath to the OAuth client JSON.~/.config/google-docs-mcp/credentials.json
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRETAlternative to the JSON file.—
GOOGLE_DOCS_MCP_TOKEN_PATHWhere the user's tokens are stored.~/.config/google-docs-mcp/token.json
GOOGLE_DOCS_MCP_CONFIG_DIRBase directory for the two files above.~/.config/google-docs-mcp

How it works

MCP client ──stdio──▶ google-docs-mcp ──OAuth2 (read-only)──▶ Google Drive API (files, comments)

└▶ Google Docs API (document text)

  • Comments come from the Drive API (comments.list / comments.get) with every field requested explicitly, so nothing is silently dropped: quoted text, replies, resolve/reopen actions, deleted flags.
  • The "surrounding paragraph" is found by locating the quoted text inside the document body fetched from the Docs API (all tabs are traversed, including tables).
  • Google API errors (401/403/404/429) are returned as MCP isError results with an actionable message instead of breaking the session. Logs go to stderr; stdout is reserved for the protocol.

Development

npm run dev        # run the server from src/ with tsx

npm run typecheck # type-check without emitting npm test # smoke test: tool listing, error handling without credentials, comment formatting

See CONTRIBUTING.md for the workflow and commit conventions.

Security

  • Only read-only scopes are requested; Google never grants this client write access.
  • If the stored token lacks the expected scopes, the server refuses to use it and asks you to sign in again.
  • credentials.json and token.json are git-ignored. Never commit them.
  • To revoke access, remove the app at https://myaccount.google.com/permissions and delete token.json.

To report a vulnerability, see SECURITY.md.

Limits

  • Read-only. It can't create, reply to or resolve comments, or edit documents.
  • Google Docs only. Sheets, Slides and other file types are refused, by URL and by bare ID.
  • Suggestions, assignments and mentions aren't read as such. A comment is its text, status and thread: an assigned comment looks like any other and a mention is just part of the text. Depending on your access, text pending as a suggestion can appear in get_document as ordinary text.
  • Comment authors are told apart by display name, since Drive doesn't return their email. In get_comments_summary, two people with the same name count as one.
  • `get_document` returns plain body text from all tabs, tables included: no formatting, images, smart chips, headers, footers or footnotes. 20,000 characters by default, 500,000 at most (max_chars).
  • The surrounding paragraph is found by searching for the quoted text. It takes the first match, so a repeated phrase can point to the wrong paragraph, and it may be missed if the text was edited after the comment. Quotes under 8 characters get no paragraph, and paragraphs over 600 characters are trimmed.
  • `list_comments` pages by 100. Use page_token for the rest. The status filter applies to each page, so a page can come back short or empty while more remain. get_comments_summary reads every page.
  • One Google account per installation. Run the sign-in command again to switch.
  • Local stdio only. There is no remote or HTTP transport.
  • Tokens are stored unencrypted in token.json, with 0600 permissions.
  • `drive.readonly` covers all of Drive the account can see, not only Docs. The tools read Docs only, but that is what you grant on Google's sign-in screen and what the stored token allows.
  • What a tool returns reaches the assistant. Document text, comments, names and email addresses go to whichever assistant and model provider you use. Text written by other people arrives as is, so treat it as untrusted.

Roadmap

  • Optional write tools (reply, resolve) behind an explicit opt-in scope
  • Multiple accounts / profiles
  • Streamable HTTP transport for remote deployments

License

MIT

问 PopNx