Docker icon

Docker

Enables secure execution of Docker commands on a host system for clients operating in isolated environments, such as language models within containers.

About

This Python-based server acts as an intermediary, allowing clients (like AI models or applications running in isolated containers) to securely interact with the host's Docker daemon. It implements strict security validation, permitting only explicit `docker` and `docker-compose` commands. Built with `asyncio`, it offers non-blocking command execution and supports various MCP transports, providing a rich toolset for common Docker operations while ensuring robust error handling for failed commands.

Key Features

  • Support for multiple MCP transports (stdio, sse, streamable-http)
  • Asynchronous I/O for non-blocking operations
  • Rich toolset for common Docker operations (list containers, images, system info)
  • Detailed error handling with stdout, stderr, and exit codes
  • 0 GitHub stars
  • Secure Docker Command Execution (docker & docker-compose)

Use Cases

  • Automating Docker deployments and operations via a controlled, protocol-based interface
  • Providing a secure interface for containerized applications to interact with the host's Docker daemon
  • Allowing language models or AI agents to manage Docker containers from an isolated environment
Advertisement

Advertisement