mirror of
https://github.com/hanzoai/mcp.git
synced 2026-10-15 12:30:12 +00:00
BREAKING CHANGE: Consolidated all UI tools into single 'ui' tool with methods Major Changes: - Single unified 'ui' tool replaces 13+ separate UI tools - Hanzo UI as default framework (not shadcn) - Method-based architecture for all UI operations Supported Methods: - list_components - List available components - get_component - Get component source code - get_demo - Get component demo/examples - get_metadata - Get component dependencies - list_blocks - List UI blocks - get_block - Get block implementation - search - Search components - get_structure - Browse repository structure - install - Install components - set_framework - Switch frameworks - get_framework - Get current framework - create_composition - Create compositions Framework Support (Hanzo-first): - hanzo - Hanzo UI (React) [DEFAULT] - hanzo-native - Hanzo UI React Native - hanzo-vue - Hanzo UI Vue - hanzo-svelte - Hanzo UI Svelte - shadcn/react - shadcn/ui - svelte - Svelte (shadcn) - vue - Vue (shadcn) - react-native - React Native Reusables Benefits: - 93% reduction in MCP tool surface area - Cleaner AI assistant experience - Better discoverability - Easier maintenance - Hanzo registry priority
74 lines
2.2 KiB
JSON
74 lines
2.2 KiB
JSON
{
|
|
"name": "@hanzo/mcp",
|
|
"version": "2.2.0",
|
|
"description": "Hanzo MCP Server - Unified UI tool with Hanzo-first multi-framework support",
|
|
"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"
|
|
}
|
|
}
|