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

A Model Context Protocol server that runs entirely inside a Docker container, providing secure command execution and file operations over HTTP with bearer token authentication.
Docker MCP Server is cataloged as an MCP server attributed to kenforthewin. A Model Context Protocol server that runs entirely inside a Docker container, providing secure command execution and file operations over HTTP with bearer token authentication. 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.
Long-running processes are automatically backgrounded and given a process ID so they can be monitored.
File operations work within /app/workspace, which is mounted from the host ./tmp directory.
All requests require a bearer token, which is auto-generated on each container start.
README.md · 618104c3787e · 采集于 2026-11-13 08:44:38 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that runs entirely inside a Docker container, providing secure command execution and file operations through HTTP with bearer token authentication.
The MCP server runs inside a Docker container and communicates with clients over HTTP:
MCP Client (via HTTP) ↔ Docker Container (Port 3000)
↓
MCP Server (Node.js)
↓
Workspace (/app/workspace)
↓
Host ./tmp directory (mounted)
@modelcontextprotocol/sdk with StreamableHTTPServerTransport./tmp directory mounted to /app/workspacegit clone <your-repository-url>
cd docker-mcp
# Quick start: reset environment and start server
./reset-docker.sh
# Or manually:
npm run docker:build # Build container with server code
npm run docker:up # Start container
npm run docker:logs # View logs and get auth token
The server logs display the authentication token and connection details:
npm run docker:logs
Look for output like:
============================================================
Docker MCP Server Starting
============================================================
Port: 3000
Auth Token: abc123-def456-ghi789
============================================================
# Test with curl
curl -H "Authorization: Bearer YOUR_TOKEN_HERE" \
http://localhost:3000
# View server logs
npm run docker:logs
# Build the container image with server code
npm run docker:build
# Start the containerized MCP server
npm run docker:up
# Stop the container
npm run docker:down
# View server logs (includes auth token)
npm run docker:logs
# Rebuild and restart (after code changes)
npm run docker:restart
# Open bash shell in container
npm run docker:shell
# Complete reset (clean workspace and rebuild)
./reset-docker.sh
# Build TypeScript (for development/testing only)
npm run build
# Install/update dependencies
npm install
MCP clients need to connect via HTTP with bearer token authentication:
{
"url": "http://localhost:3000",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_FROM_LOGS"
}
}
Important:
npm run docker:logsAuthorization header with Bearer prefixAdd to your Claude Desktop configuration file:
Location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.jsonConfiguration:
{
"mcpServers": {
"docker-mcp": {
"url": "http://localhost:3000",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_FROM_LOGS"
}
}
}
}
Note: Replace YOUR_TOKEN_FROM_LOGS with the actual token from npm run docker:logs
npm run docker:upnpm run docker:logsAfter configuration:
execute_commandExecute shell commands inside the container
Execute any shell command within the container environment with intelligent process tracking.
Parameters:
command (string) - The shell command to executerationale (string) - Explanation of why this command is being executedmaxWaitTime (number, optional) - Maximum seconds to wait before returning (default: 20)Features:
check_processMonitor background processes by ID
Check the status and output of background processes started by execute_command.
Parameters:
processId (string) - The process ID returned by a long-running commandrationale (string) - Explanation of why you need to check this processReturns:
send_inputSend input to running background processes
Send input data to interactive processes waiting for user input.
Parameters:
processId (string) - The process ID of the running processinput (string) - The input to send to the processrationale (string) - Explanation of why you need to send inputautoNewline (boolean, optional) - Auto-add newline (default: true)All file operations work within /app/workspace which is mounted from host ./tmp.
file_readRead files from container filesystem
Read file contents with support for large files through pagination.
Parameters:
filePath (string) - Path relative to /app/workspacerationale (string) - Explanation of why you need to read this fileoffset (number, optional) - Starting line number (default: 0)limit (number, optional) - Maximum lines to read (default: 2000)file_writeCreate or overwrite files
Write content to files with automatic directory creation.
Parameters:
filePath (string) - Path relative to /app/workspacecontent (string) - The content to writerationale (string) - Explanation of why you need to write this fileImportant: Use file_read first to understand current state.
file_editPerform exact string replacements
Edit files using precise string matching with backup protection.
Parameters:
filePath (string) - Path relative to /app/workspaceoldString (string) - The exact text to replacenewString (string) - The replacement textrationale (string) - Explanation of why you need to edit this filereplaceAll (boolean, optional) - Replace all occurrences (default: false)Important: Use file_read first to get the exact text to match.
file_lsList directory contents
List files and directories with intelligent filtering.
Parameters:
path (string, optional) - Directory path (default: current directory)rationale (string) - Explanation of why you need to list this directoryignore (array, optional) - Glob patterns to ignorefile_grepSearch file contents
Search for patterns in files using grep with regex support.
Parameters:
pattern (string) - Search pattern (supports regex)rationale (string) - Explanation of why you need to searchpath (string, optional) - Directory to search (default: current)include (string, optional) - File pattern filter (e.g., '*.js')caseInsensitive (boolean, optional) - Case insensitive (default: false)maxResults (number, optional) - Result limit (default: 100)Commands run with intelligent timeout handling:
// Long-running command gets backgrounded automatically
const result1 = execute_command({
command: "npm install",
rationale: "Installing dependencies"
});
// Returns process ID if backgrounded
// Check status later
const result2 = check_process({
processId: result1.processId,
rationale: "Checking installation progress"
});
// Send input to interactive processes
send_input({
processId: result1.processId,
input: "y",
rationale: "Confirming prompt"
});
./tmp directory accessible from host./tmp directory contents# Check Docker is running
docker info
# View container logs for errors
npm run docker:logs
# Verify port 3000 is available
lsof -i :3000 # macOS/Linux
netstat -ano | findstr :3000 # Windows
# Complete reset
npm run docker:down
./reset-docker.sh
# Verify container is running
docker ps | grep mcp-container
# Check server logs for auth token
npm run docker:logs
# Ensure correct URL
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000
# Restart container
npm run docker:restart
# Remember: server code is built into container image
# After changing TypeScript code, you MUST rebuild:
npm run docker:restart
# Or manually:
npm run docker:down
npm run docker:build
npm run docker:up
# Get current auth token from logs
npm run docker:logs
# Verify token format in client config
# Must be: "Bearer YOUR_TOKEN" (with "Bearer " prefix)
# Token changes on restart - update client config
# Ensure tmp directory exists and is writable
mkdir -p tmp
chmod 755 tmp
# Reset workspace
rm -rf tmp && mkdir tmp
maxWaitTime parameter in execute_commandcheck_process to monitor long-running operationsdocker stats mcp-containergit checkout -b feature/amazing-feature)src/npm run docker:restartgit commit -m 'Add amazing feature')git push origin feature/amazing-feature)# Production deployment
docker-compose up -d
# View production logs
docker-compose logs -f mcp-container
# Auto-restart on failure
# (already configured with restart: unless-stopped)
# docker-compose.yml
services:
mcp-container:
environment:
- NODE_ENV=production
- AUTH_TOKEN=your-custom-token # Optional: set custom token
ports:
- "3000:3000" # Change port mapping if needed
volumes:
- ./custom-workspace:/app/workspace
NODE_ENV: Set to production for production deployment--port 3000--token your-token (auto-generated if not set)This project is licensed under the MIT License - see the LICENSE file for details.
CLAUDE.md for AI assistant specific guidanceBuilt for the Model Context Protocol ecosystem 🤖
Features:
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-container-execution)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.