sdd-mcp-server 1.1.21 → 1.2.0

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/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "sdd-mcp-server",
3
- "version": "1.1.21",
3
+ "version": "1.2.0",
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
- "sdd-mcp-server": "minimal-working-server.js",
7
+ "sdd-mcp-server": "mcp-server.js",
8
8
  "sdd-mcp": "dist/index.js"
9
9
  },
10
10
  "type": "module",
11
11
  "files": [
12
12
  "dist/**/*",
13
- "minimal-working-server.js",
13
+ "mcp-server.js",
14
14
  "README.md",
15
15
  "LICENSE",
16
16
  "package.json"
@@ -1,66 +0,0 @@
1
- #!/usr/bin/env node
2
- import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
-
5
- function createServerInstance() {
6
- const server = new McpServer({
7
- name: "sdd-mcp-server",
8
- version: "1.1.21",
9
- }, {
10
- instructions: "Use this server for spec-driven development workflows across AI-agent CLIs and IDEs.",
11
- });
12
-
13
- // Register SDD tools exactly like context7 does
14
- server.registerTool("sdd-init", {
15
- title: "Initialize SDD Project",
16
- description: "Initialize a new SDD project",
17
- inputSchema: {
18
- projectName: {
19
- type: "string",
20
- description: "The name of the project to initialize"
21
- },
22
- description: {
23
- type: "string",
24
- description: "Optional project description"
25
- }
26
- },
27
- }, async ({ projectName, description }) => {
28
- return {
29
- content: [
30
- {
31
- type: "text",
32
- text: `SDD project "${projectName}" initialization would begin here.${description ? ` Description: ${description}` : ''}`
33
- },
34
- ],
35
- };
36
- });
37
-
38
- server.registerTool("sdd-status", {
39
- title: "Get SDD Project Status",
40
- description: "Get current SDD project status",
41
- inputSchema: {},
42
- }, async () => {
43
- return {
44
- content: [
45
- {
46
- type: "text",
47
- text: "SDD project status: No active project found. Use sdd-init to create a new project."
48
- },
49
- ],
50
- };
51
- });
52
-
53
- return server;
54
- }
55
-
56
- async function main() {
57
- const server = createServerInstance();
58
- const transport = new StdioServerTransport();
59
- await server.connect(transport);
60
- console.error("SDD MCP Server running on stdio");
61
- }
62
-
63
- main().catch((error) => {
64
- console.error("SDD MCP Server failed to start:", error);
65
- process.exit(1);
66
- });