slyplan-mcp 1.7.3 → 1.7.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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -5
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -347,11 +347,10 @@ function mergeMcpJson(existing, auth) {
347
347
  else if (auth.refreshToken) {
348
348
  env.SLYPLAN_REFRESH_TOKEN = auth.refreshToken;
349
349
  }
350
- result.mcpServers.slyplan = {
351
- command: 'npx',
352
- args: ['-y', 'slyplan-mcp@latest'],
353
- env,
354
- };
350
+ const isWindows = process.platform === 'win32';
351
+ result.mcpServers.slyplan = isWindows
352
+ ? { command: 'cmd', args: ['/c', 'npx', '-y', 'slyplan-mcp@latest'], env }
353
+ : { command: 'npx', args: ['-y', 'slyplan-mcp@latest'], env };
355
354
  return result;
356
355
  }
357
356
  // Hooks go in .claude/settings.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slyplan-mcp",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "MCP server for Slyplan — visual project management via Claude",
5
5
  "type": "module",
6
6
  "bin": {