Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

docmcpdocmcp 搜索

Agent Skill

docmcp 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

442

周安装

19

GitHub Stars

公开资料未说明

下载量

155
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:docmcp(docmcp 搜索)
来源仓库:https://github.com/anentrypoint/docmcp
仓库路径:skills/docmcp
安装命令:
npx skills add https://github.com/anentrypoint/docmcp --skill docmcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/anentrypoint/docmcp --skill docmcp

简介

操作 Google Docs、Sheets 和 Drive 的 CLI 工具。

  • 支持文档创建、编辑、复制和脚本执行。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 通过 OAuth 认证获取读写权限。
  • 所有操作均以 JSON 格式返回结果。
  • docmcp 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Google Docs, Sheets, Drive & Apps Script

You have access to a CLI tool gdoc that performs all Google Docs, Sheets, Drive, and Apps Script operations. Run it via:

node ~/.claude/skills/docmcp/scripts/gdoc.mjs <command> [options-as-json]

All commands accept a single JSON argument. Output is always JSON.

Authentication

The tool uses OAuth tokens stored at ~/.config/gcloud/docmcp/token.json. If tokens are missing, tell the user to run:

node ~/.claude/skills/docmcp/scripts/gdoc.mjs auth

This prints an auth URL. The user visits it, authorizes, and tokens are saved automatically.

Commands Reference

Google Docs

