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.
Latest Blog Posts
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