mcp-container-tools
by simseksem
Overview
An MCP server enabling AI agents to interact with Docker, Kubernetes, and Azure Application Insights for monitoring and management.
Installation
mcp-serverEnvironment Variables
- AZURE_LOG_ANALYTICS_WORKSPACE_ID
- AZURE_APP_INSIGHTS_RESOURCE_ID
Security Notes
The server directly executes shell commands (e.g., `docker exec sh -c <command>`, `kubectl exec sh -c <command>`) using `subprocess.create_subprocess_exec` with user-provided arguments. This poses a critical command injection vulnerability if the MCP server receives input from an untrusted source, allowing arbitrary code execution on the host or within target containers/pods. Additionally, file operations (`read_file`, `list_directory`) can access arbitrary paths, and Kusto queries are constructed with f-strings, potentially leading to path traversal or query injection. While environment variables are filtered for sensitive patterns, this is a mitigating control, not a complete solution. Running this server requires a high degree of trust in the client interacting with it.
Similar Servers
mcphub
An orchestration hub that aggregates, manages, and routes Model Context Protocol (MCP) servers and their tools, providing a centralized interface, user management, OAuth 2.0 authorization server capabilities, and AI-powered tool discovery and routing.
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
mcp-shark
Aggregate multiple Model Context Protocol (MCP) servers into a single unified interface with a powerful monitoring UI.
toolhive-studio
ToolHive is a desktop application (Electron UI) for discovering, deploying, and managing Model Context Protocol (MCP) servers in isolated containers, and connecting them to AI agents and clients.