docker-mcp-server

hsnacar/docker-mcp-server

3.1

If you are the rightful owner of docker-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A lightweight Go-based MCP server for managing Docker through natural language prompts.

Docker MCP Server 🐳

A lightweight Go-based MCP (Model Context Protocol) server that allows you to interact with Docker entirely through natural language prompts.
You can manage your Docker environment — list containers, inspect images, and more — all via a simple prompt interface instead of CLI commands.


🚀 Features

Current capabilities (continuously expanding):

  • 🧩 List Containers – Retrieve and display all running and stopped Docker containers with detailed metadata.
  • 🗂 List Images – Fetch available Docker images, including repository, tag, and size information.

Planned capabilities include:

  • 📦 Create, start, stop, and remove containers
  • 🧱 Build and remove images
  • ⚙️ Manage networks and volumes
  • 🧠 AI-assisted command generation and validation
  • 🌐 Remote Docker host management through MCP protocol

🛠 System Requirements

To run this project, make sure your system meets the following requirements:

  • Go ≥ 1.22
  • Docker ≥ 24.x
  • Docker Engine running locally (the MCP server interacts with the local Docker daemon)
  • Internet connection (for pulling images or remote model communication if enabled)