{"type":"mcp_server","name":"mcp-server-docker","description":"This repository provides an MCP server that uses natural language to manage Docker containers. It allows users to compose, introspect, debug, and manage persistent data with Docker volumes.","category":"System Tools","language":"Python","stars":725,"forks":24,"owner":"ckreiling","github_url":"https://github.com/ckreiling/mcp-server-docker","homepage":null,"setup":"## Setup\n\n**Claude Desktop Configuration:**\n\n*   On MacOS: `~/Library/Application\\ Support/Claude/claude_desktop_config.json`\n*   On Windows: `%APPDATA%/Claude/claude_desktop_config.json`\n\n**Install with `uv`:**\n\n1.  Run: `uv pip install git+https://github.com/ckreiling/mcp-server-docker`\n2.  Add the following to your MCP servers file:\n\n```\n\"mcpServers\": {\n  \"mcp-server-docker\": {\n    \"command\": \"uv\",\n    \"args\": [\n      \"--directory\",\n      \"/path/to/repo\",\n      \"run\",\n      \"mcp-server-docker\"\n    ]\n  }\n}\n```\n\n**Install with Docker:**\n\n1.  Clone the repository.\n2.  Build the Docker image: `docker build -t mcp-server-docker .`\n3.  Add the following to your MCP servers file:\n\n```\n\"mcpServers\": {\n  \"mcp-server-docker\": {\n    \"command\": \"docker\",\n    \"args\": [\n      \"run\",\n      \"-i\",\n      \"--rm\",\n      \"-v\",\n      \"/var/run/docker.sock:/var/run/docker.sock\",\n      \"mcp-server-docker:latest\"\n    ]\n  }\n}\n```","tools":"## Available Tools\n\n1.  Compose containers with natural language (Compose containers with natural language).\n2.  Introspect & debug running containers (Introspect & debug running containers).\n3.  Manage persistent data with Docker volumes (Manage persistent data with Docker volumes).\n4.  `docker_compose` prompt (Use natural language to compose containers).\n5.  Stats resource (CPU, memory, etc. for a container).\n6.  Logs resource (Tail some logs from a container).\n7.  `list_containers` (List containers).\n8.  `create_container` (Create a container).\n9.  `run_container` (Run a container).\n10. `recreate_container` (Recreate a container).\n11. `start_container` (Start a container).\n12. `fetch_container_logs` (Fetch container logs).\n13. `stop_container` (Stop a container).\n14. `remove_container` (Remove a container).\n15. `list_images` (List images).\n16. `pull_image` (Pull an image).\n17. `push_image` (Push an image).\n18. `build_image` (Build an image).\n19. `remove_image` (Remove an image).\n20. `list_networks` (List networks).\n21. `create_network` (Create a network).\n22. `remove_network` (Remove a network).\n23. `list_volumes` (List volumes).\n24. `create_volume` (Create a volume).\n25. `remove_volume` (Remove a volume).","faq":null,"created_at":"2024-12-07T02:52:14+00:00","updated_at":"2025-03-28T23:59:04+00:00","source_url":"https://model-context-protocol.com/servers/docker-container-management-natural-language-server","related_articles":[]}