Files
zeekay 53f71fc8bc feat(mcp): sync with standalone hanzoai/mcp v2.4.1
Replace stale v2.2.2 subset with canonical v2.4.1 source from
github.com/hanzoai/mcp. Adds HIP-0300 unified tools (fs, exec, code,
git, fetch, workspace), autogui desktop automation, modular search
subsystem, Hanzo cloud/platform integration, memory/planning tools,
Playwright browser control, ZAP WebSocket transport. Drops heavy
tree-sitter and @hanzo/ai deps in favor of lean core with optional deps.
2026-03-12 20:24:26 -07:00

17 lines
509 B
JavaScript

#!/usr/bin/env node
/**
* Hanzo MCP Server Entry Point
* Starts the MCP server directly when executed
*/
// Add 'serve' to process.argv if no command is specified
// This makes the server start by default
if (!process.argv.slice(2).some(arg => ['serve', 'install', 'install-desktop', 'list-tools', '--version', '--help', '-V', '-h'].includes(arg))) {
process.argv.push('serve');
}
import('./dist/cli.js').catch(err => {
console.error('Failed to start Hanzo MCP server:', err);
process.exit(1);
});