Files
mcp/package.json
T
zeekay 41533d452a
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
publish / publish (push) Successful in 2m14s
Hanzo CI/CD / test-amd64 (push) Successful in 6m17s
Hanzo CI/CD / cicd (push) Successful in 4m15s
CI/CD / cicd (push) Successful in 10m38s
hanzo-mcp 1.1.30 for every platform the CLI ships, and 2.4.20 takes --project-dir
The release lane built Linux alone, so hanzo.sh offered macOS and
Windows a server nobody had built, and `hanzo dev` there fell back to
nothing. It now cross-builds linux, windows and darwin for both
architectures from the one Linux pool with Zig and a pinned macOS SDK,
the way the CLI's release does, one target at a time. Zig comes from its
own checksummed tarball, not pip.

`hanzo dev` hands its server `--project-dir`, the native spelling. The
npm build read it as stray arguments and exited, so a machine whose
PATH found the npm `hanzo-mcp` first ran every session without the
toolset. It now takes the flag as an allowed root.

Claude-Session: https://claude.ai/code/session_01M8RoubcPN71KgJuZ8LdBUL
2026-10-14 20:51:41 -07:00

83 lines
2.8 KiB
JSON

{
"name": "@hanzo/mcp",
"version": "2.4.20",
"packageManager": "[email protected]",
"description": "Hanzo MCP Server - Unified tool surface with AI, cloud control, vector search, and multi-framework UI",
"main": "dist/index.js",
"type": "module",
"bin": {
"hanzo-mcp": "dist/cli.js",
"mcp": "dist/cli.js"
},
"files": [
"dist/",
"scripts/smoke-mcp.mjs",
"server.js",
"package.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "pnpm build:lib && pnpm build:cli",
"build:lib": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=esm --outfile=dist/index.js --external:@modelcontextprotocol/sdk --external:glob --external:commander --external:zod --external:zod-to-json-schema --external:mime-types --external:@lancedb/lancedb --external:@xenova/transformers --external:jsautogui --external:playwright --external:playwright-core --external:path --external:fs --external:fs/promises --external:os --external:url",
"build:cli": "esbuild src/cli.ts --bundle --platform=node --target=node18 --format=esm --outfile=dist/cli.js --external:@modelcontextprotocol/sdk --external:glob --external:commander --external:zod --external:zod-to-json-schema --external:mime-types --external:@lancedb/lancedb --external:@xenova/transformers --external:jsautogui --external:playwright --external:playwright-core --external:path --external:fs --external:fs/promises --external:os --external:url && chmod +x dist/cli.js",
"dev": "tsc --watch",
"smoke": "node scripts/smoke-mcp.mjs",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"lint": "echo 'No linter configured'",
"prepublishOnly": "pnpm build"
},
"keywords": [
"mcp",
"model-context-protocol",
"ai",
"claude",
"tools",
"development"
],
"author": "Hanzo AI",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"@types/mime-types": "^3.0.1",
"commander": "^14.0.3",
"glob": "^13.0.6",
"mime-types": "^3.0.2",
"minimatch": "^10.2.4",
"zod": "^4.3.6",
"zod-to-json-schema": "^3.25.1"
},
"optionalDependencies": {
"@lancedb/lancedb": "^0.27.1",
"@xenova/transformers": "^2.17.2",
"jsautogui": "^2.1.3",
"playwright": "^1.58.2",
"playwright-core": "^1.58.2"
},
"devDependencies": {
"@jest/globals": "^30.3.0",
"@swc/core": "^1.16.1",
"@swc/jest": "^0.2.39",
"@types/glob": "^9.0.0",
"@types/jest": "^30.0.0",
"@types/minimatch": "^6.0.0",
"@types/node": "^25.5.0",
"esbuild": "^0.28.1",
"jest": "^30.3.0",
"ts-jest": "^29.4.6",
"tsx": "^4.23.15",
"typescript": "7.0.2"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/mcp.git"
},
"homepage": "https://hanzo.ai",
"bugs": {
"url": "https://github.com/hanzoai/mcp/issues"
}
}