mirror of
https://github.com/hanzoai/extension.git
synced 2026-10-31 19:52:25 +00:00
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.
17 lines
509 B
JavaScript
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);
|
|
}); |