Docker MCP Server
Enables control of Docker environments through natural language, providing tools to create multiple containers, list active containers, and delete specific containers by name.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Docker MCP Servercreate 3 nginx containers starting on port 8080"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Docker MCP Server
Servidor MCP para controlar Docker con lenguaje natural usando Cline y modelos gratuitos. Esta demostración trata de simular la automatización de la orquestación de contenedores en Docker.
Instalación
npm installRelated MCP server: Docker MCP Server
Configuración
1. Instalar Cline en VS Code
Abre VS Code
Ve a Extensiones (Ctrl+Shift+X)
Busca "Cline" e instálalo
2. Configurar modelo gratuito
Crea/edita %USERPROFILE%\.continue\config.json:
{
"models": [
{
"title": "Kat Coder Pro",
"provider": "openai",
"model": "kat-coder-pro",
"apiBase": "https://api.kat.ai/v1"
}
],
"mcpServers": {
"docker": {
"command": "node",
"args": ["C:\\Users\\Rodri\\OneDrive\\Desktop\\Docker-MCP\\app\\index.js"]
}
}
}3. Configurar Cline MCP
En VS Code, abre Cline → Settings → MCP Servers y pega:
{
"mcpServers": {
"docker": {
"command": "node",
"args": ["C:\\Users\\Rodri\\OneDrive\\Desktop\\Docker-MCP\\app\\index.js"]
}
}
}Uso
Abre Cline en VS Code
Escribe comandos en lenguaje natural
Herramientas disponibles
create_containers: Crea múltiples contenedores Docker
list_containers: Lista todos los contenedores activos
delete_container: Elimina un contenedor por nombre
Ejemplos de prompts
"Crea 3 contenedores de nginx en el puerto 8080"
"Lista todos los contenedores"
"Elimina el contenedor ai_container_0"
"Crea 2 contenedores de redis en el puerto 6379"
Casos de uso y manejo de errores
✅ Casos exitosos
Prompt completo: "Crea 2 contenedores de nginx en puerto 8080"
Imagen con versión: "Crea 1 contenedor de postgres:15 en puerto 5432"
Eliminar contenedor: "Elimina el contenedor ai_container_1"
❌ Casos de error comunes
Parámetros faltantes
Prompt: "Crea contenedores de nginx"
Error: El modelo debe solicitar puerto y cantidad
Solución: Especificar todos los parámetros requeridos
Puerto ocupado
Problema: Crear contenedores en puerto ya usado
Comportamiento: Los puertos se incrementan automáticamente (8080, 8081, 8082...)
Ejemplo: Si pides 3 contenedores en puerto 8080, se crean en 8080, 8081, 8082
Imagen inexistente
Prompt: "Crea contenedor de imagen_falsa en puerto 3000"
Error: Docker no puede descargar la imagen
Mensaje: "❌ Error: [mensaje de Docker]"
Contenedor inexistente para eliminar
Prompt: "Elimina el contenedor que_no_existe"
Error: Docker no encuentra el contenedor
Mensaje: "❌ Error: No such container: que_no_existe"
Docker no ejecutándose
Problema: Docker Desktop cerrado
Error: "Cannot connect to the Docker daemon"
Solución: Iniciar Docker Desktop
Validaciones automáticas
Parámetros requeridos: image, count, port son obligatorios para crear contenedores
Tipos de datos: count debe ser número, port debe ser número
Nombres únicos: Los contenedores se nombran ai_container_0, ai_container_1, etc.
Puertos incrementales: Evita conflictos de puertos automáticamente
Requisitos
Node.js instalado
Docker Desktop ejecutándose
VS Code con extensión Cline
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceAn MCP server that allows managing Docker containers through natural language, enabling users to compose, introspect, and debug containers without running commands themselves.Last updated731GPL 3.0
- Alicense-qualityCmaintenanceUniversal Docker MCP server for AI assistants (Cursor, Claude Desktop). Manage Docker containers, execute commands, query databases, and handle environment configurations — all through natural language.Last updated200MIT
- Alicense-qualityCmaintenanceA Dockerized MCP server that enables Discord integration, offering tools for role management, messaging, moderation, and server administration via natural language.Last updated1MIT
- Flicense-qualityCmaintenanceAn MCP server that gives any LLM client the ability to list, inspect, start, stop, and monitor Docker containers on the host machine.Last updated1
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RodrigoUC/Docker-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server