@genxis/whmrockstar
Version:
🎸 GenXis WHMRockStar - AI-powered multi-server WHM/cPanel management via Model Context Protocol (MCP). Enhanced with proper MCP stdio protocol support and multi-server management.
104 lines (86 loc) • 4.81 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.1.1] - 2025-08-17
### Changed
- **Documentation**: Updated README with comprehensive v2.1 feature documentation
- **Changelog**: Added detailed changelog entries for SSH integration features
- **Version Clarity**: Better version tracking and feature attribution
## [2.1.0] - 2025-08-17
### Added
- **SSH Integration**: Full root-level SSH access via automated key deployment
- **Automated SSH Setup**: Uses WHM API `addsshkey` to install SSH keys - no manual configuration
- **SSH File Operations**: Direct access to system files including /etc/, /var/log/, Apache configs
- `ssh_file_read` - Read any file on the server
- `ssh_file_write` - Write/create any file with root permissions
- **SSH Command Execution**: Execute any shell command as root via `ssh_command`
- **Service Management**: Control systemd services via SSH
- `ssh_service` - Restart, stop, start, or check status of services
- **System Health Monitoring**: New `ssh_system_check` tool for comprehensive system analysis
- Disk space monitoring (alerts on >90% usage)
- Memory usage tracking
- Apache configuration validation
- Error log analysis
- **SSH Manager Module**: New `lib/ssh-manager.js` module for SSH operations
- **Secure Key Storage**: SSH keys stored in `~/.genxis-whmrockstar/ssh/` directory
### Changed
- **Enhanced README**: Added SSH features documentation and examples
- **Updated Dependencies**: Added `ssh2` package for SSH client functionality
- **Improved Security**: SSH keys generated using Node.js crypto module
- **Extended MCP Server**: Added 6 new SSH-related MCP request handlers
### Technical Details
- SSH keys automatically generated and installed via WHM API
- Support for both RSA key generation and OpenSSH format conversion
- Automatic SSH connection management with connection pooling
- Enhanced error handling for SSH operations
- IP whitelisting handled via CpHulk as per user configuration
## [2.0.1] - 2025-08-16
### Fixed
- **Critical**: Removed circular dependency in package.json (package depending on itself)
- **npm Publishing**: Fixed package configuration for successful npm publication
## [2.0.0] - 2025-08-16
### Added
- **Multi-Server Support**: Manage multiple WHM servers from a single MCP interface
- **Proper MCP Protocol**: Full stdio-based MCP implementation for seamless IDE integration
- **Enhanced CLI**: New commands for multi-server management
- `add-server` - Add additional WHM servers
- `remove-server` - Remove server configurations
- `list-servers` - List all configured servers
- `test-all` - Test all server connections
- **Server Context**: All operations now include clear server identification
- **Multi-Server Manager**: Centralized server configuration management
- **Automatic Migration**: Legacy v1.0 configurations automatically migrated
- **Enhanced Error Handling**: Better error messages with server context
- **Server-Aware Tools**: All MCP tools now support optional `serverId` parameter
### Changed
- **BREAKING**: Main entry point changed from `index.js` to `mcp-server-simple.js`
- **BREAKING**: MCP protocol changed from HTTP/SSE to stdio for better compatibility
- **Improved**: CLI commands now support multi-server operations
- **Enhanced**: Tool responses include server context information
- **Updated**: Package version bumped to 2.0.0
- **Improved**: Documentation updated with multi-server examples
### Fixed
- **MCP Compatibility**: Fixed stdio protocol implementation for proper IDE integration
- **Server Selection**: Automatic server selection when only one server configured
- **Error Messages**: More descriptive error messages with server context
- **Configuration Loading**: Robust configuration loading from multiple sources
### Technical Changes
- Added `MultiServerManager` class for centralized server management
- Implemented proper MCP stdio protocol communication
- Enhanced CLI with inquirer-based interactive setup
- Added comprehensive server validation and testing
- Improved logging with server context
### Migration Guide
- v1.0 configurations are automatically migrated to v2.0 format
- No manual migration required
- New multi-server configuration stored in `~/.genxis-whmrockstar/servers.json`
- Legacy `config.json` files are preserved and migrated
## [1.0.0] - 2025-08-16
### Added
- Initial release
- Basic WHM/cPanel integration
- HTTP/SSE-based MCP protocol
- Single server support
- Basic IDE integration
- Core WHM operations (account management, server monitoring)