All notable changes to SystemAdmin-CLI v2 will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
SystemAdmin-CLI v2 - Advanced system administration toolkit with safety-first approach
Core MCP Tools:
install_package- Safe package installation with validationremove_package- Safe package removal with confirmationsystem_info- Comprehensive system information gatheringexecute_command- Validated command execution with safety checksmanage_service- Cross-platform service management (systemctl/launchctl)cleanup_files- Intelligent file cleanup with dry-run modemanage_processes- Process monitoring and managementupdate_system- System updates with security-only options
CLI Commands:
system info- System information and diagnosticsinstall <package>- Package installation with safety validationservice <action>- Service management (start/stop/restart/status/enable/disable)cleanup <path>- File cleanup with advanced filtering optionsprocess list/info/kill- Process management with signal handlingupdate --upgrade- System updates with dry-run supportmcp-server test/start/stop- MCP server management and testing
Safety Features:
- Pre-execution validation pipeline
- Risk assessment for all operations
- Mandatory confirmation dialogs for destructive operations
- Dry-run mode by default for dangerous commands
- Backup mechanisms before file modifications
- Rollback capabilities for failed operations
- Permission checks and privilege validation
Cross-Platform Support:
- Full Linux compatibility (Ubuntu, CentOS, Fedora, Arch)
- macOS support with launchctl integration
- Automatic package manager detection (apt, yum, dnf, pacman, brew)
- Platform-specific service management
User Experience:
- Beautiful colored CLI output with progress indicators
- Comprehensive help system with examples
- Intuitive command structure and options
- Error handling with helpful error messages
- Verbose and debug modes for troubleshooting
Architecture:
- TypeScript with strict mode for type safety
- Modular monorepo structure (core/cli packages)
- MCP (Model Context Protocol) server integration
- ES modules with proper imports/exports
- Comprehensive test suite with 15+ tests
Documentation:
- Complete README with installation and usage
- Comprehensive contributing guidelines
- Apache 2.0 license
- API documentation with JSDoc
- Safety guidelines and best practices
Development Experience:
- GitHub Actions CI/CD pipeline
- Automated testing on multiple platforms
- Issue and pull request templates
- Code quality tools (ESLint, Prettier)
- Semantic versioning and conventional commits
- Input validation for all commands
- Permission checks before system modifications
- Secure default configurations
- No sensitive information in logs
- Protection against command injection
- System detection under 500ms
- Command validation under 100ms
- Memory usage under 50MB
- Fast package manager detection
- Optimized for responsiveness
- 15 comprehensive unit tests
- Integration testing for MCP tools
- Cross-platform compatibility testing
- Safety mechanism validation
- Performance benchmarking
- Enterprise-Grade Safety: Multiple validation layers prevent accidental system damage
- Cross-Platform Compatibility: Unified interface for Linux and macOS system administration
- Beautiful User Experience: Intuitive CLI with helpful examples and colored output
- Extensible Architecture: MCP server allows easy addition of new tools
- Comprehensive Documentation: Complete guides for users and contributors
- Professional Quality: TypeScript, testing, CI/CD, and best practices
# Clone the repository
git clone https://github.com/systemadmin-cli/systemadmin-cli-v2.git
cd systemadmin-cli-v2
# Install dependencies
npm install
# Build the project
npm run build
# Start using
./sysadmin-cli --helpWe welcome contributions! Please see our Contributing Guidelines for details on how to get started.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- v2.0.0 (2025-01-05): Initial release with 8 MCP tools, 7 CLI commands, and safety-first architecture