MCP SSH Docker Server
by aweher
A Message Control Protocol (MCP) server that provides SSH and Docker command execution capabilities. This server allows you to execute commands on remote systems and Docker containers through a standardized interface.
Last updated: N/A
What is MCP SSH Docker Server?
This is an MCP server that enables the execution of SSH and Docker commands on remote systems and containers. It provides a standardized interface for interacting with remote environments.
How to use MCP SSH Docker Server?
First, install the server using pip or from source, configuring SSH access. Then, start the server and use the available tools, ssh_exec
for SSH commands and ssh_exec_docker
for Docker commands, sending JSON payloads to execute commands and retrieve results in text or JSON format.
Key features of MCP SSH Docker Server
SSH command execution
Docker container command execution
Real-time command output streaming
Structured JSON output support
Command cancellation support
Connection and command timeouts
Comprehensive error handling
Use cases of MCP SSH Docker Server
Automated remote system administration
Docker container management
Remote debugging
Orchestration of tasks across multiple servers
FAQ from MCP SSH Docker Server
What is the default SSH user?
What is the default SSH user?
The default SSH user is root.
What is the default SSH port?
What is the default SSH port?
The default SSH port is 22.
How do I execute a command on a remote system?
How do I execute a command on a remote system?
Use the ssh_exec
tool with the command and arguments you want to execute.
How do I execute a command inside a Docker container?
How do I execute a command inside a Docker container?
Use the ssh_exec_docker
tool, specifying the container name, command, and arguments.
What output formats are supported?
What output formats are supported?
The server supports text output and structured JSON output.