@jieunmarslim/server-editable-slides 0.2.9 → 0.2.10

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.
Files changed (2) hide show
  1. package/index.js +6 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -375,18 +375,18 @@ async function runDoctor() {
375
375
  }
376
376
  }
377
377
 
378
- // If invoked from an interactive terminal directly or with doctor/auth/check args, run diagnostic
378
+ // Run doctor diagnostics only when explicitly requested via command-line arguments.
379
+ // When spawned by MCP hosts (Antigravity, Cursor, Claude Desktop), always start the MCP server directly.
379
380
  const args = process.argv.slice(2);
380
- if (
381
+ const isDoctor =
381
382
  args.includes('doctor') ||
382
- args.includes('auth') ||
383
383
  args.includes('check') ||
384
384
  args.includes('--check') ||
385
385
  args.includes('--doctor') ||
386
386
  args.includes('-h') ||
387
- args.includes('--help') ||
388
- (process.stdin.isTTY && !args.includes('--stdio'))
389
- ) {
387
+ args.includes('--help');
388
+
389
+ if (isDoctor) {
390
390
  runDoctor();
391
391
  } else {
392
392
  startMcpServer().catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jieunmarslim/server-editable-slides",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Model Context Protocol (MCP) client for Editable Slides Cloud",
5
5
  "type": "module",
6
6
  "bin": {