claude-code-ultimate-guide/mcp-server/package.json
Florian BRUNIAUX 7236362c1e feat(mcp): add 4 new tools — compare_versions, get_threat, list_threats, search_examples
New tools (8 → 12 total):
- compare_versions(from, to): diff Claude Code releases between two versions,
  aggregating highlights and breaking changes across the range
- get_threat(id): look up any CVE or attack technique (T-code) with full details,
  severity, mitigation, and source references
- list_threats(category?): browse the threat database — summary table or
  detailed view by section (cves, authors, skills, techniques, mitigations, sources)
- search_examples(query, limit?): semantic search across 199 templates with
  token-aware scoring and get_example() hints

Infrastructure:
- content.ts: add loadThreatDb() with memory cache and dual-mode loading
  (GUIDE_ROOT filesystem in dev, GitHub fetch in production)
- Threat DB interface with correct Record<string, string> type for minimum_safe_versions

Docs:
- mcp-server/README.md: document all 12 tools with usage examples
- mcp-server/IDEAS.md: future ideas (quiz, methodology, workflow, diff resource)
- CHANGELOG.md: [Unreleased] entry for all 4 tools
- README.md: promote MCP section to standalone ## after Quick Start (was ### inside Quick Start)
- guide/architecture.md: add MCP server to Extended Tool Ecosystem

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 19:22:20 +01:00

42 lines
1.1 KiB
JSON

{
"name": "claude-code-ultimate-guide-mcp",
"version": "1.0.0",
"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"],
"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",
"directory": "mcp-server"
},
"type": "module",
"main": "./dist/index.js",
"bin": {
"claude-code-guide-mcp": "./dist/index.js"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"content"
],
"scripts": {
"build": "tsup",
"dev": "GUIDE_ROOT=.. node --watch dist/index.js",
"start": "node dist/index.js",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.6.0",
"yaml": "^2.4.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"tsup": "^8.0.0",
"typescript": "^5.4.0"
},
"engines": {
"node": ">=18.0.0"
}
}