Skip to main content
Glama
TrivCodez

Docker & Kubernetes MCP Server

by TrivCodez

Docker & Kubernetes MCP Server

License Docker Kubernetes MCP

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 dev

Usage

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_containers

  • docker_run_container

  • docker_stop_container

  • docker_build_image

  • docker_logs

Kubernetes:

  • k8s_list_pods

  • k8s_create_deployment

  • k8s_get_services

  • k8s_exec_pod

  • k8s_get_logs

Development

npm run build
npm test

Security

⚠️ Requires Docker socket and Kubernetes cluster access. Use proper RBAC and authentication in production.

License

MIT License - see LICENSE file


Made with ❀️ by TrivCodez

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

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