
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that runs code in isolated Docker containers, manages containers and dependencies, and returns execution results to language models.
Docker MCP Server is cataloged as an MCP server attributed to zaycruz. An MCP server that runs code in isolated Docker containers, manages containers and dependencies, and returns execution results to language models. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Docker MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses pip for Python, npm for Node.js, apt-get for Debian/Ubuntu, and apk for Alpine, and attempts to detect package managers when unclear.
Yes, it can execute complete multi-line Python scripts and pass optional arguments to them.
README.md · bf601144bdef · 采集于 2026-11-13 10:32:19 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A powerful Model Context Protocol (MCP) server that executes code in isolated Docker containers and returns the results to language models like Claude.
Clone this repository:
git clone https://github.com/zaycruz/docker_mcp.git
cd docker_mcp
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install required packages:
pip install -r requirements.txt
To test and explore the server's functionality:
python run_server.py
The MCP Inspector interface will open in your browser at http://localhost:5173.
The Docker MCP server provides the following tools:
Lists all Docker containers and their details:
show_all: (Optional) Whether to show all containers including stopped ones (default: True)Creates and starts a Docker container with optional dependencies:
image: The Docker image to use (e.g., "python:3.9-slim", "node:16")container_name: A unique name for the containerdependencies: (Optional) Space-separated list of packages to install (e.g., "numpy pandas", "express lodash")Installs additional packages in an existing Docker container:
container_name: The name of the target containerdependencies: Space-separated list of packages to installExecutes a command inside a running Docker container:
container_name: The name of the target containercommand: The command to execute inside the containerExecutes a multi-line Python script inside a running Docker container:
container_name: The name of the target containerscript_content: The full Python script contentscript_args: Optional arguments to pass to the scriptStops and removes a Docker container:
container_name: The name of the container to clean up# 1. List existing containers to see what's already running
list_containers()
# 2. Create a new container
create_container(
image="python:3.9-slim",
container_name="python-example",
dependencies="numpy pandas"
)
# 3. Execute a command in the container
execute_code(
container_name="python-example",
command="python -c 'import numpy as np; print(\"NumPy version:\", np.__version__)'"
)
# 4. Add more dependencies later
add_dependencies(
container_name="python-example",
dependencies="matplotlib scikit-learn"
)
# 5. List containers again to confirm status
list_containers(show_all=False) # Only show running containers
# 6. Clean up when done
cleanup_container(container_name="python-example")
# 1. Create a container with dependencies
create_container(
image="python:3.9-slim",
container_name="python-test",
dependencies="numpy pandas matplotlib"
)
# 2. Execute a Python script
script = """
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# Create some data
data = pd.DataFrame({
'x': np.random.randn(100),
'y': np.random.randn(100)
})
print(f"Data shape: {data.shape}")
print(f"Data correlation: {data.corr().iloc[0,1]:.4f}")
"""
execute_python_script(container_name="python-test", script_content=script)
# 3. Add additional dependencies later if needed
add_dependencies(container_name="python-test", dependencies="scikit-learn")
# 4. Verify container is running
list_containers(show_all=False)
# 5. Clean up when done
cleanup_container(container_name="python-test")
# 1. Check for existing Node.js containers
list_containers()
# 2. Create a Node.js container
create_container(
image="node:16",
container_name="node-test",
dependencies="express axios"
)
# 3. Execute a Node.js script
execute_code(
container_name="node-test",
command="node -e \"console.log('Node.js version: ' + process.version); console.log('Express installed: ' + require.resolve('express'));\""
)
# 4. Add more dependencies
add_dependencies(container_name="node-test", dependencies="lodash moment")
# 5. Clean up when done
cleanup_container(container_name="node-test")
The Docker MCP server automatically detects and uses the appropriate package manager:
pipnpmapt-getapkFor containers where the package manager isn't obvious from the image name, the server attempts to detect available package managers.
This MCP server can be integrated with Claude and other LLMs that support the Model Context Protocol. Use the fastmcp install command to register it with Claude:
fastmcp install src/docker_mcp.py
docker --version.This server executes code in Docker containers, which provides isolation from the host system. However, exercise caution:
Contributions are welcome! Please feel free to submit a Pull Request.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Docker MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/docker_mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.