MCP SSH Server
by MCP-Mirror
A powerful SSH server implementation for Model Context Protocol (MCP). It enables secure remote command execution and file operations through the SSH protocol, supporting both password and key-based authentication.
Last updated: N/A
What is MCP SSH Server?
This is an SSH server specifically designed for use with the Model Context Protocol (MCP). It provides a secure way to remotely execute commands and manage files on a server using the SSH protocol.
How to use MCP SSH Server?
First, install the package using npm. Then, configure your Claude desktop config file to include the MCP SSH server. Use PowerShell scripts to connect, execute commands, and perform file operations using either password or key-based authentication as shown in the README examples.
Key features of MCP SSH Server
Secure SSH connection management
Password and key-based authentication
Remote command execution
File operations (upload/download)
Progress tracking for file transfers
Permission management
Directory operations
Bulk file transfers
Detailed logging
Use cases of MCP SSH Server
Secure remote access to MCP servers
Automated file transfers between local and remote systems
Remote command execution for system administration
Secure data synchronization
Integration with Claude desktop environment
FAQ from MCP SSH Server
What is the default SSH port?
What is the default SSH port?
The default SSH port is 8889, but it can be configured using the SSH_PORT environment variable.
How do I enable key-based authentication?
How do I enable key-based authentication?
Provide the path to your private key and optional passphrase in the connection request.
How do I upload a file?
How do I upload a file?
Use the /upload endpoint with a POST request, providing the file and remote path in the form data.
How do I download a file?
How do I download a file?
Use the /download endpoint with a GET request, specifying the remote path as a query parameter.
How do I check the connection status?
How do I check the connection status?
Use the /status endpoint with a GET request, providing the connection ID.