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.
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-ops-serverShow me 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.
🚀 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.
This server cannot be installed
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-quality-maintenanceEnables 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.
- AlicenseBqualityBmaintenanceEnables 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
- Alicense-qualityDmaintenanceEnables AI assistants to manage Docker containers, images, networks, volumes, and Docker Compose services through the Model Context Protocol.91MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to manage Docker containers and Compose stacks through natural language, including lifecycle operations, logs, stats, and secure remote access.21912MIT
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
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/KumarSwarnim19/MCP-AGENTS-'
If you have feedback or need assistance with the MCP directory API, please join our Discord server