SSH MCP Server provides secure remote access and command execution capabilities through the Model Context Protocol. It allows AI assistants to execute SSH commands on remote servers using stored credentials, with a SQLite database for persistent credential management. The implementation includes tools for executing commands, adding/removing credentials, and listing available connections - making it particularly valuable for system administration tasks and remote server management without leaving the conversation interface.
No reviews yet. Be the first to review!
Sign in to join the conversation
Save named SSH credentials. Parameters: name (string), host (string), username (string), privateKeyPath (string), hostKeyFingerprint (optional string)
List stored credential records.
Delete a stored credential. Parameters: name (string)
Run a shell command using the specified credentials. Parameters: credentialName (string), command (string), timeout (optional number)
Run an argv-style command array. Parameters: credentialName (string), command (array of strings)
Copy one file over SFTP. Parameters: credentialName (string), localPath (string), remotePath (string), direction (string)
Copy directories or larger trees with rsync. Parameters: credentialName (string), localPath (string), remotePath (string), direction (string)
Start an interactive SSH session.
Send data to an active SSH session.
Read data from an active SSH session.
End an active SSH session.
List active SSH sessions.
Start a local or remote port-forwarding tunnel.
List active port-forwarding tunnels.
Stop an active port-forwarding tunnel.