mcp-google-ads 1.0.2 → 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 +4 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sha":"
|
|
1
|
+
{"sha":"8e7eb9a","builtAt":"2026-04-09T19:36:52.493Z"}
|
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-google-ads`);
|
|
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 first (for multi-client setups)
|
|
22
38
|
const configPath = join(dirname(new URL(import.meta.url).pathname), "..", "config.json");
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-google-ads",
|
|
3
3
|
"mcpName": "io.github.mharnett/google-ads",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "MCP server for Google Ads API with MCC support, 35 tools for campaign management, reporting, and optimization. Safe by default — all changes created PAUSED.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"mcp-google-ads": "dist/index.js"
|
|
9
|
+
},
|
|
7
10
|
"types": "dist/index.d.ts",
|
|
8
11
|
"type": "module",
|
|
9
12
|
"exports": {
|