a year ago
MCP server exposing SSH and SFTP control for Linux and Windows systems via Model Context Protocol.
Overview
what is SFTP-SSH MCP?
SFTP-SSH MCP is a local Model Context Protocol (MCP) server that provides SSH and SFTP control for Linux and Windows systems, allowing LLMs and other MCP clients to execute shell commands securely via SSH.
how to use SFTP-SSH MCP?
To use SFTP-SSH MCP, configure your client (like Claude Desktop) with the server's hostname, port, SSH username, and either a password or a private key for authentication. You can start the server using the command: npx sftp-ssh-mcp -y -- --host=1.2.3.4 --port=22 --user=root --password=pass --key=path/to/key.
key features of SFTP-SSH MCP?
- Secure execution of shell commands via SSH
- Support for both Linux and Windows systems
- Easy configuration for various clients
use cases of SFTP-SSH MCP?
- Remote management of Linux and Windows servers.
- Secure file transfers using SFTP.
- Integration with LLMs for executing commands remotely.
FAQ from SFTP-SSH MCP?
- Can I use SFTP-SSH MCP on both Linux and Windows?
Yes! SFTP-SSH MCP is designed to work on both operating systems.
- How do I authenticate with the server?
You can authenticate using either a password or a private SSH key.
- Is SFTP-SSH MCP secure?
Yes! It uses SSH for secure communication.
Server Config
{
"mcpServers": {
"sftp-ssh-mcp": {
"command": "npx",
"args": [
"sftp-ssh-mcp",
"-y",
"--",
"--host=1.2.3.4",
"--port=22",
"--user=root",
"--password=pass",
"--key=path/to/key"
]
}
}
}