docker-ops-server
Allows AI assistants to manage Docker containers, check logs, and inspect container health locally.
Allows AI assistants to check cluster health and manage Kubernetes resources locally.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🚀 AI Assistant for Local Docker & Kubernetes (MCP Agent)
This project connects an AI Assistant (like Claude Desktop) directly to your local Docker and Kubernetes environment.
Instead of manually running terminal commands, copying logs, and pasting them into a chat window, the AI agent can run commands, check container logs, and inspect cluster health for you in real time—all with your approval.
🌟 Why Use This?
No More Copy-Pasting Logs: The AI checks live container and cluster status directly.
Safe & Secure: The AI asks for your permission before running any command on your machine.
Easy Debugging: Helps you troubleshoot local DevOps setups faster.
Related MCP server: Docker & Kubernetes MCP Server
📁 Project Files
AGENTIC/
├── mcp_server.py # The backend server that runs Docker/K8s commands
├── agent_with_mcp.py # Script to run and test the MCP agent
├── agent.py # Main agent execution script
├── generative_ai.py # Helper functions for the AI model
├── requirements.txt # Python libraries needed for this project
└── README.md # Project documentation⚡ Quick Setup Guide
1. Clone the Repository & Set Up Python
# Clone this repository
# Create a virtual environment
python -m venv .venv
# Activate the virtual environment
# On Windows:
.venv\Scripts\activate
# On Mac/Linux:
source .venv/bin/activate
# Install required packages
pip install -r requirements.txt⚙️ How to Connect Claude Desktop to Your Local MCP Server
Follow these steps to open the configuration file directly from Claude Desktop:
Open Claude Desktop on your computer.
Click on the Claude Menu (top left on macOS or via your Profile/Settings on Windows).
Select Settings... from the dropdown menu.
Go to the Developer tab in the left sidebar.
Click the Edit Config button. This will automatically open or locate the
claude_desktop_config.jsonfile in your system text editor.Paste the following configuration block into the file:
{
"mcpServers": {
"docker-ops-server": {
"command": "C:\\path\\to\\your\\AGENTIC\\.venv\\Scripts\\python.exe",
"args": [
"C:\\path\\to\\your\\AGENTIC\\mcp_server.py"
]
}
}
}⚠️ Important: Replace
C:\path\to\your\AGENTICwith the actual full path to your project folder. Make sure you point directly to the Python interpreter inside.venvto prevent connection errors.
Save the file and completely restart Claude Desktop for the changes to take effect.
🚀 How to Use
Make sure Docker Desktop is running on your machine.
Open Claude Desktop.
Look for the hammer / tool icon at the bottom of the chat box—this confirms your local MCP tools are active.
Ask Claude questions like:
"Show me all running Docker containers."
"Check the health of my Kubernetes nodes."
Click Allow when Claude requests permission to run a tool!
🛠️ Common Issue & Fix
Error:
Server disconnectedin Claude DesktopFix: Open Settings → Developer in Claude Desktop and click View Logs to check the error stream. Double-check that your path to
.venv\Scripts\python.exeinclaude_desktop_config.jsonis completely accurate.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Connect AI assistants to explicitly paired computers, servers, and VMs for permitted remote actions.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables 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.-
- AlicenseBqualityDmaintenanceEnables AI assistants to manage Docker containers and Kubernetes resources through natural language, supporting operations like container management, image building, and pod/deployment/service management.9MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to manage Docker containers and Compose stacks through natural language, including lifecycle operations, logs, stats, and secure remote access.2113 npm3MIT
- AlicenseDqualityDmaintenanceEnables AI assistants to interact with local Docker containers, Kubernetes clusters, and system logs using the Model Context Protocol.98 npmISC