360 Secure SkillHub
360 安全技能中心

gogcli-mcp

该 Skill 是 gogcli-mcp 伞形包说明,介绍 6 个封装 gogcli 的 MCP 服务器(Docs、Sheets、Slides、Drive、Classroom 及伞形包),用于创建、读取、编辑 Google Workspace 文档、表格、幻灯片与云端硬盘文件,并共用本机 gogcli 的 OAuth 认证;仅含安装配置与认证说明,具体工具清单在兄弟子包中。

分类:效率
chrischall
chrischall
热度 51.70
最近更新 2026-09-04 21:49:16

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add chrischall/gogcli-mcp
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
gogcli-mcp
description
This skill should be used when the user asks about Google Workspace automation via gogcli — Docs, Sheets, Slides, Drive, or Classroom. Triggers on phrases like "edit this Google doc", "update the sheet", "find my slides", "grade this assignment", or any request involving Google Workspace documents, files, or classes. This is an umbrella skill — the 5 sibling packages (gogcli-mcp-docs, gogcli-mcp-sheets, gogcli-mcp-slides, gogcli-mcp-drive, gogcli-mcp-classroom) cover specific APIs.

gogcli-mcp

Monorepo of 6 MCP servers wrapping the gogcli tool for Google Workspace automation:

  • gogcli-mcp — Sheets-focused umbrella (also exposes some Docs + Drive helpers)
  • gogcli-mcp-docs — Google Docs: create, read, edit, find-replace, comments
  • gogcli-mcp-sheets — Google Sheets: cells, ranges, formulas, charts, named ranges
  • gogcli-mcp-slides — Google Slides: deck + slide authoring
  • gogcli-mcp-drive — Google Drive: search, upload, download, permissions
  • gogcli-mcp-classroom — Google Classroom: courses, assignments, submissions, roster

All 6 share the same auth — they read from the gogcli account on your machine (gogcli auth add, gogcli auth run).

Install (per sub-package)

Each sub-package is published as a separate npm module. Install the ones you want:

{
  "mcpServers": {
    "gogcli-docs": {
      "command": "npx",
      "args": ["-y", "gogcli-mcp-docs"],
      "env": { "GOG_ACCOUNT": "you@example.com" }
    },
    "gogcli-sheets": {
      "command": "npx",
      "args": ["-y", "gogcli-mcp-sheets"]
    }
  }
}

Or all-in-one via the umbrella:

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

Auth

Requires gogcli installed and authenticated:

gogcli auth add  # opens browser OAuth flow for your Google account
gogcli auth list

Set GOG_ACCOUNT=you@example.com in the MCP env if you have multiple accounts. Set GOG_PATH only if gogcli isn't on your PATH.

Tools

Each sub-package exposes its own tools with a distinctive prefix (gog_docs_*, gog_sheets_*, etc.). See each package's own SKILL.md for the full list.

Notes

  • All 6 share the gogcli binary — you only authenticate once.
  • This is the top-level skill; the sibling skills under packages/*/SKILL.md contain per-API detail.