Back to Home
classfang icon

ssh-mcp-server

Verified Safe

by classfang

Overview

Enables AI assistants to securely execute remote SSH commands and perform file transfers on target servers via the Model Context Protocol (MCP).

Installation

Run Command
npx -y @fangjunjie/ssh-mcp-server --host <host_address> --port <port_number> --username <ssh_username> --password <ssh_password>

Security Notes

The server allows powerful remote command execution and file transfers via SSH. It implements crucial security features like command whitelisting/blacklisting (regex-based) and local path traversal protection for file operations. It explicitly warns users if no command whitelist is configured, which is highly recommended. SSH credentials are managed locally and not exposed to the AI model. The score reflects the inherent power of the tool, which necessitates careful configuration, but also credits the robust built-in safeguards.

Similar Servers

Stats

Interest Score52
Security Score7
Cost ClassLow
Avg Tokens150
Stars92
Forks25
Last Update2025-12-03

Tags

SSHMCPAIRemote AccessSecurity