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 SSH credentials with the parameters: name (string), host (string), username (string), privateKeyPath (string).
List all stored credential records.
Delete SSH credentials by providing the parameter: name (string).
Run a shell command using the specified credential with parameters: credentialName (string), command (string), timeout (number).
Run an argv-style command array for a specified credential with parameters: credentialName (string), command (array of strings).
Copy one file over SFTP using the specified credential with parameters: credentialName (string), localPath (string), remotePath (string), direction (string).
Copy directories or larger trees with rsync using the specified credential.
Manage the start of an interactive SSH session.
Send data to an active SSH session.
Read data from an active SSH session.
End an active SSH session.
List all active SSH sessions.
Manage the start of a local or remote port-forwarding tunnel.
List all active port-forwarding tunnels.
Stop an active port-forwarding tunnel.