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

Google Docs MCP

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

安装

概览

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

Google Docs as MCP tools: read, edit, suggest and comment on documents.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公

安装

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

安装之前

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

你用的是哪个应用?

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

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

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

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“文档、表格与办公”中的其他服务器比较i

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

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

常见问题

Google Docs MCP 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

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

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

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

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、图片和脚本已被移除。链接会离开本站。

google-docs-mcp

Google Docs as MCP tools. Read, edit, suggest and comment on documents from Claude or any MCP client.

A single Go binary that speaks Model Context Protocol over stdio. It runs as a subprocess of your client, on your own machine, against your own Google account. There is no server to host, no shared deployment and no service account: you create a Google OAuth client, log in once, and the refresh token stays in your OS keyring.

It is for a person with a Google account who wants an assistant to work inside their documents the way a careful colleague does. It reads a document at the right granularity, edits in place without damaging what surrounds the edit, proposes changes as suggestions, and comments on passages. It handles tables, tabs, headers, footnotes and formatting, and Markdown and Word files Docs opens in Drive. Folders, sharing and moving files belong to a Drive server such as google-drive-mcp.

Goals and non-goals

Goals:

  • Nothing in a document is destroyed by accident. A replace changes only the words that differ. A direct edit that would delete a comment anchor, a suggestion, an image or a footnote is refused unless forced, and suggest and comment modes delete nothing.
  • Edits land where they were meant to. The model addresses content by exact text, heading id, block handle or named range, never by an index. Every write is checked against the revision it was planned on.
  • You decide how a change lands. Suggest, direct or comment, with a default you set; the server never swaps one for another.
  • Results say what happened. A write reports what it touched and the new revision. A write that may have landed says so rather than being sent twice.
  • Your documents stay yours. Every call runs as the signed-in account, only to Google's hosts, with no telemetry. Logs never carry a document id, title or text.

Non-goals:

  • Folders, moves, sharing, trash and copies. The scope is one document and everything inside it, its history included.
  • A hosted service. It speaks stdio only.
  • Round-tripping a document through Markdown. Markdown is for new content. What the Docs API cannot express is refused, naming the construct, rather than approximated.
  • What the Docs API cannot do: insert a chart or a table of contents, write an equation or a drawing, read an old revision's structure rather than its export, or fetch an image from a private address.
  • Asking you before a call. Your client approves each call; the server asks nothing.

Why google-docs-mcp

Other servers hand the model raw UTF-16 indices, convert Markdown in ways that silently corrupt documents, and anchor comments through the Drive API, where they never render inline. This server keeps index math on the server, addresses content by exact text and stable heading ids, edits by minimal diff, refuses to overwrite anchored content, and uses the Docs API's suggestion mode and pinned comments. Every GA request of the Docs API is emitted. The reasoning, one decision at a time, is in docs/architecture.md.

Install

go install github.com/mmedum/google-docs-mcp/v3/cmd/google-docs-mcp@latest

That puts google-docs-mcp in $(go env GOPATH)/bin, which is the path to give your MCP client. Or take a signed archive from the latest release — Linux, macOS and Windows, on amd64 and arm64 — and verify it before you run it:

tar xzf google-docs-mcp_*_linux_amd64.tar.gz

sha256sum -c checksums.txt --ignore-missing

The checksum file is signed with a keyless Sigstore certificate tied to

the release workflow's identity. The bundle carries both.

cosign verify-blob checksums.txt \ --bundle checksums.txt.bundle \ --certificate-identity-regexp 'https://github\.com/mmedum/google-docs-mcp/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com

And the archive itself carries build provenance.

gh attestation verify google-docs-mcp_*_linux_amd64.tar.gz --repo mmedum/google-docs-mcp

Every archive also ships an SBOM (.sbom.json), so you can see what is inside a binary you did not build. go install needs none of this: the module proxy and sum.golang.org verify the source before it is built. google-docs-mcp --version reports the release it came from either way.

Set up Google

Every deployer uses their own Google Cloud project and OAuth client. There is no shared app and nothing to verify with Google.

  1. Create or pick a Google Cloud project.
  2. Enable the Google Docs API and the Google Drive API (APIs & Services → Library).
  3. Configure the OAuth consent screen (Google Auth Platform → Audience):
  • Internal if your account is in a Google Workspace organization. Tokens then never expire.
  • External with publishing status Testing for a consumer account. Add yourself as a test user. Google expires refresh tokens for such apps after 7 days, so you will run login weekly.
  1. On an External app, add the scopes (Google Auth Platform → Data Access): .../auth/documents, .../auth/documents.readonly, .../auth/drive, .../auth/drive.readonly. Google asks for the list only from apps used by people outside your Workspace organization, so an Internal app can skip this step. Listing them there anyway does no harm.

