local-devops-mcp
Interact with local Docker daemon: list containers, fetch logs, restart, and inspect containers.
Interact with local Kubernetes cluster: list pods, get pod logs, and describe pods.
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., "@local-devops-mcplist my 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.
Local DevOps MCP Server
A Model Context Protocol (MCP) server that provides tools for local DevOps tasks, enabling AI assistants to interact with your local Docker environment, Kubernetes clusters, and system logs.
This server usesTOON (Token-Oriented Object Notation) for tool outputs to optimize token usage for LLMs.
Features
🐳 Docker
Interact with your local Docker daemon:
docker_list_containers: List running or all containers.docker_logs: Fetch logs from a container (with error highlighting 🔴).docker_restart: Restart a specific container.docker_inspect: Inspect container details.
☸️ Kubernetes
Interact with your local Kubernetes cluster (uses ~/.kube/config):
k8s_list_pods: List pods in a namespace.k8s_pod_logs: Get logs from a pod.k8s_describe_pod: Get detailed pod information.
🖥️ System
Access local system information:
system_open_ports: List open listening ports (requireslsof).system_logs: Read system logs (e.g.,/var/log/system.log).
Related MCP server: Docker MCP Server
Installation & Usage
Using npx (Recommended)
You can run the server directly without installation:
npx local-devops-mcpConfiguration for Claude Desktop
To use this server with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"local-devops": {
"command": "npx",
"args": ["-y", "local-devops-mcp"]
}
}
}Running from Source
Clone the repository:
git clone https://github.com/nguyentrantung205/local-devops-mcp.git cd local-devops-mcpInstall dependencies:
npm installBuild the project:
npm run buildRun the server:
node build/index.js
Prerequisites
Node.js: v18 or higher.
Docker: Docker Desktop or Docker Engine must be running locally.
Kubernetes:
kubectlconfigured with a valid~/.kube/config(optional, only for K8s tools).Permissions: The user running the server needs permissions to access the Docker socket and read system logs.
Testing
See TESTING.md for instructions on how to test the server locally.
License
ISC
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 AI assistants like Claude to manage Docker containers, images, and Docker Compose deployments through the Model Context Protocol. Provides secure container lifecycle management, image operations, and multi-host Docker server connections.Last updated208MIT
- Alicense-qualityDmaintenanceEnables AI assistants to manage Docker containers, images, networks, volumes, and Compose services through the Model Context Protocol. It supports system operations, command execution within containers, and integration with Docker Hub and GitHub Container Registry.Last updated1262MIT
- FlicenseAqualityCmaintenanceEnables querying local MySQL databases and managing Docker containers (listing, logs) through natural language via the Model Context Protocol.Last updated498
- Alicense-qualityDmaintenanceEnables AI assistants to manage Docker containers, images, networks, volumes, and Docker Compose services through the Model Context Protocol.Last updated82MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
A Model Context Protocol server for Wix AI tools
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/nguyentrantung205/local-devops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server