SSH Remote Command Executor
๐งMCP Serverlgariv/ssh-mcp
An MCP server enabling SSH connectivity and remote command execution, supporting local deployment for private networks and Smithery deployment for public servers.
Overview
SSH Remote Command Executor is an MCP server that enables SSH connectivity and remote command execution from AI assistants. It provides two core tools -- connection testing and command execution -- and can run locally for accessing private networks or via Smithery for public servers, supporting password-based authentication.
Key Features
- Remote Command Execution - Executes commands on remote servers via SSH and returns stdout, stderr, and exit code for full output visibility
- Connection Testing - Provides a dedicated connection test tool that verifies SSH connectivity and returns the remote hostname
- Three Installation Methods - Available from source (for development), via NPM package (for local/private networks), or via Smithery (for public servers)
- Private Network Access - The NPM method runs locally, enabling access to LAN resources, home lab servers, Raspberry Pis, and local VMs that are not publicly accessible
- Zero-Install Option - The NPM method uses
npx -yfor no-install execution with automatic latest version updates
Who is this for?
This MCP server is designed for developers and system administrators who need AI assistants to execute commands on remote servers, manage infrastructure, or troubleshoot systems over SSH. It is particularly useful for home lab enthusiasts, DevOps engineers, and anyone managing servers on private networks who want AI-assisted remote administration.
Installation
claude mcp add ssh-mcp -e SSH_HOST=192.168.1.100 -e SSH_PORT=22 -e SSH_USERNAME=ubuntu -e SSH_PASSWORD=your-password -- node path/to/ssh-mcp/dist/index.js{
"mcpServers": {
"ssh-mcp": {
"command": "node",
"args": ["pa...