One login asks for one pair of them: a normal login requests documents and drive, and GDOCS_READ_ONLY=true requests documents.readonly and drive.readonly instead. An External app's consent screen lists what the client may ask for, so it has to cover both pairs, and a scope it has not been given is refused at the moment somebody first tries read-only mode. Google grants only what is requested, so listing the read-only pair costs a normal login nothing.

  1. Create an OAuth client (Google Auth Platform → Clients) of type Desktop app, download its JSON, and store it as ~/.config/google-docs-mcp/client_secret.json (Linux; the google-docs-mcp folder under your OS config directory elsewhere). Keep it out of any repository.
  2. Run:
google-docs-mcp login

google-docs-mcp doctor https://docs.google.com/document/d/ /edit

login opens a browser, completes Google's desktop OAuth flow on a loopback port, and stores the refresh token in your OS keyring (Secret Service, Keychain or Credential Manager), falling back to a 0600 file with a warning when no keyring is available. Over SSH, the callback port has to be forwarded; troubleshooting says how.

doctor checks the credentials, the granted scopes and the APIs, and reads the document when given one. When a check fails, docs/troubleshooting.md says what it means.

Markdown files

Docs opens a Markdown file stored in Drive (.md, typed text/markdown) and edits it in place, leaving it a Markdown file. The Docs API reads such a file but refuses every write to it, and nothing writes through an open editor's session: the only write is an upload of the whole file, and an upload makes an open editor reload. So there are two ways to work on one.

Together, live: a working copy. create_document with from_file makes a Google Doc from the file. You and Claude work in it as in any Google Doc: edits merge with your typing, suggestion mode shows tracked changes, comments sit on their passage. write_markdown_file then writes what changed in the copy back into the file, block by block. The rest of the file keeps its own Markdown, its front matter and the comments Docs keeps in it. A change to a block that was also changed in the file since the copy was made is a conflict, refused unless force keeps the file's version of those.

Directly, on the file. get_document says kind: markdown_file, reads return the file's own Markdown, and edits are minimal changes to that text, uploaded once per call:

  • Targets are exact text, heading_id (a slug such as next-steps, from get_outline) or heading. Lines (L12) stand where a Google Doc has handles, and a long read continues from one.
  • edit_document takes insert, append, replace, delete and replace_all, with content written as given. Formatting, tables, objects, layout and tabs are refused: write them as Markdown.
  • mode: direct changes the text. mode: comment and add_comment write a comment into the file under your account's name, the way the editor writes its own; the editor shows it, marked "From imported document", and keeps it when you save. Its id changes each time the file is written, until someone saves the file in the editor. reply_comment replies the same way. Resolving cannot be done through the file (written into it, a resolve makes Google fail to read the file), so you resolve in the editor. A Markdown file takes no suggestions.
  • The comments Docs keeps in the file are left out of reads, never touched by an edit, and listed by list_comments along with comments made through Drive's API. Content that holds comment markup is refused.
  • The guard refuses a direct edit that changes commented text, an image or a footnote reference unless forced, as in a Google Doc.
  • Writing while someone has the file open. Drive has no way to make an upload conditional, and an open editor holds work the file does not show yet. Before writing, the server compares the editor's live session with the file: if a comment, reply or resolve has not reached the file, it waits a moment, then refuses, force or not: that work is in no revision yet. Just before the upload it checks again. After it, it checks the file's history: if someone's save landed in between, the save is kept and the change made again on top of it.
  • When a person saves the file in the Docs editor, Docs rewrites all of it in its own Markdown style and turns front matter into a heading. A read warns about front matter; list_revisions and read_document with revision reach the earlier text.
  • search_documents finds Markdown files with kind: markdown_file or any; its default is Google Docs only. create_document with kind: markdown_file makes a new one.
Word files

Docs opens a Word file stored in Drive (.docx) and edits it in place, leaving it a Word file. The Docs API reads one, its tracked changes as suggestions and its comments as comments, and refuses every write to it. So this server writes the file itself: get_document says kind: word_file, reads work as on a Google Doc, handles included, and an edit is made in the file's XML and uploaded whole through Drive.

  • edit_document takes insert, append, replace, delete and replace_all on the body's text, addressed as on a Google Doc; replace_all leaves a match in a header, footer or footnote, with a warning. Text replaced inside a paragraph changes by its minimal difference and keeps its look; content of several paragraphs goes between paragraphs or replaces whole ones. Headings take the file's own heading styles, and lists continue the list they are placed against, at a level list_level can set.
  • mode: suggest writ

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx