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 分