ssh-mcp-server

MCP.Pizza Chef: classfang

Your login details stay in a small settings file on your own computer, so the assistant can operate a machine over SSH without ever seeing your password or private key. It can run commands, upload files to the server, pull files back down, and reach machines that sit behind a proxy or jump host. You can also restrict it to a list of allowed commands, or block dangerous ones outright. Nothing needs installing and no account is required.

Coding

Use This MCP server To

Check what is filling up the disk on my server Restart a service on a remote machine Upload a config file to my server Download today's log file to read locally Read an error log and explain what broke Limit the assistant to a safe list of commands

README

πŸ” ssh-mcp-server

NPM Version GitHub forks GitHub Repo stars GitHub Issues or Pull Requests GitHub Issues or Pull Requests GitHub Issues or Pull Requests GitHub Issues or Pull Requests

SSH-based MCP (Model Context Protocol) server that allows remote execution of SSH commands via the MCP protocol.

English Document | δΈ­ζ–‡ζ–‡ζ‘£

πŸ“ Project Overview

ssh-mcp-server is a bridging tool that enables AI assistants and other applications supporting the MCP protocol to execute remote SSH commands through a standardized interface. This allows AI assistants to safely operate remote servers, execute commands, and retrieve results without directly exposing SSH credentials to AI models.

Welcome to join wechat group:

wx_1.png

ssh-mcp-server FAQ

Does the assistant see my password?
No. Credentials stay in your local settings file and are never handed to the model.
Which apps does this work in?
Any assistant that accepts a standard MCP settings block, such as Claude Desktop or Cursor.
Can I use this to restart a service on my server?
Yes β€” it runs the command over SSH and reports back what happened.
Can I stop it running something destructive?
Yes. You can set a list of allowed commands, a list of forbidden ones, or both.
Do I need to install anything?
No. It runs on demand through npx, so you only paste a short block into your assistant's settings.
Does it handle private keys and jump hosts?
Yes. Passwords, keys with a passphrase, your existing SSH config, SOCKS proxies and bastion hosts are all covered.