Basic information
About π Docker MCP server
MCP server for Docker
π Docker MCP server is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by ckreiling. Supported transport: stdio. Runtime: python. License: GPL-3.0. The repository has 726 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-server-docker": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-server-docker",
"."
]
}
}
}
{
"mcpServers": {
"mcp-server-docker": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-server-docker",
"."
]
}
}
}
{
"servers": {
"mcp-server-docker": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-server-docker",
"."
]
}
}
}
π Docker MCP server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-docker": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-server-docker",
"."
]
}
}
}
π Docker MCP server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is π Docker MCP server?
It is an MCP server that enables managing Docker containers, images, networks, and volumes using natural language. It integrates with Docker via the Python Docker SDK and is designed for server administrators, tinkerers, and AI enthusiasts.
How to use π Docker MCP server?
Install by adding the server to your Claude Desktop MCP configuration using either uvx mcp-server-docker or a Docker container that mounts the Docker socket. Then invoke tools and prompts through natural language interactions with the LLM.
Key features of π Docker MCP server
- Compose containers with natural language prompts
- Introspect and debug running containers
- Manage persistent data with Docker volumes
- List, create, and remove containers, images, networks, and volumes
- Fetch container logs and resource statistics
- Connect to remote Docker engines over SSH
Use cases of π Docker MCP server
- Deploy a WordPress site with a MySQL backend using natural language
- Manage and inspect containers on a remote Docker host
- Experiment with open-source Docker apps locally via LLM commands
Frequently asked questions
1 What sensitive data precautions should I take?
Do not configure containers with sensitive data like API keys or passwords, as information exchanged with the LLM is inherently compromised unless the LLM runs locally.
2 How do I connect to a remote Docker engine?
Set a ssh:// host URL in the DOCKER_HOST environment variable within the MCP server definition.
3 What Docker options are unsupported?
The server intentionally blocks sensitive Docker options such as --privileged and --cap-add/--cap-drop for safety.
4 What resources does the server provide?
For each container, the server offers CPU/memory stats and a tail of logs as resources.
5 How do I install the server via PyPI?
Use uvx mcp-server-docker in your MCP servers configuration after installing uv. Alternatively, build and run the Docker image with the Docker socket mounted.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In