- Home
- MCP servers
- Docker
Docker
- javascript
4
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"suvarchal-docker-mcp": {
"command": "docker-mcp-server",
"args": []
}
}
}You can operate Docker via an MCP server that translates your commands into Docker CLI actions. This lets you list containers and images, run or stop containers, remove them, and pull images using a consistent MCP interface from supported clients.
How to use
After you configure a client to talk to the Docker MCP Server, you can perform common Docker operations through natural prompts. For example, ask the client to list all containers, run a new container from an image, pull an image from a registry, or stop and remove containers. The MCP server exposes a small set of actions that map directly to Docker commands, so you can accomplish typical container workflows without typing Docker CLI commands yourself.
How to install
Prerequisites you must have before installing the MCP server:
- Node.js 18 or higher
- Docker installed and running on your system
Available tools
list_containers
List all Docker containers. Optional parameter shows all containers when set to true.
list_images
List all Docker images available in the local Docker registry.
run_container
Run a Docker container from a specified image. You can configure optional settings like name, detach mode, port mappings, volumes, environment variables, and a command to run inside the container.
stop_container
Stop a running Docker container by ID or name.
remove_container
Remove a Docker container, with an option to force removal of a running container.
pull_image
Pull a Docker image from a registry using its name and tag.