MCP.so
ログイン

MCP SSH Docker Server

@aweher

基本情報

カテゴリ

開発者ツール

ライセンス

GPL-3.0 license

トランスポート

stdio

作者

aweher

MCP SSH Docker Server について

MCP server to play with IA and containerlab instances

#docker#ssh#mcp#containerlab#llm

MCP SSH Docker Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-ssh-frr": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

MCP SSH Docker Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP SSH Docker Server?

MCP SSH Docker Server is a Message Control Protocol (MCP) server that enables SSH and Docker command execution on remote systems and containers. It provides a standardized interface for operators and developers to run commands, stream output, and handle long-running tasks.

How to use MCP SSH Docker Server?

Install via pip install mcp-ssh-frr or from source, then configure SSH environment variables (SSH_HOST, SSH_USER, SSH_PORT) and place your private key in ./config/id_rsa. Start the server with python mcp_ssh_docker_server.py and use the ssh_exec and ssh_exec_docker tools with the required arguments.

Key features of MCP SSH Docker Server?

  • SSH command execution on remote systems
  • Docker container command execution
  • Real-time output streaming with progress updates
  • Structured JSON output support
  • Command cancellation and configurable timeouts

Use cases of MCP SSH Docker Server?

  • Execute shell commands on a remote server via MCP
  • Run commands inside a specific Docker container
  • Automate network device configuration (e.g., vtysh)
  • Monitor long-running commands with streaming and progress
  • Integrate with MCP-based AI agents for remote operations

よくある質問

1

What authentication method does MCP SSH Docker Server use?

It uses SSH key‑based authentication; place your private key in `./config/id_rsa` and add the public key to the remote host’s `authorized_keys`.

2

What are the default timeout values?

SSH connection timeout is 10 seconds, command execution timeout is 30 seconds, and stream maximum time is 300 seconds (5 minutes).

3

Can I get output in JSON format?

Yes, set the `structured_output` argument to `true` in either `ssh_exec` or `ssh_exec_docker` to receive a JSON response with exit code, stdout, stderr, duration, and metadata.

4

How do I list available Docker containers?

Call `ssh_exec_docker` with the argument `"list_containers": true`; it will return a list of containers on the remote host.

5

What are the runtime requirements for MCP SSH Docker Server?

Python 3.7+, SSH access to the target system, and Docker installed on the target system if you intend to use Docker commands.

コメント

「開発者ツール」の他のコンテンツ