MCP.so
Sign In
S

SSH MCP Server

@uarlouski

About SSH MCP Server

A Model Context Protocol (MCP) server that provides secure SSH capabilities for AI assistants, enabling remote command execution, SFTP file transfers, and port forwarding with comprehensive security controls.

Basic information

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "ssh": {
      "command": "ssh-mcp-server",
      "args": [
        "--configPath=/path/to/your/ssh-mcp-config.json"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is SSH MCP Server?

SSH MCP Server is a Model Context Protocol server that provides secure SSH capabilities for AI assistants, enabling remote command execution, SFTP file transfers, and port forwarding with comprehensive security controls.

How to use SSH MCP Server?

Configure the server with allowed hosts, SSH private keys, and command allowlists. AI assistants can then execute commands, transfer files, and create port forwarding tunnels via MCP tools.

Key features of SSH MCP Server

  • Secure SSH command execution with granular security controls
  • Host allowlisting to only connect to trusted servers
  • SFTP file operations: upload, download, list, delete
  • SSH port forwarding to create secure tunnels
  • Connection pooling with automatic management
  • SSH key authentication and SSH config integration

Use cases of SSH MCP Server

  • Remote command execution for server administration by AI assistants
  • Secure file transfers to and from remote servers
  • Port forwarding to access database or web services through SSH tunnels
  • Centralized server management with connection pooling and config reuse

FAQ from SSH MCP Server

What authentication methods does SSH MCP Server support?

It supports SSH key authentication using private keys.

Can I restrict which commands can be executed?

Yes, through command allowlisting that controls which commands are permitted.

How do I manage which servers can be accessed?

By using host allowlisting, only pre-configured trusted servers can be connected to.

Does it support using my existing SSH configuration?

Yes, it integrates with your SSH config file to import servers.

What features does SSH MCP Server provide besides command execution?

It also provides SFTP file operations and SSH port forwarding.

Comments

More Developer Tools MCP servers