Gogcli Mcp Docs

io.github.chrischall由 GitHub 账号 chrischall 发布v4.10.0更新于 Nov 7, 2026

Extended Google Docs for Claude via gogcli — auth + full Docs and comments support

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

通过 gogcli 为助手提供 Google 文档工具:读取、创建、编辑、格式化、导出文档并管理评论。

可以做什么
  • 读取和查看文档,包括纯文本、原始 JSON、结构与标签页
  • 创建、复制、追加、插入、更新和删除文档内容,支持查找替换与类 sed 正则编辑
  • 应用字符与段落格式,如加粗、颜色和对齐
  • 将文档导出为 PDF、TXT、HTML、DOCX、RTF、ODT 或 EPUB
  • 列出、查看、添加、回复、解决和删除评论,并把文档移入云端硬盘回收站
  • 完成认证并查看 gogcli 使用的 Google 账号
适用场景
适合让助手直接处理 Google 文档内容:撰写与修改文字、调整格式、导出为其他格式,或整理并回复审阅评论,无需离开对话。
运行要求
以 npm 包 gogcli-mcp-docs 在本地运行,需要 Node.js 22 或更高版本,并已安装和认证 gogcli,所用 Google 账号需开通文档与云端硬盘服务。需设置 GOG_ACCOUNT 为账号邮箱;GOG_PATH 可指定 gogcli 可执行文件路径,DISPLAY_TZ 与 GOG_TIMEZONE 控制时区。
安装前请注意
该服务器可写入和删除 Google 文档内容、将文档移入回收站并删除评论;若只需读取,可设置 GOG_READONLY 阻止改动类请求。它依赖你已有的 gogcli Google 凭据;README 说明代码由 AI 编写和维护,使用前应审查。Markdown 追加存在上游已知的格式问题。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Gogcli Mcp Docs,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

gogcli-mcp-docs

[!WARNING] AI-developed project. This codebase was built and is actively maintained by Claude Code. Review all code and tool permissions before use.

Extended Google Docs MCP server via gogcli. Includes auth tools plus 18 additional dedicated Docs tools for editing, exporting, comments, and more.

Requirements

  • gogcli installed and authenticated
  • Node.js 22+
bash
brew install gogcligog auth add [email protected] --services docs,drive

Installation

bash
npm install -g gogcli-mcp-docs

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "gogcli-docs": {      "command": "gogcli-mcp-docs",      "env": {        "GOG_ACCOUNT": "[email protected]"      }    }  }}

Claude Code

bash
claude mcp add gogcli-docs -- gogcli-mcp-docs

Extra Docs Tools (18)

Plus 5 auth tools and 7 base Docs tools (info, cat, create, write, find-replace, structure, run).

ToolDescription
gog_docs_appendAppend text or markdown to the end of a doc
gog_docs_copyCopy a document
gog_docs_deleteDelete content by character index range
gog_docs_editFind and replace with case-sensitivity control
gog_docs_exportExport as PDF, TXT, HTML, DOCX, RTF, ODT, or EPUB
gog_docs_formatApply character / paragraph formatting (bold, color, alignment, …)
gog_docs_insertInsert text at a specific position
gog_docs_list_tabsList all document tabs
gog_docs_readRead doc as plain text or raw JSON
gog_docs_sedStream-edit with sed-like regex expressions
gog_docs_trashMove a doc to Drive trash
gog_docs_updateUpdate document content at a specific position
gog_docs_comments_listList comments (open or resolved), optionally with each comment's tab and index ranges
gog_docs_comments_getGet a comment with its replies
gog_docs_comments_addAdd a comment with optional quoted text
gog_docs_comments_replyReply to a comment
gog_docs_comments_resolveResolve a comment
gog_docs_comments_deleteDelete a comment

Known limitations: gog_docs_append with markdown: true

These bugs live in gogcli's upstream markdown → Docs converter; the wrapper just passes --markdown through. Tracked upstream:

SymptomWorkaroundUpstream
3+ tables in one call reorders the trailing punctuation of the paragraph before the 3rd tableSplit into multiple calls with ≤2 tables eachopenclaw/gogcli#607
Inline **bold** / *italic* / `code` inside table cells renders as literal charactersInsert plain cell text, then apply formatting via gog_docs_formatopenclaw/gogcli#608
Tables with an empty header row leak the last data row as literal pipe textAlways supply a non-empty header rowopenclaw/gogcli#609

Files on a hosted deployment

When this server is hosted (remote), it cannot read paths on your machine. Call gog_upload_slots with files: [{filename}], PUT each file to its uploadUrl with the slot's curl command, then pass the returned blobKeys to gog_docs_insert_image and gog_docs_replace_image (instead of file). Files up to 25 MiB; each is deleted from the upload store after the call succeeds and kept if it fails. On a local install, pass a path as before.

License

MIT

来源:packages/gogcli-mcp-docs/README.md,提交 4302bf8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

22
  1. v4.10.0最新Nov 7, 2026
  2. v4.9.1Nov 5, 2026
  3. v4.8.1Oct 16, 2026
  4. v4.8.0Oct 12, 2026
  5. v4.7.1Oct 10, 2026
  6. v4.7.0Oct 7, 2026
  7. v4.6.3Oct 5, 2026
  8. v4.6.2Oct 5, 2026
  9. v4.6.1Oct 3, 2026
  10. v4.6.0Oct 2, 2026
  11. v4.5.2Sep 28, 2026
  12. v4.5.1Sep 25, 2026
  13. v4.5.0Sep 24, 2026
  14. v4.3.0Sep 23, 2026
  15. v4.2.5Sep 22, 2026
  16. v4.2.4Sep 21, 2026
  17. v4.2.3Sep 21, 2026
  18. v4.2.0Sep 20, 2026
  19. v4.1.0Sep 20, 2026
  20. v4.0.1Sep 18, 2026
  21. v3.0.0Sep 17, 2026
  22. v2.30.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分