UNPKG

mcp-adr-analysis-server

Version:

MCP server for analyzing Architectural Decision Records and project architecture

134 lines (133 loc) 4.51 kB
{ "name": "mcp-adr-analysis-server", "version": "2.1.22", "description": "MCP server for analyzing Architectural Decision Records and project architecture", "main": "dist/src/index.js", "type": "module", "engines": { "node": ">=20.0.0", "npm": ">=9.0.0" }, "scripts": { "build": "tsc && chmod +x dist/src/index.js", "dev": "tsx src/index.ts", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:jest": "NODE_ENV=test NODE_OPTIONS='--experimental-vm-modules' jest", "test:advanced": "./scripts/test-advanced-prompting.sh", "test:unit": "./scripts/test-infrastructure.sh unit", "test:integration": "./scripts/test-infrastructure.sh integration", "test:performance": "./scripts/test-infrastructure.sh performance", "test:quality": "./scripts/test-advanced-prompting.sh quality", "test:infrastructure": "./scripts/test-infrastructure.sh infrastructure", "test:validate": "./scripts/test-infrastructure.sh validate", "test:cleanup": "./scripts/test-infrastructure.sh cleanup", "test:mcp": "./scripts/test-mcp-server.sh", "test:mcp-functionality": "./scripts/test-mcp-functionality.sh", "test:mcp-interactive": "npx @modelcontextprotocol/inspector node dist/src/index.js", "lint": "eslint . && npm run typecheck", "lint:fix": "eslint . --fix && npm run typecheck", "clean": "rm -rf dist coverage .mcp-adr-cache", "prepare": "husky", "prepublishOnly": "npm run build && npm run lint", "start": "node dist/src/index.js", "health": "node dist/src/index.js --test", "format": "prettier --write src/**/*.ts tests/**/*.ts", "format:check": "prettier --check src/**/*.ts tests/**/*.ts", "typecheck": "tsc --noEmit --incremental false", "validate:patterns": "vitest run tests/utils/pattern-validation.test.ts tests/utils/pattern-loader.test.ts", "prebuild": "npm run clean", "test:package": "./scripts/test-npm-package.sh", "docs:generate": "typedoc", "docs:serve": "cd docs/api && python3 -m http.server 8080", "docs:build": "npm run docs:generate && echo 'API documentation generated in docs/api/'", "docs:clean": "rm -rf docs/api" }, "dependencies": { "@mendable/firecrawl-js": "^4.4.1", "@modelcontextprotocol/sdk": "^1.19.1", "fast-glob": "^3.3.2", "tree-sitter": "^0.21.1", "tree-sitter-bash": "^0.21.0", "tree-sitter-c": "^0.21.4", "tree-sitter-cpp": "^0.21.0", "tree-sitter-css": "^0.21.1", "tree-sitter-go": "^0.21.2", "tree-sitter-java": "^0.21.0", "tree-sitter-javascript": "^0.21.4", "tree-sitter-json": "^0.21.0", "tree-sitter-python": "^0.21.0", "tree-sitter-ruby": "^0.21.0", "tree-sitter-rust": "^0.21.0", "tree-sitter-typescript": "^0.21.2", "tree-sitter-yaml": "^0.5.0", "tslib": "^2.8.1", "zod": "^4.1.12" }, "devDependencies": { "@commitlint/cli": "^20.0.0", "@commitlint/config-conventional": "^20.0.0", "@jest/globals": "^30.1.2", "@modelcontextprotocol/inspector": "^0.18.0", "@types/jest": "^29.5.14", "@types/js-yaml": "^4.0.9", "@types/node": "^25.0.2", "@typescript-eslint/eslint-plugin": "^8.45.0", "@typescript-eslint/parser": "^8.45.0", "@vitest/coverage-v8": "^4.0.16", "ajv": "^8.17.1", "eslint": "^9.36.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "husky": "^9.1.7", "jest": "^30.2.0", "jest-junit": "^16.0.0", "lint-staged": "^16.2.7", "openai": "^6.1.0", "prettier": "^3.1.0", "ts-jest": "^29.4.1", "tsx": "^4.6.0", "typedoc": "^0.28.13", "typescript": "^5.9.3", "vitest": "^4.0.16" }, "keywords": [ "mcp", "architectural-decision-records", "adr", "architecture", "analysis", "typescript", "model-context-protocol" ], "author": "Tosin Akinosho <tosin.akinosho@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/tosin2013/mcp-adr-analysis-server.git" }, "bin": { "mcp-adr-analysis-server": "./dist/src/index.js" }, "files": [ "dist/", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "lint-staged": { "*.{ts,js}": [ "eslint --fix", "prettier --write" ], "*.{json,md,yaml,yml}": [ "prettier --write" ], "*.ts": [ "bash -c 'tsc --noEmit --project tsconfig.json || true'" ] } }