- Home
- MCP servers
- SSH Tools
SSH Tools
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"lightfate-ssh-tools-mcp": {
"command": "python",
"args": [
"ssh_server.py"
]
}
}
}You can use the SSH Tools MCP server to connect to remote SSH servers, run commands, and safely disconnect, all through simple MCP endpoints. This lets you manage remote machines directly from your MCP client without manual SSH sessions.
How to use
You interact with the server through three MCP tools: connect_ssh, run_command, and disconnect_ssh. Start by establishing an SSH session to the target host, then issue commands on that session, and finally terminate the connection when you’re done.
How to install
Prerequisites: Python is installed on your machine.
pip install -r requirements.txt
python ssh_server.py
Additional notes
Use these practices to ensure smooth operation: verify the target server allows SSH password authentication, and remember to disconnect after you finish to free the session. All command executions return either the output or an error message to help you troubleshoot.
Available tools
connect_ssh
Connect to an SSH server using hostname, username, password, and port with default username root and port 22 if not provided.
run_command
Execute a remote command on the currently connected SSH session, returning the command output or errors.
disconnect_ssh
Terminate the active SSH connection to the remote server.