ssh-mcp-server
If you are the rightful owner of ssh-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.
SSH MCP Server is a local Model Context Protocol (MCP) server that provides secure SSH control for executing shell commands on Linux and Windows systems.
The SSH MCP Server is designed to facilitate secure and efficient remote command execution on both Linux and Windows systems through the use of SSH. Built with TypeScript and leveraging the official MCP SDK, this server ensures compliance with the Model Context Protocol standards. It offers a robust solution for managing remote systems by allowing users to execute shell commands securely, either through password authentication or SSH key-based authentication. The server supports a read-only mode with built-in security checks to prevent unauthorized or destructive actions. This makes it an ideal tool for system administrators and developers who need to manage multiple machines remotely, ensuring that operations are conducted in a secure and controlled manner. The server's architecture is designed to be extensible and easy to integrate with other MCP clients, such as LLMs, providing a seamless experience for executing commands across different platforms.
Features
- MCP-compliant server with SSH capabilities
- Secure authentication via password or SSH key
- Execute shell commands on remote Linux and Windows systems
- Read-only mode with built-in security checks
- Built with TypeScript and the official MCP SDK
Tools
get_available_connections
Lists machines available to connect via SSH
create_connection
Opens a new SSH session and tracks it by connection_id
get_connections
Lists all active SSH sessions
execute_command
Runs a shell command (unrestricted)
secure_execute_command
Safer command execution; blocks destructive actions
close_connection
Closes an active SSH session