sdd-mcp-server 1.1.11 → 1.1.13

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
@@ -1,7 +1,13 @@
1
1
  # MCP SDD Server
2
2
 
3
+ [![npm version](https://badge.fury.io/js/sdd-mcp-server.svg)](https://badge.fury.io/js/sdd-mcp-server)
4
+ [![GitHub release](https://img.shields.io/github/release/yi-john-huang/sdd-mcp.svg)](https://github.com/yi-john-huang/sdd-mcp/releases/latest)
5
+ [![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue.svg)](https://modelcontextprotocol.io)
6
+
3
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.
4
8
 
9
+ > **✅ v1.1.12 Update**: Fixed MCP server connection issues with Claude Code. Health check failures have been resolved with optimized startup performance.
10
+
5
11
  ## 🚀 Quick Start
6
12
 
7
13
  ### Option 1: Install with npx (Recommended)
@@ -52,16 +58,27 @@ docker-compose up -d
52
58
  ### Claude Code
53
59
  Add to your MCP settings using the command line:
54
60
  ```bash
55
- # Add to global MCP configuration
56
- claude mcp add sdd "npx -y sdd-mcp-server@latest"
61
+ # Add to local MCP configuration (recommended)
62
+ claude mcp add sdd "npx -y sdd-mcp-server@latest" -s local
63
+
64
+ # Verify connection
65
+ claude mcp list
66
+ # Should show: sdd: ✓ Connected
67
+
68
+ # For faster startup during development:
69
+ git clone https://github.com/yi-john-huang/sdd-mcp.git
70
+ cd sdd-mcp
71
+ claude mcp add sdd "$(pwd)/local-mcp-server.js" -s local
72
+ ```
57
73
 
58
- # Or manually edit ~/.mcp.json:
74
+ Manual configuration in `~/.claude.json`:
75
+ ```json
59
76
  {
60
- "servers": {
77
+ "mcpServers": {
61
78
  "sdd": {
62
- "type": "stdio",
63
79
  "command": "npx",
64
- "args": ["-y", "sdd-mcp-server@latest"]
80
+ "args": ["-y", "sdd-mcp-server@latest"],
81
+ "env": {}
65
82
  }
66
83
  }
67
84
  }
@@ -229,6 +246,9 @@ npm install -g sdd-mcp-server
229
246
  ```
230
247
 
231
248
  **Issue: "MCP server not responding or Failed to connect"**
249
+
250
+ *Fixed in v1.1.12*: The connection issues have been resolved with optimized startup performance.
251
+
232
252
  ```bash
233
253
  # Test server directly
234
254
  echo '{"jsonrpc": "2.0", "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0.0"}}, "id": 1}' | npx -y sdd-mcp-server@latest
@@ -236,9 +256,14 @@ echo '{"jsonrpc": "2.0", "method": "initialize", "params": {"protocolVersion": "
236
256
  # Check Claude MCP status
237
257
  claude mcp list
238
258
 
239
- # Re-add server to Claude MCP
240
- claude mcp remove sdd
241
- claude mcp add sdd "npx -y sdd-mcp-server@latest"
259
+ # Re-add server to Claude MCP (forces refresh)
260
+ claude mcp remove sdd -s local
261
+ claude mcp add sdd "npx -y sdd-mcp-server@latest" -s local
262
+
263
+ # Alternative: Use local development version for faster startup
264
+ git clone https://github.com/yi-john-huang/sdd-mcp.git
265
+ cd sdd-mcp
266
+ claude mcp add sdd "$(pwd)/local-mcp-server.js" -s local
242
267
  ```
243
268
 
244
269
  **Issue: "Permission denied"**
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ async function createSimpleMCPServer() {
51
51
  const { ListToolsRequestSchema, CallToolRequestSchema, InitializedNotificationSchema } = await import('@modelcontextprotocol/sdk/types.js');
52
52
  const server = new Server({
53
53
  name: 'sdd-mcp-server',
54
- version: '1.1.10'
54
+ version: '1.1.12'
55
55
  }, {
56
56
  capabilities: {
57
57
  tools: {}
package/mcp-server.js CHANGED
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // Minimal MCP server - always uses simplified implementation
3
+ // Fast startup MCP server - optimized for Claude Code health checks
4
+
5
+ // Silence console output immediately
4
6
  console.log = () => {};
5
7
  console.info = () => {};
6
8
  console.warn = () => {};
@@ -17,7 +19,7 @@ import {
17
19
 
18
20
  const server = new Server({
19
21
  name: 'sdd-mcp-server',
20
- version: '1.1.10'
22
+ version: '1.1.12'
21
23
  }, {
22
24
  capabilities: {
23
25
  tools: {}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "sdd-mcp-server",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
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": "mcp-server.js",
7
+ "sdd-mcp-server": "dist/index.js",
8
8
  "sdd-mcp": "dist/index.js"
9
9
  },
10
10
  "type": "module",