diff --git a/mcp-server/package-lock.json b/mcp-server/package-lock.json index 4a5084d..823ba13 100644 --- a/mcp-server/package-lock.json +++ b/mcp-server/package-lock.json @@ -1,12 +1,12 @@ { "name": "claude-code-ultimate-guide-mcp", - "version": "1.0.0", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "claude-code-ultimate-guide-mcp", - "version": "1.0.0", + "version": "1.0.3", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.6.0", diff --git a/mcp-server/package.json b/mcp-server/package.json index d36466d..7985b68 100644 --- a/mcp-server/package.json +++ b/mcp-server/package.json @@ -1,20 +1,26 @@ { "name": "claude-code-ultimate-guide-mcp", - "version": "1.0.0", + "version": "1.0.3", "description": "MCP server for the Claude Code Ultimate Guide — search, read, and explore 20K+ lines of documentation directly from Claude Code", - "keywords": ["mcp", "claude-code", "anthropic", "documentation", "guide"], + "keywords": [ + "mcp", + "claude-code", + "anthropic", + "documentation", + "guide" + ], "author": "Florian Bruniaux", "license": "MIT", "homepage": "https://github.com/FlorianBruniaux/claude-code-ultimate-guide", "repository": { "type": "git", - "url": "https://github.com/FlorianBruniaux/claude-code-ultimate-guide.git", + "url": "git+https://github.com/FlorianBruniaux/claude-code-ultimate-guide.git", "directory": "mcp-server" }, "type": "module", "main": "./dist/index.js", "bin": { - "claude-code-guide-mcp": "./dist/index.js" + "claude-code-ultimate-guide-mcp": "dist/index.js" }, "files": [ "dist/**/*.js", @@ -22,7 +28,7 @@ "content" ], "scripts": { - "build": "tsup", + "build": "tsup && chmod +x dist/index.js", "dev": "GUIDE_ROOT=.. node --watch dist/index.js", "start": "node dist/index.js", "prepublishOnly": "npm run build" diff --git a/mcp-server/src/lib/content.ts b/mcp-server/src/lib/content.ts index 56f3719..fee0cf9 100644 --- a/mcp-server/src/lib/content.ts +++ b/mcp-server/src/lib/content.ts @@ -14,7 +14,7 @@ const GUIDE_ROOT = process.env.GUIDE_ROOT const CONTENT_DIR = GUIDE_ROOT ? resolve(GUIDE_ROOT, 'machine-readable') - : resolve(__dirname, '../../content'); + : resolve(__dirname, '../content'); const ALLOWED_EXTENSIONS = new Set([ '.md', '.yaml', '.yml', '.sh', '.ts', '.js', '.json', '.py', '.txt',