Files
mcp/package.json
T
zeekay 22c08a5946 Improve CLI and organize tests
- Fix CLI to properly handle --version flag and serve command
- Made serve command the default command
- Added server.js as entry point wrapper
- Version bumped to 2.0.1 for npm release
- Organized test files into test/ directory
2025-09-15 08:44:21 -05:00

74 lines
2.2 KiB
JSON

{
"name": "@hanzo/mcp",
"version": "2.0.1",
"description": "Hanzo MCP Server - Unified search, TreeSitter AST, vector store, and agent orchestration",
"main": "dist/index.js",
"type": "module",
"bin": {
"hanzo-mcp": "./dist/cli.js"
},
"files": [
"dist/",
"server.js",
"package.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:lib && npm run build:cli",
"build:lib": "esbuild src/index.ts --bundle --platform=node --target=node16 --format=esm --outfile=dist/index.js --external:@modelcontextprotocol/sdk --external:glob --external:commander --external:zod --external:zod-to-json-schema --external:mime-types --external:path --external:fs --external:url",
"build:cli": "esbuild src/cli.ts --bundle --platform=node --target=node16 --format=esm --outfile=dist/cli.js --external:@modelcontextprotocol/sdk --external:glob --external:commander --external:zod --external:zod-to-json-schema --external:mime-types --external:path --external:fs --external:url && chmod +x dist/cli.js",
"dev": "tsc --watch",
"test": "jest",
"lint": "echo 'No linter configured'",
"prepublishOnly": "npm run build"
},
"keywords": [
"mcp",
"model-context-protocol",
"ai",
"claude",
"tools",
"development"
],
"author": "Hanzo AI",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"@types/mime-types": "^3.0.1",
"commander": "^11.1.0",
"glob": "^10.3.10",
"mime-types": "^3.0.1",
"minimatch": "^9.0.3",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.22.4"
},
"optionalDependencies": {
"jsautogui": "^1.0.0",
"playwright": "^1.47.0",
"playwright-core": "^1.47.0"
},
"devDependencies": {
"@jest/globals": "^30.1.2",
"@types/glob": "^8.1.0",
"@types/jest": "^30.0.0",
"@types/minimatch": "^5.1.2",
"@types/node": "^20.10.5",
"esbuild": "^0.19.11",
"jest": "^29.7.0",
"ts-jest": "^29.4.1",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/mcp.git"
},
"homepage": "https://hanzo.ai",
"bugs": {
"url": "https://github.com/hanzoai/mcp/issues"
}
}