gogcli-mcp-sheets 4.2.1 → 4.2.3
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/index.js +10 -4
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/tools/sheets-extra.ts +7 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "Extended Google Sheets for Claude via gogcli — auth + full Sheets support",
|
|
10
|
-
"version": "4.2.
|
|
10
|
+
"version": "4.2.3"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "gogcli (Sheets)",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "Extended Google Sheets for Claude via gogcli — auth + full Sheets support",
|
|
18
|
-
"version": "4.2.
|
|
18
|
+
"version": "4.2.3",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
package/dist/index.js
CHANGED
|
@@ -35325,6 +35325,7 @@ function registerAuthToolsWith(server, defaultServices) {
|
|
|
35325
35325
|
});
|
|
35326
35326
|
server.registerTool("gog_auth_add_url", {
|
|
35327
35327
|
description: "Begin REMOTE/headless Google authorization (step 1 of 2). Returns a sign-in URL to open in any browser \u2014 no local server or terminal on the gogcli host is needed, so this works on a hosted deployment where the interactive gog_auth_add cannot. Hand the URL to the user; after they sign in, the browser is redirected to a localhost URL that fails to load \u2014 that is expected. They copy that full redirected URL (from the address bar) and you pass it to gog_auth_add_complete. The link is valid for 10 minutes. If you pass a custom `services` here, pass the SAME value to gog_auth_add_complete or the second step will not match this one.",
|
|
35328
|
+
annotations: { readOnlyHint: true },
|
|
35328
35329
|
inputSchema: external_exports.object({
|
|
35329
35330
|
email: external_exports.string().describe("Google account email to authorize"),
|
|
35330
35331
|
services: external_exports.string().optional().default(defaultServices).describe(servicesDescribe),
|
|
@@ -35583,7 +35584,7 @@ function registerSheetsTools(server) {
|
|
|
35583
35584
|
});
|
|
35584
35585
|
server.registerTool("gog_sheets_create", {
|
|
35585
35586
|
description: "Create a new Google Spreadsheet. Returns JSON with the new spreadsheetId and URL.",
|
|
35586
|
-
annotations: { destructiveHint:
|
|
35587
|
+
annotations: { destructiveHint: true },
|
|
35587
35588
|
inputSchema: external_exports.object({
|
|
35588
35589
|
title: external_exports.string().describe("Title for the new spreadsheet"),
|
|
35589
35590
|
account: accountParam
|
|
@@ -35607,7 +35608,7 @@ function registerSheetsTools(server) {
|
|
|
35607
35608
|
}
|
|
35608
35609
|
|
|
35609
35610
|
// ../gogcli-mcp/src/server.ts
|
|
35610
|
-
var VERSION = true ? "4.2.
|
|
35611
|
+
var VERSION = true ? "4.2.3" : "0.0.0";
|
|
35611
35612
|
|
|
35612
35613
|
// ../gogcli-mcp/src/bootstrap-auth.ts
|
|
35613
35614
|
import { join as join2 } from "node:path";
|
|
@@ -35740,6 +35741,7 @@ function registerExtraSheetsTools(server) {
|
|
|
35740
35741
|
});
|
|
35741
35742
|
server.registerTool("gog_sheets_add_tab", {
|
|
35742
35743
|
description: "Add a new sheet tab to a spreadsheet.",
|
|
35744
|
+
annotations: { destructiveHint: false },
|
|
35743
35745
|
inputSchema: external_exports.object({
|
|
35744
35746
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID (from the URL)"),
|
|
35745
35747
|
tabName: external_exports.string().describe("Name for the new tab"),
|
|
@@ -35761,7 +35763,7 @@ function registerExtraSheetsTools(server) {
|
|
|
35761
35763
|
});
|
|
35762
35764
|
server.registerTool("gog_sheets_rename_tab", {
|
|
35763
35765
|
description: "Rename a sheet tab.",
|
|
35764
|
-
annotations: { destructiveHint:
|
|
35766
|
+
annotations: { destructiveHint: false },
|
|
35765
35767
|
inputSchema: external_exports.object({
|
|
35766
35768
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID"),
|
|
35767
35769
|
oldName: external_exports.string().describe("Current tab name"),
|
|
@@ -35773,6 +35775,7 @@ function registerExtraSheetsTools(server) {
|
|
|
35773
35775
|
});
|
|
35774
35776
|
server.registerTool("gog_sheets_copy", {
|
|
35775
35777
|
description: "Copy a spreadsheet to a new spreadsheet with the given title.",
|
|
35778
|
+
annotations: { destructiveHint: true },
|
|
35776
35779
|
inputSchema: external_exports.object({
|
|
35777
35780
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID to copy"),
|
|
35778
35781
|
title: external_exports.string().describe("Title for the new copy"),
|
|
@@ -36187,6 +36190,7 @@ ${resultText2(result) ?? ""}` }] };
|
|
|
36187
36190
|
});
|
|
36188
36191
|
server.registerTool("gog_sheets_named_ranges_add", {
|
|
36189
36192
|
description: "Create a new named range.",
|
|
36193
|
+
annotations: { destructiveHint: true },
|
|
36190
36194
|
inputSchema: external_exports.object({
|
|
36191
36195
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID"),
|
|
36192
36196
|
name: external_exports.string().describe("Name for the range"),
|
|
@@ -36281,6 +36285,7 @@ ${resultText2(result) ?? ""}` }] };
|
|
|
36281
36285
|
});
|
|
36282
36286
|
server.registerTool("gog_sheets_chart_create", {
|
|
36283
36287
|
description: "Create an embedded chart from a JSON spec. specJson is a Sheets API ChartSpec (or full EmbeddedChart) \u2014 inline or @/path/to/file.json. Anchor the chart with sheet + anchor (A1 cell), and optionally size it with width/height pixels.",
|
|
36288
|
+
annotations: { destructiveHint: false },
|
|
36284
36289
|
inputSchema: external_exports.object({
|
|
36285
36290
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID"),
|
|
36286
36291
|
specJson: external_exports.string().describe("ChartSpec or EmbeddedChart JSON (inline or @file)"),
|
|
@@ -36300,7 +36305,7 @@ ${resultText2(result) ?? ""}` }] };
|
|
|
36300
36305
|
});
|
|
36301
36306
|
server.registerTool("gog_sheets_chart_update", {
|
|
36302
36307
|
description: "Replace a chart spec by chart ID. specJson is a Sheets API ChartSpec (or full EmbeddedChart) \u2014 inline or @/path/to/file.json.",
|
|
36303
|
-
annotations: { destructiveHint:
|
|
36308
|
+
annotations: { destructiveHint: false },
|
|
36304
36309
|
inputSchema: external_exports.object({
|
|
36305
36310
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID"),
|
|
36306
36311
|
chartId: external_exports.string().describe("Numeric chart ID to update"),
|
|
@@ -36557,6 +36562,7 @@ ${errorText(err)}`
|
|
|
36557
36562
|
});
|
|
36558
36563
|
server.registerTool("gog_sheets_snapshot", {
|
|
36559
36564
|
description: "Make a backup copy of an entire spreadsheet \u2014 a one-call safety snapshot to take BEFORE a risky or destructive edit (table delete, bulk clear, large rewrite). Returns the new copy's file ID and URL; if the edit goes wrong, restore by copying the backup back or sharing it. The copy is independent \u2014 later edits to the original do not affect it.",
|
|
36565
|
+
annotations: { destructiveHint: false },
|
|
36560
36566
|
inputSchema: external_exports.object({
|
|
36561
36567
|
spreadsheetId: external_exports.string().describe("Spreadsheet ID to back up"),
|
|
36562
36568
|
name: external_exports.string().describe('Name for the backup copy, e.g. "Budget \u2014 backup before table delete"'),
|
package/manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifest_version": "0.3",
|
|
4
4
|
"name": "gogcli-mcp-sheets",
|
|
5
5
|
"display_name": "gogcli (Sheets)",
|
|
6
|
-
"version": "4.2.
|
|
6
|
+
"version": "4.2.3",
|
|
7
7
|
"description": "Extended Google Sheets for Claude via gogcli — auth + full Sheets support",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Chris Hall",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gogcli-mcp-sheets",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"mcpName": "io.github.chrischall/gogcli-mcp-sheets",
|
|
5
5
|
"description": "Extended Google Sheets MCP server via gogcli — all base tools plus full Sheets support",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
package/server.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"source": "github",
|
|
8
8
|
"subfolder": "packages/gogcli-mcp-sheets"
|
|
9
9
|
},
|
|
10
|
-
"version": "4.2.
|
|
10
|
+
"version": "4.2.3",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "gogcli-mcp-sheets",
|
|
15
|
-
"version": "4.2.
|
|
15
|
+
"version": "4.2.3",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|
|
@@ -95,6 +95,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
95
95
|
|
|
96
96
|
server.registerTool('gog_sheets_add_tab', {
|
|
97
97
|
description: 'Add a new sheet tab to a spreadsheet.',
|
|
98
|
+
annotations: { destructiveHint: false },
|
|
98
99
|
inputSchema: z.object({
|
|
99
100
|
spreadsheetId: z.string().describe('Spreadsheet ID (from the URL)'),
|
|
100
101
|
tabName: z.string().describe('Name for the new tab'),
|
|
@@ -118,7 +119,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
118
119
|
|
|
119
120
|
server.registerTool('gog_sheets_rename_tab', {
|
|
120
121
|
description: 'Rename a sheet tab.',
|
|
121
|
-
annotations: { destructiveHint:
|
|
122
|
+
annotations: { destructiveHint: false },
|
|
122
123
|
inputSchema: z.object({
|
|
123
124
|
spreadsheetId: z.string().describe('Spreadsheet ID'),
|
|
124
125
|
oldName: z.string().describe('Current tab name'),
|
|
@@ -131,6 +132,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
131
132
|
|
|
132
133
|
server.registerTool('gog_sheets_copy', {
|
|
133
134
|
description: 'Copy a spreadsheet to a new spreadsheet with the given title.',
|
|
135
|
+
annotations: { destructiveHint: true },
|
|
134
136
|
inputSchema: z.object({
|
|
135
137
|
spreadsheetId: z.string().describe('Spreadsheet ID to copy'),
|
|
136
138
|
title: z.string().describe('Title for the new copy'),
|
|
@@ -579,6 +581,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
579
581
|
|
|
580
582
|
server.registerTool('gog_sheets_named_ranges_add', {
|
|
581
583
|
description: 'Create a new named range.',
|
|
584
|
+
annotations: { destructiveHint: true },
|
|
582
585
|
inputSchema: z.object({
|
|
583
586
|
spreadsheetId: z.string().describe('Spreadsheet ID'),
|
|
584
587
|
name: z.string().describe('Name for the range'),
|
|
@@ -682,6 +685,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
682
685
|
|
|
683
686
|
server.registerTool('gog_sheets_chart_create', {
|
|
684
687
|
description: 'Create an embedded chart from a JSON spec. specJson is a Sheets API ChartSpec (or full EmbeddedChart) — inline or @/path/to/file.json. Anchor the chart with sheet + anchor (A1 cell), and optionally size it with width/height pixels.',
|
|
688
|
+
annotations: { destructiveHint: false },
|
|
685
689
|
inputSchema: z.object({
|
|
686
690
|
spreadsheetId: z.string().describe('Spreadsheet ID'),
|
|
687
691
|
specJson: z.string().describe('ChartSpec or EmbeddedChart JSON (inline or @file)'),
|
|
@@ -702,7 +706,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
702
706
|
|
|
703
707
|
server.registerTool('gog_sheets_chart_update', {
|
|
704
708
|
description: 'Replace a chart spec by chart ID. specJson is a Sheets API ChartSpec (or full EmbeddedChart) — inline or @/path/to/file.json.',
|
|
705
|
-
annotations: { destructiveHint:
|
|
709
|
+
annotations: { destructiveHint: false },
|
|
706
710
|
inputSchema: z.object({
|
|
707
711
|
spreadsheetId: z.string().describe('Spreadsheet ID'),
|
|
708
712
|
chartId: z.string().describe('Numeric chart ID to update'),
|
|
@@ -994,6 +998,7 @@ export function registerExtraSheetsTools(server: McpServer): void {
|
|
|
994
998
|
description:
|
|
995
999
|
'Make a backup copy of an entire spreadsheet — a one-call safety snapshot to take BEFORE a risky or destructive edit (table delete, bulk clear, large rewrite). ' +
|
|
996
1000
|
'Returns the new copy\'s file ID and URL; if the edit goes wrong, restore by copying the backup back or sharing it. The copy is independent — later edits to the original do not affect it.',
|
|
1001
|
+
annotations: { destructiveHint: false },
|
|
997
1002
|
inputSchema: z.object({
|
|
998
1003
|
spreadsheetId: z.string().describe('Spreadsheet ID to back up'),
|
|
999
1004
|
name: z.string().describe('Name for the backup copy, e.g. "Budget — backup before table delete"'),
|