win-cli-mcp-server
If you are the rightful owner of win-cli-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP server for secure command-line interactions on Windows systems, enabling controlled access to PowerShell, CMD, Git Bash shells, and remote systems via SSH.
The Windows CLI MCP Server is designed to facilitate secure command-line interactions on Windows systems. It supports multiple shell environments including PowerShell, Command Prompt (CMD), and Git Bash, and extends its capabilities to remote systems through SSH. This server allows MCP clients, such as Claude Desktop, to perform operations on the host system, similar to the Open Interpreter. It emphasizes security by providing features like command blocking, directory restrictions, and SSH connection management. The server is highly configurable, allowing users to define custom security rules, shell-specific settings, and SSH profiles. It is crucial to review and configure the server settings to ensure secure operations, especially when enabling SSH access.
Features
- Multi-Shell Support: Execute commands in PowerShell, Command Prompt (CMD), and Git Bash
- SSH Support: Execute commands on remote systems via SSH
- Resource Exposure: View SSH connections, current directory, and configuration as MCP resources
- Security Controls: Command and SSH command blocking, working directory validation, command logging
- Configurable: Custom security rules, shell-specific settings, SSH connection profiles, path restrictions
Tools
execute_command
Execute commands in the specified shell
get_command_history
Get the execution command history
ssh_execute
Execute commands on remote systems
ssh_disconnect
Disconnect SSH
create_ssh_connection
Create a new SSH connection
read_ssh_connections
Read all configuration SSH connections
update_ssh_connection
Update SSH connection
delete_ssh_connection
Delete SSH connection
get_current_directory
Get the current working directory of the server