SSH-PowerShell MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SSH-PowerShell MCP Serverrun 'df -h' on server 192.168.1.100 to check disk space"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: SSH Read-Only MCP Server
�🚀 Quick Start
# Clone repository
git clone https://github.com/GUEPARD98/MCP-POWERSHELL.git
cd MCP-POWERSHELL
# Install dependencies
npm install
# Configure environment
Copy-Item config\.env.example config\.env
# Edit config\.env with your SSH settings
# Start server
npm start📁 Project Structure
MCP-POWERSHELL/
├── 📁 config/ # Environment configurations
│ ├── .env.example # Configuration template
│ ├── .env.development # Development settings
│ ├── .env.production # Production settings
│ └── .env.test # Test settings
├── 📁 docs/ # Complete documentation
│ ├── README.md # Detailed guide
│ ├── API.md # API reference
│ ├── ARCHITECTURE.md # Technical architecture
│ └── SECURITY.md # Security best practices
├── 📁 scripts/ # PowerShell automation scripts
│ ├── start.ps1 # Start server
│ ├── stop.ps1 # Stop server
│ ├── setup.ps1 # Initial setup
│ └── test.ps1 # Run tests
├── 📁 src/ # Source code
│ └── index.js # Main MCP server
└── 📁 tests/ # Automated tests🛠️ Available Commands
Command | Description |
| Start MCP server |
| Run test suite |
| Development mode with PowerShell scripts |
| Initial configuration |
⚡ MCP Tools
🔐 ssh_execute
Execute commands on remote SSH servers
// Example: Run 'ls -la' on remote server
{
"name": "ssh_execute",
"arguments": {
"command": "ls -la",
"host": "192.168.1.100",
"user": "root"
}
}💻 powershell_execute
Execute PowerShell commands locally
// Example: Get Windows processes
{
"name": "powershell_execute",
"arguments": {
"command": "Get-Process | Select-Object -First 10"
}
}🌐 ssh_scan
Scan network for SSH services
// Example: Scan local network
{
"name": "ssh_scan",
"arguments": {
"target": "192.168.1.0/24"
}
}🔍 ssh_keyscan
Verify SSH host keys
// Example: Get host key fingerprint
{
"name": "ssh_keyscan",
"arguments": {
"host": "192.168.1.100"
}
}🔧 Configuration
Environment Setup
Copy
config/.env.exampletoconfig/.envConfigure your SSH settings:
# SSH Configuration
SSH_KEY_PATH=/path/to/your/ssh/key
SSH_DEFAULT_HOST=your.server.ip
SSH_DEFAULT_USER=your_username
SSH_DEFAULT_PORT=22
# Security Settings
SSH_STRICT_HOST_KEY_CHECKING=no
COMMAND_TIMEOUT=30000
LOG_LEVEL=infoClaude Desktop Integration
The server automatically configures Claude Desktop. Manual setup:
{
"mcpServers": {
"ssh-powershell-mcp": {
"command": "node",
"args": ["path/to/MCP-POWERSHELL/src/index.js"],
"env": {
"NODE_ENV": "production"
}
}
}
}� 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
# Run all tests
npm test
# Run specific test types
.\scripts\test.ps1 -TestType unit
.\scripts\test.ps1 -TestType integration
.\scripts\test.ps1 -TestType ssh🤝 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables SSH remote access to servers through Claude, allowing users to execute commands, transfer files via SFTP, and manage multiple remote connections using natural language.Last updated128MIT
- FlicenseAqualityDmaintenanceEnables secure remote SSH command execution with strict read-only enforcement, allowing safe delegation of SSH access to Claude while preventing write operations. Supports connection pooling, command validation, and comprehensive logging for audit trails.Last updated51
- AlicenseAqualityCmaintenanceSSH/SFTP server enabling remote command execution and secure file transfers, with integration for Claude AI.Last updated18162MIT
- -license-quality-maintenanceEnables Claude Code to control remote servers via SSH for automated deployment, testing, and operations, including command execution and file transfer.Last updated4
Related MCP Connectors
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Operate your Linux servers from your LLM. Every action runs through an auditable allowlist.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GUEPARD98/MCP-POWERSHELL'
If you have feedback or need assistance with the MCP directory API, please join our Discord server