
MCP-Server-Docker
Docker的MCP服务器
3 years
Works with Finder
2
Github Watches
0
Github Forks
2
Github Stars
Docker MCP Server
The Docker MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Docker Desktop on Windows, enabling advanced automation and interaction capabilities for developers and tools.
Prerequisites
-
Install Docker Desktop for Windows from Docker's official download page.
-
In Docker Desktop, go to Settings > General and check the box for
"Expose daemon on tcp://localhost:2375 without TLS".
This is required for the MCP server to communicate with Docker Desktop.💡 Tip: You can verify that the port is exposed successfully by opening
http://localhost:2375/version
in your browser. If the setup is correct,
you should see a JSON response with Docker version information. If you're having trouble, check this discussion for a possible solution: WSL and Docker for Windows: Cannot connect to the Docker daemon
Installation
Usage with Claude Desktop
{
"mcpServers": {
"docker-mcp-stdio": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"freezeolo/docker-mcp-server"
]
}
}
}
Tools
✅ Completed 🛠️ In Progress ❌ Plan
Container Lifecycle Management ✅
- list_containers - Get the list of containers ✅
-
get_container_info - Get details of a specific container ✅
-
container_id
: Container ID (string, required)
-
-
start_container - Start a container ✅
-
container_id
: Container ID (string, required)
-
-
restart_container - Restart a container ✅
-
container_id
: Container ID (string, required)
-
-
stop_container - Stop a container ✅
-
container_id
: Container ID (string, required)
-
-
remove_container - Remove a container ✅
-
container_id
: Container ID (string, required)
-
-
create_container - Create a new container ✅
-
imageName
: Image name (string, required) -
containerName
: Container name (string, required) -
command
: Command to run (string, optional) -
env
: Environment variables (string[], optional) -
ports
: Port bindings (string[], optional) -
volumes
: Volume bindings (string[], optional) -
network
: Network name (string, optional) -
restartPolicy
: Restart policy (string, optional)
-
Network Management ✅
- list_networks - List all networks ✅
-
get_network_info - Get network information ✅
-
networkId
: Network ID (string, required)
-
-
create_network - Create a new network ✅
-
networkName
: Network name (string, required) -
driver
: Network driver (string, required) -
subnet
: Subnet CIDR (string, required) -
gateway
: Gateway IP (string, required)
-
-
connect_container_to_network - Connect container to network ✅
-
containerId
: Container ID (string, required) -
networkId
: Network ID (string, required)
-
-
disconnect_container_from_network - Disconnect container from network ✅
-
containerId
: Container ID (string, required) -
networkId
: Network ID (string, required)
-
-
remove_network - Remove a network ✅
-
networkId
: Network ID (string, required)
-
-
get_network_containers - Get containers in a network ✅
-
networkId
: Network ID (string, required)
-
Image Management ✅
- list_images - List all images ✅
-
pull_image - Pull an image from registry ✅
-
imageName
: Image name with tag (string, required)
-
-
push_image - Push an image to registry ✅
-
imageName
: Image name with tag (string, required)
-
-
remove_image - Remove an image ✅
-
imageId
: Image ID (string, required) -
force
: Force removal (boolean, optional)
-
-
tag_image - Tag an image with multiple tags ✅
-
imageId
: Image ID (string, required) -
repository
: Repository name (string, required) -
tags
: Array of tags (string[], required)
-
-
build_image - Build an image from Dockerfile ✅
-
dockerfilePath
: Path to Dockerfile (string, required) -
repository
: Repository name (string, required) -
tags
: Array of tags (string[], required)
-
-
get_image_details - Get image details ✅
-
imageId
: Image ID (string, required)
-
FAQ
Q: How do I install the project?
A: Follow the steps in the Installation section. Make sure you have the required dependencies.
License
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_GGS9rOtf
As a dedicated user of mcp-server-docker, I must say it has revolutionized my server management experience. This product by Freezeu is incredibly efficient, making deployment and scaling seamless. The user-friendly interface and comprehensive documentation are impressive, ensuring even beginners can get started quickly. Highly recommend this for anyone looking to enhance their server operations.

user_VIHnBIVm
As a dedicated user of mcp-server-docker, I am thoroughly impressed by its efficiency and reliability. Developed by Freezeu, this tool has significantly streamlined our server management, making deployment a breeze. Its user-friendly interface and robust performance have made it an indispensable part of our workflow. Highly recommend to anyone in need of a powerful server solution!

user_GxzGgJoY
I recently started using mcp-server-docker by Freezeu, and I am thoroughly impressed. This tool has significantly simplified my server management and deployment process. The seamless integration and user-friendly interface make it a must-have for any developer working with Docker. Highly recommended!

user_SaqdT5oj
As a dedicated user of mcp-server-docker, I am thoroughly impressed by its seamless integration and efficient performance. Freezeu has done an outstanding job crafting this resourceful tool. It's intuitive to set up and offers robust support for containerized environments. Highly recommend it for anyone looking to streamline their server management with Docker.

user_aFRlbWfo
As a loyal user of mcp-server-docker, I can confidently say this tool is a game-changer for my server management tasks. Created by Freezeu, it offers seamless integration and exceptional performance. Highly recommend it for anyone looking to streamline their server operations!

user_6E0q7qVV
I've been using mcp-server-docker by Freezeu for my projects and it has been a game changer! The setup was incredibly straightforward, and it integrates seamlessly with my existing Docker environment. The performance is top-notch and the stability is impressive. Highly recommended for anyone looking for a reliable server solution.

user_yGsu0y4F
I've been using mcp-server-docker by Freezeu and it's simply outstanding! The setup process was seamless with clear instructions, and it integrates perfectly with my existing Docker environment. It's incredibly efficient and stable, making server management a breeze. Highly recommend it to anyone looking to streamline their server operations!