SSH MCP Server
A Machine Control Protocol (MCP) server that provides tools for LLMs to safely SSH into remote dev/test machines.
Features
- SSH connection management to remote machines
- Run query scripts for retrieving information
- Cautiously run modifying scripts for debugging purposes
- Secure credential management using SSH key authentication
Tools
run_query_script
Executes read-only shell scripts on remote machines to gather information without modifying the system.
Example:
result = await run_query_script(
hostname="192.168.1.100",
script="cat /var/log/syslog | grep ERROR",
username="admin" # Optional, defaults to root
)
run_dangerous_script
Executes scripts that might modify the remote system. Includes safety confirmations and warnings.
Example:
result = await run_dangerous_script(
hostname="192.168.1.100",
script="service nginx restart",
username="admin", # Optional, defaults to root
confirmation="I understand this is dangerous" # Required safety confirmation
)
Installation
pip install ssh-mcp
Usage
# Start the MCP server
ssh-mcp
Requirements
- SSH key-based authentication must be set up for target machines
- Paramiko Python library (installed automatically)
- Python 3.12 or higher
Configuration
Coming soon
License
MIT
Metadata
Release files for ssh-mcp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ssh_mcp-0.1.4.tar.gz | 3.8 kB | Without provenance | Details for ssh_mcp-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ssh_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for ssh_mcp-0.1.4-py3-none-any.whl |
Total release size: 8.6 kB
Release files / ssh_mcp-0.1.4.tar.gz
| Download URL | ssh_mcp-0.1.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f9a5230ac3fab110ce741bcb58f7db4410e9b9d6d8c76e17b0cf0de5b10fd57
|
|
BLAKE2b-256 checksum How to use checksums |
e16630e0fd8c4d25622c24d3d41a22c035c821eec625f1f4ec12af367784033a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / ssh_mcp-0.1.4-py3-none-any.whl
| Download URL | ssh_mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8269deb79981dd417f2bf85f23d37354033a7d05d086dd701f5195e66b391fa
|
|
BLAKE2b-256 checksum How to use checksums |
e97482a3dff08d47dfec7018ef807749522b7006aee82d0ae5602f1e5bd2bc03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for ssh-mcp 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.