google-mcp-suite 1.11.0 → 1.11.1

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.
@@ -9,8 +9,7 @@ import { errorMessage } from '../lib/utils/error.js';
9
9
  import { runAuth } from './auth.js';
10
10
  import { diagnose, renderScopes } from './diagnose.js';
11
11
  import { renderStatus } from './status.js';
12
- function printHelp() {
13
- console.log(`google-mcp-doctor: provisioning & auth health for google-mcp-suite
12
+ const usage = `google-mcp-doctor: provisioning & auth health for google-mcp-suite
14
13
 
15
14
  Usage:
16
15
  google-mcp-doctor [check] full diagnostic: provisioning, accounts, services
@@ -23,8 +22,7 @@ Usage:
23
22
  google-mcp-doctor help
24
23
 
25
24
  Flags:
26
- --no-probe skip the live service health checks (offline/fast)`);
27
- }
25
+ --no-probe skip the live service health checks (offline/fast)`;
28
26
  const [cmd = 'check', ...rest] = process.argv.slice(2);
29
27
  try {
30
28
  switch (cmd) {
@@ -45,11 +43,10 @@ try {
45
43
  case 'help':
46
44
  case '--help':
47
45
  case '-h':
48
- printHelp();
46
+ console.log(usage);
49
47
  break;
50
48
  default:
51
- console.error(`Unknown command: ${cmd}\n`);
52
- printHelp();
49
+ console.error(`Unknown command: ${cmd}\n\n${usage}`);
53
50
  process.exit(1);
54
51
  }
55
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/doctor/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;kEAaoD,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,CAAC,GAAG,GAAG,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAEvD,IAAI,CAAC;IACH,QAAQ,GAAG,EAAE,CAAC;QACZ,KAAK,OAAO,CAAC;QACb,KAAK,UAAU;YACb,MAAM,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;YACxD,MAAM;QACR,KAAK,QAAQ,CAAC;QACd,KAAK,QAAQ;YACX,YAAY,EAAE,CAAC;YACf,MAAM;QACR,KAAK,MAAM;YACT,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;YACpB,MAAM;QACR,KAAK,QAAQ;YACX,YAAY,EAAE,CAAC;YACf,MAAM;QACR,KAAK,MAAM,CAAC;QACZ,KAAK,QAAQ,CAAC;QACd,KAAK,IAAI;YACP,SAAS,EAAE,CAAC;YACZ,MAAM;QACR;YACE,OAAO,CAAC,KAAK,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;YAC3C,SAAS,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC;AAAC,OAAO,GAAG,EAAE,CAAC;IACb,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC","sourcesContent":["#!/usr/bin/env node\nimport { errorMessage } from '../lib/utils/error.js';\n/**\n * google-mcp-doctor: a micro-CLI for provisioning and auth health.\n *\n * Doctor knows the services; the services never know doctor. It imports the auth\n * layer and stable `@googleapis/*` surfaces only, never a service's internals.\n */\nimport { runAuth } from './auth.js';\nimport { diagnose, renderScopes } from './diagnose.js';\nimport { renderStatus } from './status.js';\n\nfunction printHelp(): void {\n console.log(`google-mcp-doctor: provisioning & auth health for google-mcp-suite\n\nUsage:\n google-mcp-doctor [check] full diagnostic: provisioning, accounts, services\n google-mcp-doctor status refresh-token countdown table\n google-mcp-doctor auth [<acct>…] authorize accounts\n no args → re-auth what is expired/due\n --all → every account in the roster\n <acct> → an email (no config needed) or roster label\n google-mcp-doctor scopes the APIs + scopes to enable in Google Cloud\n google-mcp-doctor help\n\nFlags:\n --no-probe skip the live service health checks (offline/fast)`);\n}\n\nconst [cmd = 'check', ...rest] = process.argv.slice(2);\n\ntry {\n switch (cmd) {\n case 'check':\n case 'diagnose':\n await diagnose({ probe: !rest.includes('--no-probe') });\n break;\n case 'status':\n case 'tokens':\n renderStatus();\n break;\n case 'auth':\n await runAuth(rest);\n break;\n case 'scopes':\n renderScopes();\n break;\n case 'help':\n case '--help':\n case '-h':\n printHelp();\n break;\n default:\n console.error(`Unknown command: ${cmd}\\n`);\n printHelp();\n process.exit(1);\n }\n} catch (err) {\n console.error(errorMessage(err));\n process.exit(1);\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/doctor/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,KAAK,GAAG;;;;;;;;;;;;;kEAaoD,CAAC;AAEnE,MAAM,CAAC,GAAG,GAAG,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAEvD,IAAI,CAAC;IACH,QAAQ,GAAG,EAAE,CAAC;QACZ,KAAK,OAAO,CAAC;QACb,KAAK,UAAU;YACb,MAAM,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;YACxD,MAAM;QACR,KAAK,QAAQ,CAAC;QACd,KAAK,QAAQ;YACX,YAAY,EAAE,CAAC;YACf,MAAM;QACR,KAAK,MAAM;YACT,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;YACpB,MAAM;QACR,KAAK,QAAQ;YACX,YAAY,EAAE,CAAC;YACf,MAAM;QACR,KAAK,MAAM,CAAC;QACZ,KAAK,QAAQ,CAAC;QACd,KAAK,IAAI;YACP,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACnB,MAAM;QACR;YACE,OAAO,CAAC,KAAK,CAAC,oBAAoB,GAAG,OAAO,KAAK,EAAE,CAAC,CAAC;YACrD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC;AAAC,OAAO,GAAG,EAAE,CAAC;IACb,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC","sourcesContent":["#!/usr/bin/env node\nimport { errorMessage } from '../lib/utils/error.js';\n/**\n * google-mcp-doctor: a micro-CLI for provisioning and auth health.\n *\n * Doctor knows the services; the services never know doctor. It imports the auth\n * layer and stable `@googleapis/*` surfaces only, never a service's internals.\n */\nimport { runAuth } from './auth.js';\nimport { diagnose, renderScopes } from './diagnose.js';\nimport { renderStatus } from './status.js';\n\nconst usage = `google-mcp-doctor: provisioning & auth health for google-mcp-suite\n\nUsage:\n google-mcp-doctor [check] full diagnostic: provisioning, accounts, services\n google-mcp-doctor status refresh-token countdown table\n google-mcp-doctor auth [<acct>…] authorize accounts\n no args → re-auth what is expired/due\n --all → every account in the roster\n <acct> → an email (no config needed) or roster label\n google-mcp-doctor scopes the APIs + scopes to enable in Google Cloud\n google-mcp-doctor help\n\nFlags:\n --no-probe skip the live service health checks (offline/fast)`;\n\nconst [cmd = 'check', ...rest] = process.argv.slice(2);\n\ntry {\n switch (cmd) {\n case 'check':\n case 'diagnose':\n await diagnose({ probe: !rest.includes('--no-probe') });\n break;\n case 'status':\n case 'tokens':\n renderStatus();\n break;\n case 'auth':\n await runAuth(rest);\n break;\n case 'scopes':\n renderScopes();\n break;\n case 'help':\n case '--help':\n case '-h':\n console.log(usage);\n break;\n default:\n console.error(`Unknown command: ${cmd}\\n\\n${usage}`);\n process.exit(1);\n }\n} catch (err) {\n console.error(errorMessage(err));\n process.exit(1);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-mcp-suite",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "type": "module",
5
5
  "description": "Google Workspace MCP servers for AI agents, one per service per account: Gmail, Google Calendar, Google Drive, Google Docs, and Google Sheets. Identity is bound to the running instance, so an agent (Claude, Cursor, or any MCP client) can never act on the wrong account; each server exposes Google's curated MCP toolset (where one exists) plus the broader REST surface.",
6
6
  "keywords": [