This commit renames the package from hanzo-dev-mcp to hanzo-mcp and refactors the codebase to reflect the expanded purpose of the MCP server. Key changes include:
- Renamed package and module (dev_mcp → hanzo_mcp)
- Updated server description to emphasize Platform API access
- Changed default server name (hanzo-dev → hanzo)
- Updated entry point and CLI commands
- Updated README with new configuration examples
- Fixed all imports and references in tests
This aligns with the shift from a development-only tool to a more general-purpose MCP server that can access Hanzo APIs and Cloud Platform services.
- Standardize import statements by removing unnecessary parentheses and line breaks
- Adjust function signatures and docstrings for better readability
- Fix indentation and spacing in test files to follow consistent patterns
- Reformat multi-line statements and expressions for clarity
- Remove trailing whitespace and ensure consistent line endings
This commit introduces a new validation module with utilities for validating parameters in tool functions. The module includes functions `validate_parameter`, `validate_path_parameter`, and `validate_parameters` that return structured validation results. These utilities have been integrated into various tool functions across the codebase to ensure proper parameter validation before execution. Additionally, tests have been added to verify the validation behavior across different scenarios. This enhancement improves the robustness of the tools by preventing invalid parameter usage and providing clear error messages.