@gscdump/cli 3.6.1 → 3.6.2
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/dist/commands/sync.mjs +2 -2
- package/dist/mcp/server/index.mjs +3 -3
- package/dist/package.mjs +1 -1
- package/package.json +6 -6
package/dist/commands/sync.mjs
CHANGED
|
@@ -160,7 +160,7 @@ const syncCommand = defineCommand({
|
|
|
160
160
|
},
|
|
161
161
|
"start": {
|
|
162
162
|
type: "string",
|
|
163
|
-
description: "Start date (YYYY-MM-DD) for
|
|
163
|
+
description: "Start date (YYYY-MM-DD) for backfill"
|
|
164
164
|
},
|
|
165
165
|
"end": {
|
|
166
166
|
type: "string",
|
|
@@ -191,7 +191,7 @@ const syncCommand = defineCommand({
|
|
|
191
191
|
},
|
|
192
192
|
"full": {
|
|
193
193
|
type: "boolean",
|
|
194
|
-
description: "
|
|
194
|
+
description: "Backfill up to 450 days of available Search Console data"
|
|
195
195
|
},
|
|
196
196
|
...OUTPUT_ARGS,
|
|
197
197
|
"force": {
|
|
@@ -173,11 +173,11 @@ function createGscMcpServer(options) {
|
|
|
173
173
|
expression: z.string()
|
|
174
174
|
});
|
|
175
175
|
const filterGroupSchema = z.object({
|
|
176
|
-
groupType: z.enum(["and"]).optional().describe("
|
|
176
|
+
groupType: z.enum(["and"]).optional().describe("Only \"and\" is supported; multiple groups do not implement OR"),
|
|
177
177
|
filters: z.array(dimensionFilterSchema)
|
|
178
178
|
});
|
|
179
179
|
server.registerTool("query", {
|
|
180
|
-
description: "Run a custom search analytics query
|
|
180
|
+
description: "Run a custom search analytics query with dimension filters (regex/contains/equals). Multiple filter groups do not implement OR.",
|
|
181
181
|
inputSchema: z.object({
|
|
182
182
|
siteUrl: z.string().describe("GSC property URL (e.g., sc-domain:example.com)"),
|
|
183
183
|
startDate: z.string().describe("Start date (YYYY-MM-DD)"),
|
|
@@ -194,7 +194,7 @@ function createGscMcpServer(options) {
|
|
|
194
194
|
type: z.enum(SearchTypes).optional().describe("Search type"),
|
|
195
195
|
dataState: z.enum(["final", "all"]).optional().describe("Data state: final (settled) or all (includes fresh)"),
|
|
196
196
|
aggregationType: z.enum(["byPage", "byProperty"]).optional().describe("Aggregation type"),
|
|
197
|
-
dimensionFilterGroups: z.array(filterGroupSchema).optional().describe("Filter groups
|
|
197
|
+
dimensionFilterGroups: z.array(filterGroupSchema).optional().describe("Filter groups use \"and\" internally. Multiple groups do not implement OR.")
|
|
198
198
|
}).shape
|
|
199
199
|
}, async ({ siteUrl, startDate, endDate, dimensions, rowLimit, type, dataState, aggregationType, dimensionFilterGroups }) => {
|
|
200
200
|
const result = await runMcpSearchAnalyticsQuery(await getClient(), {
|
package/dist/package.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var version = "3.6.
|
|
1
|
+
var version = "3.6.2";
|
|
2
2
|
export { version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.2",
|
|
5
5
|
"description": "CLI for Google Search Console and Bing with hosted or local authentication, data exports, and an MCP server",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@clack/prompts": "^1.8.0",
|
|
46
46
|
"@duckdb/node-api": "1.5.5-r.4",
|
|
47
|
-
"@gscdump/analysis": "^3.6.
|
|
48
|
-
"@gscdump/engine": "^3.6.
|
|
49
|
-
"@gscdump/engine-gsc-api": "^3.6.
|
|
50
|
-
"@gscdump/sdk": "^3.6.
|
|
47
|
+
"@gscdump/analysis": "^3.6.2",
|
|
48
|
+
"@gscdump/engine": "^3.6.2",
|
|
49
|
+
"@gscdump/engine-gsc-api": "^3.6.2",
|
|
50
|
+
"@gscdump/sdk": "^3.6.2",
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
52
52
|
"citty": "^0.2.2",
|
|
53
53
|
"consola": "^3.4.2",
|
|
54
54
|
"google-auth-library": "^11.0.2",
|
|
55
|
-
"gscdump": "^3.6.
|
|
55
|
+
"gscdump": "^3.6.2",
|
|
56
56
|
"ofetch": "^1.5.1",
|
|
57
57
|
"open": "^11.0.2",
|
|
58
58
|
"sitemapd": "^0.2.2",
|