gogcli-mcp-gmail 2.8.0 → 2.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/SKILL.md +1 -1
- package/dist/index.js +20210 -19656
- package/manifest.json +23 -3
- package/package.json +3 -2
- package/src/index.ts +7 -9
- package/src/tools/gmail-extra.ts +498 -39
- package/tests/tools/gmail-extra.test.ts +720 -137
- package/tsconfig.json +1 -1
package/manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifest_version": "0.3",
|
|
4
4
|
"name": "gogcli-mcp-gmail",
|
|
5
5
|
"display_name": "gogcli (Gmail)",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.18.1",
|
|
7
7
|
"description": "Extended Gmail for Claude via gogcli — auth + full Gmail support (threads, labels, drafts, attachments, forward, autoreply, bulk operations)",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Chris Hall",
|
|
@@ -61,6 +61,18 @@
|
|
|
61
61
|
"name": "gog_auth_add",
|
|
62
62
|
"description": "Authorize a Google account via browser-based OAuth"
|
|
63
63
|
},
|
|
64
|
+
{
|
|
65
|
+
"name": "gog_auth_health",
|
|
66
|
+
"description": "Live per-account token health: validity, age, and pre-expiry warnings (detects invalid_grant)"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "gog_auth_add_url",
|
|
70
|
+
"description": "Begin remote/headless OAuth (step 1): return a sign-in URL to open in any browser"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "gog_auth_add_complete",
|
|
74
|
+
"description": "Complete remote/headless OAuth (step 2): exchange the pasted redirect URL and store the token"
|
|
75
|
+
},
|
|
64
76
|
{
|
|
65
77
|
"name": "gog_auth_list",
|
|
66
78
|
"description": "List all Google accounts stored in gogcli"
|
|
@@ -99,7 +111,7 @@
|
|
|
99
111
|
},
|
|
100
112
|
{
|
|
101
113
|
"name": "gog_gmail_attachment",
|
|
102
|
-
"description": "Download a
|
|
114
|
+
"description": "Download a Gmail attachment and deliver its contents: inline (base64 image/resource) when within the 3 MiB limit, otherwise uploaded to Google Drive with a shareable link"
|
|
103
115
|
},
|
|
104
116
|
{
|
|
105
117
|
"name": "gog_gmail_url",
|
|
@@ -131,7 +143,7 @@
|
|
|
131
143
|
},
|
|
132
144
|
{
|
|
133
145
|
"name": "gog_gmail_batch_delete",
|
|
134
|
-
"description": "Permanently delete multiple messages (irreversible)"
|
|
146
|
+
"description": "Permanently delete multiple messages (irreversible; requires force:true)"
|
|
135
147
|
},
|
|
136
148
|
{
|
|
137
149
|
"name": "gog_gmail_batch_modify",
|
|
@@ -201,6 +213,14 @@
|
|
|
201
213
|
"name": "gog_gmail_forward",
|
|
202
214
|
"description": "Forward a Gmail message to new recipients"
|
|
203
215
|
},
|
|
216
|
+
{
|
|
217
|
+
"name": "gog_gmail_reply",
|
|
218
|
+
"description": "Reply to a Gmail message (sender only)"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "gog_gmail_reply_all",
|
|
222
|
+
"description": "Reply to all participants of a Gmail message"
|
|
223
|
+
},
|
|
204
224
|
{
|
|
205
225
|
"name": "gog_gmail_autoreply",
|
|
206
226
|
"description": "Reply once to all messages matching a Gmail search query"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gogcli-mcp-gmail",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.1",
|
|
4
4
|
"mcpName": "io.github.chrischall/gogcli-mcp-gmail",
|
|
5
5
|
"description": "Extended Gmail MCP server via gogcli — auth + full Gmail support (threads, labels, drafts, attachments, forward, autoreply, bulk operations)",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
|
@@ -19,11 +19,12 @@
|
|
|
19
19
|
"build": "tsc --noEmit && npm run bundle",
|
|
20
20
|
"bundle": "node ../../scripts/bundle.js src/index.ts dist/index.js",
|
|
21
21
|
"typecheck": "tsc --noEmit",
|
|
22
|
-
"test": "vitest run",
|
|
22
|
+
"test": "vitest run --coverage",
|
|
23
23
|
"test:watch": "vitest",
|
|
24
24
|
"test:coverage": "vitest run --coverage"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
+
"@chrischall/mcp-utils": "^0.13.3",
|
|
27
28
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
28
29
|
"zod": "^4.4.3"
|
|
29
30
|
},
|
package/src/index.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { runMcp } from '@chrischall/mcp-utils';
|
|
3
|
+
import { VERSION, authToolsFor, registerGmailTools } from '../../gogcli-mcp/src/lib.js';
|
|
4
4
|
import { registerExtraGmailTools } from './tools/gmail-extra.js';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const transport = new StdioServerTransport();
|
|
12
|
-
await server.connect(transport);
|
|
6
|
+
await runMcp({
|
|
7
|
+
name: 'gogcli-gmail',
|
|
8
|
+
version: VERSION,
|
|
9
|
+
tools: [authToolsFor('gmail'), registerGmailTools, registerExtraGmailTools],
|
|
10
|
+
});
|