MCP Catalogs
Home

mcp-ssh

by shuakami·62·Score 45

An MCP server that provides AI-powered SSH management capabilities through standardized protocols.

developer-toolsops-infrasecurity
20
Forks
0
Open issues
4 mo ago
Last commit
2d ago
Indexed

Overview

mcp-ssh is a comprehensive MCP (Model Context Protocol) server that enables AI models to manage SSH connections and execute remote commands. It supports connection management, command execution, tmux session handling, file operations, and process monitoring. The server features intelligent command execution with blocking detection, tmux integration for persistent sessions, and robust error recovery mechanisms.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Automated server administration through AI assistants
you:Remote development environment management
you:File transfer and system monitoring automation
you:Persistent tmux session management for collaborative work
you:What authentication methods does mcp-ssh support?
you:How does it handle long-running commands?

When to choose this

Choose this server when you need AI-powered SSH management capabilities with tmux integration and intelligent command processing.

When NOT to choose this

Avoid this if you need a pure SSH client without AI capabilities or if you're working in a restricted environment without Python support.

Tools this server exposes

12 tools extracted from the README
  • create_ssh_connection

    Create a new SSH connection to a remote server

  • execute_command

    Execute a command on a connected SSH server

  • execute_composite_command

    Execute multiple commands connected by && or ;

  • create_tmux_session

    Create a new tmux session on the remote server

  • list_tmux_sessions

    List all active tmux sessions on the remote server

  • send_tmux_keys

    Send key sequences to a tmux session

  • capture_tmux_output

    Capture output from a specific tmux session

  • upload_file

    Upload a file to the remote server via SSH

  • download_file

    Download a file from the remote server to local

  • read_file

    Read the contents of a file on the remote server

  • detect_blocking_processes

    Detect blocking processes on the remote server

  • list_ssh_connections

    List all configured SSH connections

Comparable tools

shell-mcpmcp-server-sshparamiko-mcp

Installation

Installation

  1. Clone and install:
git clone https://github.com/shuakami/mcp-ssh.git
cd mcp-ssh
npm install
npm run build
  1. Configure in your MCP client (e.g., Cursor):
{
  "mcpServers": {
    "ssh-mcp": {
      "command": "python3",
      "args": ["/path/to/mcp-ssh/bridging_ssh_mcp.py"]
    }
  }
}
  1. Restart your client to activate the MCP server.

FAQ

What authentication methods does mcp-ssh support?
mcp-ssh supports both password authentication and SSH key authentication. It can handle various key formats and secure credential storage.
How does it handle long-running commands?
The server implements intelligent blocking detection, automatically detecting and waiting for blocking processes. It supports timeouts and provides options for force execution.

Compare mcp-ssh with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.