SSH MCP Server

An MCP server that provides SSH and serial console access to remote servers and network devices

Local serverstdioGo

What is the SSH MCP Server?

An MCP server that provides SSH and serial console access to remote servers and network devices

The short version

A Model Context Protocol (MCP) server that provides comprehensive SSH and serial console access to remote servers and network devices. Enables AI tools like Claude Desktop to securely manage Linux servers, network switches, and infrastructure devices through both network SSH connections and direct USB-to-Serial console access.

What it needs from you

  • Node.js 18 or higher - npm or yarn - Compatible with Windows, macOS, and Linux

Recorded tools

  • ubuntu_nginx_control — Web server control (start, stop, restart, status, reload, check-config)
  • ubuntu_update_packages — System package updates with security-only option
  • ubuntu_ssl_certificate — SSL certificate management using Let's Encrypt (issue, renew, status, list)
  • ubuntu_website_deployment — Website deployment with automatic backup and restore
  • ubuntu_ufw_firewall — Firewall (UFW) management (enable, disable, allow, deny, delete)
  • ssh_connect — The ssh_connect tool exposed by this server.
  • ssh_exec — The ssh_exec tool exposed by this server.
  • ssh_upload_file — The ssh_upload_file tool exposed by this server.
  • ssh_download_file — The ssh_download_file tool exposed by this server.
  • ssh_list_files — The ssh_list_files tool exposed by this server.
  • ssh_disconnect — The ssh_disconnect tool exposed by this server.
  • switch_discover_device — Discover and identify network switch device type and capabilities.
  • switch_show_interfaces — The switch_show_interfaces tool exposed by this server.
  • switch_show_vlans — The switch_show_vlans tool exposed by this server.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ssh_connect
ssh_exec
ssh_upload_file
ssh_download_file
ssh_list_files
ssh_disconnect

How to install the SSH MCP Server

{
  "mcpServers": {
    "ssh-server": {
      "command": "node",
      "args": [
        "/path/to/mcp-ssh-server/build/index.js"
      ],
      "env": {
        "NODE_NO_WARNINGS": "1"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 18 or higher - npm or yarn - Compatible with Windows, macOS, and Linux
VariableDescriptionRequired
NODE_NO_WARNINGSDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use SSH MCP to ubuntu nginx control.”
  • “Use SSH MCP to ubuntu update packages.”
  • “Use SSH MCP to ubuntu ssl certificate.”

Frequently asked questions

An MCP server that provides SSH and serial console access to remote servers and network devices Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.