Docker & Kubernetes MCP Server
Enables AI assistants to manage Docker containers and Kubernetes resources through natural language, supporting operations like container management, image building, and pod/deployment/service management.
README
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
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_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 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.