mcp-google-gsc 1.0.3 → 1.0.4
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/build-info.json +1 -1
- package/dist/index.js +16 -0
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sha":"
|
|
1
|
+
{"sha":"862d94c","builtAt":"2026-04-09T19:37:13.898Z"}
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,22 @@ try {
|
|
|
17
17
|
catch {
|
|
18
18
|
// build-info.json not present (dev mode)
|
|
19
19
|
}
|
|
20
|
+
// CLI flags
|
|
21
|
+
const __cliPkg = JSON.parse(readFileSync(join(dirname(new URL(import.meta.url).pathname), "..", "package.json"), "utf-8"));
|
|
22
|
+
if (process.argv.includes("--help") || process.argv.includes("-h")) {
|
|
23
|
+
console.log(`${__cliPkg.name} v${__cliPkg.version}\n`);
|
|
24
|
+
console.log(`Usage: ${__cliPkg.name} [options]\n`);
|
|
25
|
+
console.log("MCP server communicating via stdio. Configure in your .mcp.json.\n");
|
|
26
|
+
console.log("Options:");
|
|
27
|
+
console.log(" --help, -h Show this help message");
|
|
28
|
+
console.log(" --version, -v Show version number");
|
|
29
|
+
console.log(`\nDocumentation: https://github.com/mharnett/mcp-search-console`);
|
|
30
|
+
process.exit(0);
|
|
31
|
+
}
|
|
32
|
+
if (process.argv.includes("--version") || process.argv.includes("-v")) {
|
|
33
|
+
console.log(__cliPkg.version);
|
|
34
|
+
process.exit(0);
|
|
35
|
+
}
|
|
20
36
|
function loadConfig() {
|
|
21
37
|
// Try config.json (for multi-client setups)
|
|
22
38
|
const configPath = join(dirname(new URL(import.meta.url).pathname), "..", "config.json");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-google-gsc",
|
|
3
3
|
"mcpName": "io.github.mharnett/google-gsc",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "MCP server for Google Search Console API with multi-client support, search analytics, and URL inspection.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|