gogcli-mcp-docs 2.7.1 → 2.18.0

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/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-docs",
5
5
  "display_name": "gogcli (Docs)",
6
- "version": "2.7.1",
6
+ "version": "2.18.0",
7
7
  "description": "Extended Google Docs for Claude via gogcli — auth + full Docs and comments support",
8
8
  "author": {
9
9
  "name": "Chris Hall",
@@ -59,6 +59,18 @@
59
59
  "name": "gog_auth_add",
60
60
  "description": "Authorize a Google account via browser-based OAuth"
61
61
  },
62
+ {
63
+ "name": "gog_auth_health",
64
+ "description": "Live per-account token health: validity, age, and pre-expiry warnings (detects invalid_grant)"
65
+ },
66
+ {
67
+ "name": "gog_auth_add_url",
68
+ "description": "Begin remote/headless OAuth (step 1): return a sign-in URL to open in any browser"
69
+ },
70
+ {
71
+ "name": "gog_auth_add_complete",
72
+ "description": "Complete remote/headless OAuth (step 2): exchange the pasted redirect URL and store the token"
73
+ },
62
74
  {
63
75
  "name": "gog_auth_list",
64
76
  "description": "List all Google accounts stored in gogcli"
@@ -185,7 +197,11 @@
185
197
  },
186
198
  {
187
199
  "name": "gog_docs_format",
188
- "description": "Apply text/paragraph formatting (bold, italic, font size, color, alignment, line spacing, named style / heading level) — supports match, matchAll, matchCase"
200
+ "description": "Apply text/paragraph formatting (bold, italic, font size, color, alignment, line/paragraph spacing, named style / heading level) — supports match, matchAll, matchCase"
201
+ },
202
+ {
203
+ "name": "gog_docs_suggestions_list",
204
+ "description": "List pending suggestions (suggested insertions/deletions) in a doc with exact UTF-16 ranges (read-only)"
189
205
  },
190
206
  {
191
207
  "name": "gog_docs_trash",
@@ -203,6 +219,30 @@
203
219
  "name": "gog_docs_find_range",
204
220
  "description": "Map literal text to its Docs API UTF-16 index range(s) for index-based edits."
205
221
  },
222
+ {
223
+ "name": "gog_batch_begin",
224
+ "description": "Open a persisted, revision-locked request batch for a Doc; compose mutations with batch=<id>."
225
+ },
226
+ {
227
+ "name": "gog_batch_end",
228
+ "description": "Submit a batch atomically (or with explicit split / partial-recovery modes)."
229
+ },
230
+ {
231
+ "name": "gog_batch_abort",
232
+ "description": "Discard a batch without applying anything."
233
+ },
234
+ {
235
+ "name": "gog_batch_list",
236
+ "description": "List persisted request batches."
237
+ },
238
+ {
239
+ "name": "gog_batch_show",
240
+ "description": "Show a batch's doc, locked revision, and composed requests."
241
+ },
242
+ {
243
+ "name": "gog_batch_prune",
244
+ "description": "Delete stale batches not updated within a duration."
245
+ },
206
246
  {
207
247
  "name": "gog_docs_table_column_width",
208
248
  "description": "Set a fixed table column width in points, or reset columns to Docs-managed even distribution."
@@ -215,6 +255,58 @@
215
255
  "name": "gog_docs_table_row_delete",
216
256
  "description": "Delete a table row by 1-based number."
217
257
  },
258
+ {
259
+ "name": "gog_docs_table_row_pin_header",
260
+ "description": "Pin or unpin leading table rows as repeating header rows."
261
+ },
262
+ {
263
+ "name": "gog_docs_table_row_style",
264
+ "description": "Set table row minimum height and page-overflow behaviour."
265
+ },
266
+ {
267
+ "name": "gog_docs_insert_footnote",
268
+ "description": "Insert and populate a footnote at an index or end-of-doc."
269
+ },
270
+ {
271
+ "name": "gog_docs_insert_section_break",
272
+ "description": "Insert a continuous or next-page section break."
273
+ },
274
+ {
275
+ "name": "gog_docs_insert_horizontal_rule",
276
+ "description": "Insert a horizontal rule (paragraph border)."
277
+ },
278
+ {
279
+ "name": "gog_docs_section_columns",
280
+ "description": "Set the column count (1-3) for a document section."
281
+ },
282
+ {
283
+ "name": "gog_docs_header_list",
284
+ "description": "List a document's headers and their segment IDs."
285
+ },
286
+ {
287
+ "name": "gog_docs_header_create",
288
+ "description": "Create a header and optionally populate its initial text."
289
+ },
290
+ {
291
+ "name": "gog_docs_header_delete",
292
+ "description": "Delete a header by its segment ID."
293
+ },
294
+ {
295
+ "name": "gog_docs_footer_list",
296
+ "description": "List a document's footers and their segment IDs."
297
+ },
298
+ {
299
+ "name": "gog_docs_footer_create",
300
+ "description": "Create a footer and optionally populate its initial text."
301
+ },
302
+ {
303
+ "name": "gog_docs_footer_delete",
304
+ "description": "Delete a footer by its segment ID."
305
+ },
306
+ {
307
+ "name": "gog_docs_replace_image",
308
+ "description": "Replace an existing image in place by object ID, alt text, or sole-image."
309
+ },
218
310
  {
219
311
  "name": "gog_docs_table_column_insert",
220
312
  "description": "Insert a table column before a 1-based position or at the end."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-docs",
3
- "version": "2.7.1",
3
+ "version": "2.18.0",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-docs",
5
5
  "description": "Extended Google Docs MCP server via gogcli — all base tools plus full Docs support",
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/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "source": "github",
8
8
  "subfolder": "packages/gogcli-mcp-docs"
9
9
  },
10
- "version": "2.7.1",
10
+ "version": "2.18.0",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-docs",
15
- "version": "2.7.1",
15
+ "version": "2.18.0",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
package/src/index.ts CHANGED
@@ -1,12 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
3
- import { createServer, registerAuthTools, registerDocsTools } from '../../gogcli-mcp/src/lib.js';
2
+ import { runMcp } from '@chrischall/mcp-utils';
3
+ import { VERSION, authToolsFor, registerDocsTools } from '../../gogcli-mcp/src/lib.js';
4
4
  import { registerExtraDocsTools } from './tools/docs-extra.js';
5
5
 
6
- const server = createServer({ name: 'gogcli-docs' });
7
- registerAuthTools(server);
8
- registerDocsTools(server);
9
- registerExtraDocsTools(server);
10
-
11
- const transport = new StdioServerTransport();
12
- await server.connect(transport);
6
+ await runMcp({
7
+ name: 'gogcli-docs',
8
+ version: VERSION,
9
+ tools: [authToolsFor('docs'), registerDocsTools, registerExtraDocsTools],
10
+ });