ssh-mcp-server
Verified Safeby 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
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
wcgw
Empowering chat applications to code, build, and run on your local machine by providing tightly integrated shell and code editing tools.
mcp-ssh-manager
Manages remote SSH servers via the Model Context Protocol (MCP), enabling AI assistants like Claude Code and OpenAI Codex to execute commands, transfer files, monitor health, and automate DevOps tasks.
dev-kit-mcp-server
A Model Context Protocol (MCP) server targeted for agent development tools, providing scoped authorized operations in the root project directory.
docker-mcp-server
A Model Context Protocol (MCP) server for containerized execution and file operations, enabling AI assistants to interact with a Docker environment via HTTP.