mcp-ssh-toolkit-py
@VitalyMalakanov
mcp-ssh-toolkit-py is a powerful MCP server for secure SSH command execution via Model Context Protocol.
概览
What is mcp-ssh-toolkit-py?
mcp-ssh-toolkit-py is a minimal Model Context Protocol (MCP) server for secure SSH automation, built with python-sdk and paramiko. It executes commands on remote servers via SSH and uploads/downloads files via SFTP, intended for DevOps automation, server management, and SSH integration in the MCP ecosystem.
How to use mcp-ssh-toolkit-py?
Install via Docker (build image and run) or pip (pip install git+https://github.com/VitalyMalakanov/mcp-ssh-toolkit-py.git and run python -m mcp_ssh_toolkit). Add to your MCP client configuration (e.g., cline_mcp_settings.json) as a Docker command. Use the tool ssh_execute_command with parameters: host, username, password or privateKey, command, port (default 22), timeout (default 20). Authentication supports password, SSH keys (RSA), and SSH agent.
Key features of mcp-ssh-toolkit-py
- Secure SSH command execution via MCP
- SFTP file upload and download
- Multiple authentication methods (password, SSH keys, SSH agent)
- Full compatibility with Claude/Cline
- Ready-to-use Docker image and pip package
- Configurable connection parameters (timeouts, ports)
Use cases of mcp-ssh-toolkit-py
- DevOps automation via LLMs
- Server management through chat interface
- Secure remote script execution
- SSH integration in MCP ecosystem
FAQ from mcp-ssh-toolkit-py
How do I install mcp-ssh-toolkit-py?
Install via Docker (build and run the image) or pip (pip install git+https://github.com/VitalyMalakanov/mcp-ssh-toolkit-py.git and run python -m mcp_ssh_toolkit).
How do I integrate mcp-ssh-toolkit-py with an MCP client?
Add it to your MCP configuration file (e.g., cline_mcp_settings.json) using the command "docker" with args ["run", "--rm", "-i", "mcp-ssh-toolkit-py"].
What authentication methods does mcp-ssh-toolkit-py support?
It supports username/password, SSH private keys (RSA), and SSH agent authentication.
What are the runtime dependencies for mcp-ssh-toolkit-py?
Python 3.8+, the python-sdk, and paramiko.
Are SSH credentials stored or logged by mcp-ssh-toolkit-py?
No, SSH credentials are never stored or logged. Always use strong passwords or SSH keys.