docker-mcp

docker-mcp

3.2

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

This is a Model Context Protocol (MCP) server that provides tools and resources for interacting with Docker containers and images.

The Docker MCP Server is designed to facilitate interaction with Docker containers and images using the Model Context Protocol. It leverages the stream HTTP transport method for communication and utilizes the Python Docker SDK (docker-py) for performing Docker operations. The server supports various functionalities such as listing Docker containers and images, running, stopping, and removing containers, viewing container logs, pulling Docker images, and inspecting container details. It also provides access to Docker information as resources, making it a comprehensive tool for managing Docker environments.

Features

  • List Docker containers and images
  • Run, stop, and remove containers
  • View container logs
  • Pull Docker images
  • Inspect container details

Tools

  1. docker_ps

    List running containers

  2. docker_images

    List available Docker images

  3. docker_inspect

    Get detailed information about a container

  4. docker_run

    Run a Docker container

  5. docker_stop

    Stop a running container

  6. docker_rm

    Remove a container

  7. docker_logs

    Fetch container logs

  8. docker_pull

    Pull a Docker image