Docker & Kubernetes MCP Server
Provides tools for managing Docker containers, images, volumes, and networks.
Provides tools for managing Kubernetes resources such as pods, deployments, services, and namespaces.
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 & Kubernetes MCP Serverlist all running Docker containers"
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 & Kubernetes MCP Server
A Model Context Protocol (MCP) server that provides powerful Docker and Kubernetes integration for AI assistants.
Features
🐳 Docker Operations: Container management, image building, volume/network management
☸️ Kubernetes Operations: Pod/Deployment/Service management, namespace operations
🔧 MCP Integration: Seamless AI assistant integration with structured tool calls
Related MCP server: Kubernetes MCP Server
Quick Start
git clone https://github.com/TrivCodez/docker-kubernetes-mcp.git
cd docker-kubernetes-mcp
npm install
npm run devUsage
Claude Desktop Config
{
"mcpServers": {
"docker-k8s": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"DOCKER_HOST": "unix:///var/run/docker.sock",
"KUBECONFIG": "~/.kube/config"
}
}
}
}Available Tools
Docker:
docker_list_containersdocker_run_containerdocker_stop_containerdocker_build_imagedocker_logs
Kubernetes:
k8s_list_podsk8s_create_deploymentk8s_get_servicesk8s_exec_podk8s_get_logs
Development
npm run build
npm testSecurity
⚠️ Requires Docker socket and Kubernetes cluster access. Use proper RBAC and authentication in production.
License
MIT License - see LICENSE file
Made with ❤️ by TrivCodez
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-qualityDmaintenanceEnables natural language management of Docker containers, images, networks, and volumes with support for both local and remote Docker engines. Features automated container composition, debugging capabilities, and persistent data management through an intuitive conversational interface.Last updatedGPL 3.0
- FlicenseBqualityDmaintenanceEnables managing Kubernetes clusters through natural language by providing tools to list resources, view logs, port-forward services, scale deployments, and execute kubectl operations via AI assistants.Last updated81
- Alicense-qualityDmaintenanceEnables AI assistants to manage Docker containers, deploy stacks, and monitor services across multiple Docker hosts from one centralized location. Supports container lifecycle management, Docker Compose operations, and infrastructure orchestration through natural language commands.Last updated6MIT
- Alicense-quality-maintenanceEnables AI assistants to interact with Docker containers through safe, permission-controlled access to inspect, manage, and diagnose containers, images, and compose services with built-in timeouts and AI-powered analysis.Last updated
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Build, validate, and deploy multi-agent AI solutions from any AI environment.
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/TrivCodez/docker-kubernetes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server