sdd-mcp-server 2.0.2 โ†’ 2.0.3

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/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  A Model Context Protocol (MCP) server implementing Spec-Driven Development (SDD) workflows for AI-agent CLIs and IDEs like Claude Code, Cursor, and others.
8
8
 
9
- > ๐ŸŽฏ **v2.0.1 - Codebase Simplification**: Removed 7,131 lines of dead code and legacy tests for better maintainability. No breaking changes from v2.0.0.
9
+ > ๐Ÿ”ง **v2.0.3 - CLI Subcommand Support**: `npx sdd-mcp install-skills` now works correctly! Created proper CLI entry point with subcommand support.
10
10
 
11
11
  > ๐Ÿš€ **v2.0.0 - Hybrid MCP + Agent Skills Architecture**: Restructured for token efficiency! Template/guidance tools (requirements, design, tasks, steering, implement) are now **Claude Code Agent Skills** loaded on-demand. Action-oriented tools remain as MCP tools. ~55% token savings in typical operations. Install skills with `npx sdd-mcp install-skills`.
12
12
 
@@ -178,6 +178,7 @@ After installation, use these skills in Claude Code:
178
178
 
179
179
  | Skill | Description |
180
180
  |-------|-------------|
181
+ | `/simple-task <description>` | Quick implementation for small features, bug fixes, enhancements |
181
182
  | `/sdd-requirements <feature>` | Generate EARS-formatted requirements with embedded quality checklist |
182
183
  | `/sdd-design <feature>` | Create architecture design with Linus-style principles |
183
184
  | `/sdd-tasks <feature>` | Generate TDD task breakdown with test pyramid guidance |
@@ -268,12 +269,12 @@ Once connected to your AI client, you can use these MCP tools:
268
269
  Use sdd-context-load to restore project memory
269
270
  ```
270
271
 
271
- ## Latest Updates (v2.0.1)
272
+ ## Latest Updates (v2.0.3)
272
273
 
273
274
  **What's New**:
274
- - ๐Ÿงน **Codebase Simplification**: Removed 7,131 lines of dead code and legacy tests
275
- - โœ… **Improved Maintainability**: Cleaner codebase with only active, relevant code
276
- - โœ… **No Breaking Changes**: All existing functionality from v2.0.0 preserved
275
+ - ๐Ÿ”ง **CLI Subcommand Support**: `npx sdd-mcp install-skills` now works correctly
276
+ - โœ… **ESM Compatibility**: Fixed path resolution for all execution contexts (npx, global, local)
277
+ - โœ… **Proper CLI Entry Point**: New `sdd-mcp-cli.ts` handles subcommands
277
278
 
278
279
  **v2.0.0 Features** (included in this release):
279
280
  - ๐ŸŽฏ **Hybrid MCP + Agent Skills Architecture**: Template/guidance tools moved to Claude Code Agent Skills for ~55% token savings
@@ -284,21 +285,26 @@ Once connected to your AI client, you can use these MCP tools:
284
285
 
285
286
  **Upgrade Commands**:
286
287
  ```bash
287
- # Prefer npx (no installation required)
288
- npx -y sdd-mcp-server@latest
289
-
290
- # Global installation
291
- npm install -g sdd-mcp-server@latest
292
-
293
288
  # Install Agent Skills to your project
294
289
  npx sdd-mcp install-skills
290
+
291
+ # List available skills
292
+ npx sdd-mcp install-skills --list
293
+
294
+ # Show CLI help
295
+ npx sdd-mcp --help
296
+
297
+ # MCP server (for AI client integration)
298
+ npx sdd-mcp-server
295
299
  ```
296
300
 
297
301
  ## Previous Versions
298
302
 
299
303
  ### v2.0.x
300
- - v2.0.0: Hybrid MCP + Agent Skills architecture, ~55% token savings
304
+ - v2.0.3: CLI subcommand support (`npx sdd-mcp install-skills` works)
305
+ - v2.0.2: ESM compatibility fix for install-skills CLI
301
306
  - v2.0.1: Codebase simplification, removed 7,131 lines of dead code
307
+ - v2.0.0: Hybrid MCP + Agent Skills architecture, ~55% token savings
302
308
 
303
309
  ### v1.8.x
304
310
  - MCP tool standardization (standard tool calls vs slash commands)
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Main CLI entry point for sdd-mcp commands
4
+ *
5
+ * Usage:
6
+ * npx sdd-mcp install-skills [options]
7
+ * npx sdd-mcp --help
8
+ */
9
+ export {};
@@ -0,0 +1,51 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Main CLI entry point for sdd-mcp commands
4
+ *
5
+ * Usage:
6
+ * npx sdd-mcp install-skills [options]
7
+ * npx sdd-mcp --help
8
+ */
9
+ import { main as installSkillsMain } from './install-skills.js';
10
+ const HELP = `
11
+ SDD MCP CLI
12
+
13
+ Usage: npx sdd-mcp <command> [options]
14
+
15
+ Commands:
16
+ install-skills Install SDD skills to your project
17
+
18
+ Options:
19
+ --help, -h Show this help message
20
+
21
+ Examples:
22
+ npx sdd-mcp install-skills # Install to .claude/skills
23
+ npx sdd-mcp install-skills --list # List available skills
24
+ npx sdd-mcp install-skills --path ./ # Install to custom path
25
+
26
+ For MCP server usage, use: npx sdd-mcp-server
27
+ `;
28
+ async function main() {
29
+ const args = process.argv.slice(2);
30
+ const command = args[0];
31
+ if (!command || command === '--help' || command === '-h') {
32
+ console.log(HELP);
33
+ process.exit(0);
34
+ }
35
+ switch (command) {
36
+ case 'install-skills':
37
+ // Remove the command from args and pass the rest to install-skills
38
+ process.argv = [process.argv[0], process.argv[1], ...args.slice(1)];
39
+ await installSkillsMain();
40
+ break;
41
+ default:
42
+ console.error(`Unknown command: ${command}`);
43
+ console.log(HELP);
44
+ process.exit(1);
45
+ }
46
+ }
47
+ main().catch((error) => {
48
+ console.error('Error:', error.message);
49
+ process.exit(1);
50
+ });
51
+ //# sourceMappingURL=sdd-mcp-cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdd-mcp-cli.js","sourceRoot":"","sources":["../../src/cli/sdd-mcp-cli.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;CAiBZ,CAAC;AAEF,KAAK,UAAU,IAAI;IACjB,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACnC,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAExB,IAAI,CAAC,OAAO,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACzD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAClB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,gBAAgB;YACnB,mEAAmE;YACnE,OAAO,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACpE,MAAM,iBAAiB,EAAE,CAAC;YAC1B,MAAM;QAER;YACE,OAAO,CAAC,KAAK,CAAC,oBAAoB,OAAO,EAAE,CAAC,CAAC;YAC7C,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAClB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "sdd-mcp-server",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "MCP server for spec-driven development workflows across AI-agent CLIs and IDEs",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "sdd-mcp-server": "mcp-server.js",
8
- "sdd-mcp": "dist/index.js",
8
+ "sdd-mcp": "dist/cli/sdd-mcp-cli.js",
9
9
  "sdd-install-skills": "dist/cli/install-skills.js"
10
10
  },
11
11
  "type": "module",