SSH MCP Server

this is a collection of tools that allows your agent to execute commands on your remote servers

Local serverstdioTypeScript

What is the SSH MCP Server?

this is a collection of tools that allows your agent to execute commands on your remote servers

The short version

A Model Context Protocol (MCP) server implementation that provides SSH capabilities. This server allows for secure remote access and execution through the MCP protocol.

  • SSH server implementation using MCP protocol
  • SQLite database integration for data persistence
  • TypeScript implementation for type safety and better development experience

What it needs from you

  • Node.js 18 or higher - npm or yarn package manager - TypeScript knowledge for development

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
add_credentialsave { "name", "host", "username", "privateKeyPath" }.
list_credentialslist stored credential records.
remove_credentialdelete { "name" }.
ssh_execrun a shell command with { "credentialName", "command", "timeout" }.
ssh_exec_rawrun an argv-style command array, for example { "credentialName": "prod", "command": ["grep", "-E", "foo|bar", "/var/log/app.log"] }.
scp_copycopy one file over SFTP with { "credentialName", "localPath", "remotePath", "direction" }.
rsync_copycopy directories or larger trees with rsync and the same transfer shape.

Configuration

  • Node.js 18 or higher - npm or yarn package manager - TypeScript knowledge for development

Example prompts to try

  • “Use SSH to add credential.”
  • “Use SSH to list credentials.”
  • “Use SSH to remove credential.”

Frequently asked questions

Node.js 18 or higher, a package manager (npm or yarn), and TypeScript knowledge for development.