gogcli-mcp-gmail
БесплатноБез исполняемых скриптовНе проверенUse when the user asks to read, organize, draft, forward, autoreply, or otherwise work with Gmail in depth. Triggers for requests involving threads, labels…
от chrischall3 970 установок в других каталогахОб этом скилле
gogcli-mcp-gmail
Extended Gmail MCP server via gogcli — 62 tools: 8 auth + 4 base Gmail + 49 extra dedicated Gmail tools + gog_upload_slots.
- Source: github.com/chrischall/gogcli-mcp
Requirements
- gogcli installed and authenticated
- Node.js 22 or later
Setup
{
"mcpServers": {
"gogcli-gmail": {
"command": "npx",
"args": ["-y", "gogcli-mcp-gmail"],
"env": {
"GOG_ACCOUNT": "[email protected]"
}
}
}
}
Extra Gmail Tools
Read
| Tool | What it does |
|---|---|
gog_gmail_raw |
Raw Gmail API JSON for a message |
gog_gmail_attachment |
Download an attachment by attachmentIndex (or legacy attachmentId) and deliver its contents — inline when within inlineMaxBytes (3 MiB default, 10 MiB max — larger values are clamped), else a server-side file path — use url/drive when hosted (deliver: auto/inline/drive/url/off). deliver="url" gives a signed link curl can fetch with no credential, for an hour — hosted deployments only |
gog_gmail_url |
Print web URLs for threads |
gog_gmail_history |
List history events since a historyId |
gog_gmail_messages_search |
Search individual messages, not threads — one row per message |
Threads
| Tool | What it does |
|---|---|
gog_gmail_thread_get |
Get a thread with all messages |
gog_gmail_thread_modify |
Modify labels on a thread |
gog_gmail_thread_attachments |
List all attachments in a thread (fetch each with gog_gmail_attachment) |
Labels
| Tool | What it does |
|---|---|
gog_gmail_labels_list |
List all labels |
gog_gmail_labels_get |
Get a label's details and counts |
gog_gmail_labels_create |
Create a new label |
gog_gmail_labels_rename |
Rename a label |
gog_gmail_labels_delete |
Delete a label |
gog_gmail_labels_modify |
Modify labels on one or more threads |
gog_gmail_labels_style |
Change a label's color or visibility |
Bulk operations
| Tool | What it does |
|---|---|
gog_gmail_archive |
Archive by IDs or query |
gog_gmail_mark_read |
Mark read by IDs or query |
gog_gmail_mark_unread |
Mark unread by IDs or query |
gog_gmail_trash |
Trash by IDs or query |
gog_gmail_message_modify |
Modify labels on a single message |
gog_gmail_batch_delete |
Permanently delete multiple messages |
gog_gmail_batch_modify |
Modify labels on multiple messages |
Drafts
| Tool | What it does |
|---|---|
gog_gmail_drafts_list |
List drafts (+ free origin/rootsOwnThread; enrich adds recipients, hasRecipients, isReply) |
gog_gmail_drafts_get |
Get a draft, decoded (format text/html/both; raw for MIME JSON) |
gog_gmail_drafts_create |
Create a draft |
gog_gmail_drafts_update |
Update a draft — whole body, or replace/append/prepend on the stored text (HTML part generated); bodyFormat: markdown; replyToThreadId re-threads it in place (same id) + threadingVerification; forkSiblingDraftId blocks a body overwrite that would drop the other copy's text |
gog_gmail_drafts_delete |
Delete a draft |
gog_gmail_drafts_send |
Send a draft after the user confirms a preview of it (404 → DRAFT_FORKED, or GOOGLE_404_NOT_THE_DRAFT if the draft is still listed) |
gog_gmail_drafts_copy_to |
Send a "DRAFT: " review copy of a stored draft to someone else; the draft is untouched and the body is never passed or echoed in full |
gog_gmail_drafts_diff |
Diff two drafts (body divergence, threading loss, fork verdict) |
gog_gmail_drafts_reply |
Save a reply as a draft — inherited recipients, subject and quote; never sends |
gog_gmail_drafts_reply_all |
Save a reply-all as a draft; never sends |
gog_gmail_drafts_forward |
Save a forward as a draft; recipients optional, so it can be staged without any |
A draft edited in a mail client is replaced, not updated: the old id 404s. drafts_update / drafts_send answer that
404 with a DRAFT_FORKED report (what happened, the drafts that exist, what to do) instead of a bare notFound, at a
bounded cost of ≤2 extra gog calls. It never names a replacement — the 404'd draft cannot be fetched, so no lineage
signal can exist; use drafts_diff on a named pair for that. The 404 is attributed first: replyToThreadId and
replyToMessageId resolve their own entities and 404 identically, so if the draft id is still in the listing the answer
is GOOGLE_404_NOT_THE_DRAFT — no fork claimed, reply target named. That listing is capped at 20, so listingEvidence
says what it can carry: only a complete-listing (the window came back short, i.e. it covered the folder) claims the
draft is gone; capped-listing and listing-unavailable say in words that they establish nothing. A reply target, when
one was passed, is echoed and explain
Установить gogcli-mcp-gmail в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл gogcli-mcp-gmail?
Use when the user asks to read, organize, draft, forward, autoreply, or otherwise work with Gmail in depth. Triggers for requests involving threads, labels, drafts, attachments, bulk archive/trash/mark-read operations, forwarding messages, or any Gmail operation beyond simple search/get/send. Includes auth and Gmail tools only.
Как установить скилл gogcli-mcp-gmail?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gogcli-mcp-gmail запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic