OlympHill
ssh-mcp logo

ssh-mcpThis server connects your AI assistants to remote Linux or Windows machines. It safely runs shell commands over SSH, handles password or key logins, and automatically stops long-running tasks to keep

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

SSH MCP Server is a local Model Context Protocol (MCP) server that exposes SSH control for Linux and Windows systems. It enables LLMs and other MCP clients to execute shell commands securely via SSH. The server provides a range of tools and features, including executing shell commands on remote systems with or without sudo elevation, graceful timeout handling, and configurable timeout protection. To start using the server, users must clone the repository, install dependencies, and configure their IDE or LLM. This includes setting required parameters such as the hostname or IP of the remote server, the SSH username, and the password or key for authentication. Optional parameters include the SSH port, the timeout for command execution, the maximum allowed characters for the command input, and the option to disable the sudo-exec tool. The server is built with TypeScript and utilizes the official MCP SDK. It also includes tools for executing shell commands, managing timeouts, and configuring authentication.

Key features

  • Execute shell commands on remote Linux and Windows systems
  • Secure authentication via password or SSH key
  • Configurable timeout protection
  • Automatic process abortion
  • Support for sudo elevation

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

Remote Server Management

Use SSH MCP Server to manage remote Linux or Windows servers, executing shell commands securely via SSH.

Automated Task Execution

Integrate SSH MCP Server with LLMs or other MCP clients to automate task execution on remote servers.

Pros & Cons

Pros

  • Secure shell command execution over SSH
  • Supports password and SSH key authentication
  • Configurable timeout protection
  • Automatic process abortion for long-running tasks

Cons

  • Requires setup and configuration
  • May require sudo access for certain commands
  • Limited to executing shell commands

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What is required to start using the server?

To start using the server, users must clone the repository, install dependencies, and configure their IDE or LLM, including setting required parameters such as hostname, username, and password or key.

Asked by Lior Ben-David · Dec 13, 2025

Can I configure timeout protection?

Yes, ssh-mcp provides configurable timeout protection to prevent long-running tasks.

Asked by Camille Laurent · Oct 23, 2025

What authentication methods are supported?

ssh-mcp supports secure authentication via password or SSH key.

Asked by Yaw Owusu · Oct 6, 2025

What systems does ssh-mcp support?

ssh-mcp supports Linux and Windows systems. It enables secure execution of shell commands on these remote systems via SSH.

Asked by Dalia Haddad · Sep 4, 2025

Ask a question

MCP Servers alternatives