SSH-PowerShell MCP Server
🚀 Enterprise-grade Model Context Protocol (MCP) server for secure SSH and PowerShell command execution with Claude Desktop.
✨ Features
- � Secure SSH command execution on remote servers
- ⚡ Local PowerShell integration for Windows automation
- 🛡️ Enterprise security with SSH key authentication
- 🌐 Network scanning and SSH port discovery
- 🔍 SSH key verification and host key scanning
- 📊 Comprehensive logging and error handling
- 🎯 Claude Desktop optimized for seamless AI integration
�🚀 Quick Start
📁 Project Structure
🛠️ Available Commands
Command | Description |
---|---|
npm start | Start MCP server |
npm test | Run test suite |
npm run dev | Development mode with PowerShell scripts |
npm run setup | Initial configuration |
⚡ MCP Tools
🔐 ssh_execute
Execute commands on remote SSH servers
💻 powershell_execute
Execute PowerShell commands locally
🌐 ssh_scan
Scan network for SSH services
🔍 ssh_keyscan
Verify SSH host keys
🔧 Configuration
Environment Setup
- Copy
config/.env.example
toconfig/.env
- Configure your SSH settings:
Claude Desktop Integration
The server automatically configures Claude Desktop. Manual setup:
� Security
- ✅ SSH key authentication only (no passwords)
- ✅ Command sanitization with shell-escape
- ✅ Environment isolation for different configurations
- ✅ Comprehensive input validation
- ✅ Secure credential handling
See SECURITY.md for detailed security practices.
📚 Documentation
- Complete Guide - Detailed installation and usage
- API Reference - Full MCP API documentation
- Architecture - Technical design and diagrams
- Security Guide - Security best practices
🧪 Testing
🤝 Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature
) - Commit changes (
git commit -m 'Add amazing feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙋♂️ Support
- 📖 Check the documentation
- 🐛 Report issues on GitHub Issues
- 💬 Join discussions in GitHub Discussions
🏆 Acknowledgments
- Model Context Protocol for the excellent SDK
- Claude Desktop for AI integration capabilities
- The open-source community for inspiration and tools
🏢 Enterprise Ready | 🔒 Secure by Design | ⚡ Claude Optimized
Made with ❤️ by GUEPARD98
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables secure SSH command execution on remote servers and local PowerShell automation through Claude Desktop. Features enterprise-grade security with SSH key authentication, network scanning, and comprehensive logging for Windows and Linux system administration.