CommandJSON ArgsDescription
docs.create{"title": "..."}Create a new doc
docs.read{"doc_id": "..."}Read doc text content
docs.edit{"doc_id": "...", "old_text": "...", "new_text": "...", "replace_all": false}Replace text in doc
docs.insert{"doc_id": "...", "text": "...", "position": "end"}Insert text (position: "end", text-to-insert-after, or index number)
docs.delete{"doc_id": "...", "text": "...", "delete_all": false}Delete text from doc
docs.format{"doc_id": "...", "search_text": "...",...formatting}Format text (bold, italic, underline, strikethrough, font_size, font_family, foreground_color, background_color, heading, alignment)
docs.insert_table{"doc_id": "...", "rows": 3, "cols": 3, "position": "end"}Insert table
docs.get_info{"doc_id": "..."}Get doc metadata
docs.get_structure{"doc_id": "..."}Get headings hierarchy
docs.get_sections{"doc_id": "..."}Parse sections with indices
docs.section`{"doc_id": "...", "action": "deletemove
docs.image`{"doc_id": "...", "action": "insertlist
docs.batch{"doc_id": "...", "operations": [...]}Batch operations (type: insert/delete/format with params)
docs.list{"max_results": 20, "query": "..."}List docs

Google Sheets

CommandJSON ArgsDescription
sheets.create{"title": "..."}Create spreadsheet
sheets.read{"sheet_id": "...", "range": "Sheet1"}Read values from range
sheets.edit{"sheet_id": "...", "range": "A1:B2", "values": [[...]]}Update range values
sheets.insert{"sheet_id": "...", "values": [[...]], "range": "Sheet1"}Append rows
sheets.get_cell{"sheet_id": "...", "cell": "A1"}Get cell value
sheets.set_cell{"sheet_id": "...", "cell": "A1", "value": "..."}Set cell value
sheets.edit_cell{"sheet_id": "...", "cell": "A1", "old_text": "...", "new_text": "...", "replace_all": false}Replace text in cell
sheets.find_replace{"sheet_id": "...", "find": "...", "replace": "...", "sheet_name": null}Find/replace across sheet
sheets.get_info{"sheet_id": "..."}Get spreadsheet metadata
sheets.list{"max_results": 20, "query": "..."}List spreadsheets
sheets.tab`{"sheet_id": "...", "action": "adddelete
sheets.clear{"sheet_id": "...", "range": "A1:B2", "clear_formats": false}Clear range
sheets.format{"sheet_id": "...", "range": "A1:B2",...formatting}Format range (background_color, text_color, bold, italic, font_size, font_family, horizontal_alignment, vertical_alignment, wrap_strategy, number_format, borders)
sheets.merge`{"sheet_id": "...", "range": "A1:B2", "action": "mergeunmerge"}`
sheets.freeze{"sheet_id": "...", "sheet_name": "...", "rows": 1, "columns": 0}Freeze rows/columns
sheets.sort{"sheet_id": "...", "range": "A1:C10", "sort_column": "A", "ascending": true}Sort range
sheets.rows_cols`{"sheet_id": "...", "sheet_name": "...", "action": "insertdelete", "dimension": "ROW
sheets.dimension_size`{"sheet_id": "...", "sheet_name": "...", "dimension": "COLUMNROW", "start": "A", "end": "C", "size": 150}`
sheets.get_formula{"sheet_id": "...", "cell": "A1"}Get cell formula and value
sheets.batch{"sheet_id": "...", "operations": [...]}Batch operations (type: setValue/format)

Google Drive

CommandJSON ArgsDescription
drive.search`{"query": "...", "type": "alldocs

Apps Script

CommandJSON ArgsDescription
scripts.create{"sheet_id": "...", "script_name": "..."}Create script project
scripts.list{"sheet_id": "..."}List scripts
scripts.read{"sheet_id": "...", "script": "name-or-index"}Read script files
scripts.write`{"sheet_id": "...", "script": "...", "file_name": "...", "content": "...", "file_type": "SERVER_JSHTML"}`
scripts.edit{"sheet_id": "...", "script": "...", "file_name": "...", "old_text": "...", "new_text": "...", "replace_all": false}Edit script file
scripts.delete{"sheet_id": "...", "script": "..."}Remove script tracking
scripts.run{"sheet_id": "...", "script": "...", "function_name": "...", "parameters": []}Execute script function
scripts.sync{"sheet_id": "..."}Sync and verify scripts

Gmail

CommandJSON ArgsDescription
gmail.list_messages{"query": "...", "max_results": 10}List messages (query examples: "from:example@example.com", "is:unread", "subject:meeting")
gmail.get_message{"message_id": "...", "format": "full"}Get message details (format: full, minimal, raw, metadata)
gmail.send_message{"to": "...", "subject": "...", "body": "...", "from": "...", "cc": ["..."], "bcc": ["..."]}Send email
gmail.list_threads{"query": "...", "max_results": 10}List threads
gmail.get_thread{"thread_id": "...", "format": "full"}Get thread details
gmail.modify_message{"message_id": "...", "add_labels": ["..."], "remove_labels": ["..."]}Modify message labels
gmail.mark_as_read{"message_id": "..."}Mark message as read
gmail.mark_as_unread{"message_id": "..."}Mark message as unread
gmail.trash_message{"message_id": "..."}Move message to trash
gmail.untrash_message{"message_id": "..."}Restore message from trash
gmail.delete_message{"message_id": "..."}Permanently delete message
gmail.list_labels{}List all Gmail labels
gmail.get_label{"label_id": "..."}Get label details

Usage Pattern

Always use this exact invocation pattern:

node ~/.claude/skills/docmcp/scripts/gdoc.mjs <command> '<json-args>'

Example: Create a document:

node ~/.claude/skills/docmcp/scripts/gdoc.mjs docs.create '{"title":"Meeting Notes"}'

Example: Read a spreadsheet:

node ~/.claude/skills/docmcp/scripts/gdoc.mjs sheets.read '{"sheet_id":"1abc...xyz","range":"Sheet1!A1:D10"}'

Example: Format text bold in a doc:

node ~/.claude/skills/docmcp/scripts/gdoc.mjs docs.format '{"doc_id":"1abc...xyz","search_text":"Important","bold":true}'

For detailed API reference with all field options, see reference.md. For usage examples, see examples.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.39%
按下载量换算56

Claude

30.77%
按下载量换算48

Cursor

19.96%
按下载量换算31

Gemini CLI

10.16%
按下载量换算16

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills