
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@0xshariq/docker-mcp-server
Advanced tools
A comprehensive Model Context Protocol (MCP) server that provides Docker container and image management capabilities for AI assistants and automation tools. Includes 15 Docker operations + workflow combinations with complete CLI alias system, enhanced log
A comprehensive Model Context Protocol (MCP) server that provides advanced Docker operations through a unified interface. This server combines 16 powerful Docker MCP tools with 25+ convenient CLI aliases to create a complete Docker workflow solution for developers, DevOps engineers, and system administrators.
Docker MCP Server is not just another Docker wrapper - it's a complete Docker workflow enhancement system designed to make Docker operations more intuitive, secure, and efficient:
--help
Install Docker MCP Server globally to use it anywhere on your system:
# Install with npm
npm install -g @0xshariq/docker-mcp-server
# Or install with pnpm (faster)
pnpm add -g @0xshariq/docker-mcp-server
# Verify installation works
docker-mcp-server --version
dlist # List all available commands
That's it! All 25 CLI aliases are now available system-wide.
If you want to contribute or customize the server:
# Clone and setup
git clone https://github.com/0xshariq/docker-mcp-server.git
cd docker-mcp-server
npm install
npm run build
# Test locally
npm link # Makes commands available globally
dlist # Verify it works
Before installing, make sure you have:
Check if you have them:
node --version # Should show v18 or higher
docker --version # Should show Docker version
Once installed, try these commands to see Docker MCP Server in action:
# See all available commands
dlist
# Basic Docker operations
dps # List running containers
dimages # List Docker images
drun -it ubuntu bash # Run interactive Ubuntu container
# Advanced operations
dcompose up -d # Start Docker Compose services
dlogin # Login to Docker registries
dpublish myapp:v1.0 # Publish image to registry
Learn More:
Simple, everyday Docker operations that just work:
Powerful tools for complex Docker workflows:
Find your Claude config file:
~/.config/claude-desktop/claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add this to your config:
{
"mcpServers": {
"docker": {
"command": "node",
"args": ["/path/to/docker-mcp-server/dist/index.js"]
}
}
}
Restart Claude Desktop and you'll see Docker tools available!
Use our startup script for automatic setup with any MCP client:
./start-mcp.sh # Automatic environment setup
./start-mcp.sh --help # See all options
Compatible with: Claude Desktop, Cursor IDE, Continue (VS Code), Open WebUI, and more!
docker-mcp-server/
├── src/ # TypeScript source code
├── bin/ # CLI alias scripts
│ ├── basic/ # 8 basic Docker operations
│ └── advanced/ # 14 advanced Docker operations
├── help/ # Documentation for all commands
├── start-mcp.sh # Universal MCP server startup script
├── docker-cli.js # Main CLI wrapper
└── dist/ # Compiled JavaScript output
📚 Complete Documentation:
Essential Docker operations for daily use:
dimages
, dps
, dpsa
, dpull
, drun
, dlogs
, dexec
, dbuild
Powerful tools for complex workflows:
dcompose
, dup
, ddown
, dnetwork
, dvolume
, dinspect
, dprune
dlogin
, dlogout
, dpublish
, dbridge
, ddev
, dclean
, dstop
, dreset
docker-mcp-server
, dms
, dlist
📖 See detailed documentation: Use dlist
command or check the README files linked above.
# Setup development environment
git clone https://github.com/0xshariq/docker-mcp-server.git
cd docker-mcp-server
npm install
# Development commands
npm run dev # Build and watch for changes
npm run build # Build TypeScript
npm run start # Start MCP server
npm run clean # Clean build files
# After installation, test these commands
dlist # Should show all 25 commands
dps # Should list containers
dimages # Should list images
./start-mcp.sh # Should start without errors
# Make sure npm global bin is in your PATH
echo $PATH | grep $(npm config get prefix)
# If not found, add this to ~/.bashrc or ~/.zshrc:
export PATH="$(npm config get prefix)/bin:$PATH"
# Check Docker status
docker info
# Start Docker (Linux)
sudo systemctl start docker
# Start Docker Desktop (macOS/Windows)
# Launch the Docker Desktop app
# Add yourself to docker group (Linux)
sudo usermod -aG docker $USER
# Then logout and login again
📋 More Help:
dlist --help
for all commandsISC License
Sharique Chaudhary (@0xshariq)
Contributions welcome! Please:
✨ Docker MCP Server - Making Docker workflows simple and powerful for everyone!
FAQs
A comprehensive Model Context Protocol (MCP) server that provides Docker container and image management capabilities for AI assistants and automation tools. Includes 15 Docker operations + workflow combinations with complete CLI alias system, enhanced log
The npm package @0xshariq/docker-mcp-server receives a total of 30 weekly downloads. As such, @0xshariq/docker-mcp-server popularity was classified as not popular.
We found that @0xshariq/docker-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.