Back to Home
classfang icon

ssh-mcp-server

Verified Safe

by classfang

Overview

Bridging AI assistants to remote SSH server operations for command execution, file transfer, and server status retrieval via the Model Context Protocol (MCP).

Installation

Run Command
npx -y @fangjunjie/ssh-mcp-server --host "192.168.1.1" --port "22" --username "root" --password "pwd123456"

Security Notes

The server implements important security features such as credential isolation (SSH credentials are not directly exposed to AI models), command whitelisting and blacklisting (strongly recommended to configure whitelists), and local path traversal protection for file uploads/downloads. Private keys are read from the local filesystem. A documented limitation is the lack of built-in rate limiting, which could expose the server to denial-of-service (DoS) attacks if not run behind a protective layer. Users are explicitly warned about the risks of running without command whitelists.

Similar Servers

Stats

Interest Score55
Security Score8
Cost ClassLow
Avg Tokens250
Stars127
Forks31
Last Update2026-01-14

Tags

SSHMCPAI Agent ToolRemote ExecutionFile Transfer