Back to Home
simseksem icon

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

Run Command
mcp-server

Environment 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

Stats

Interest Score0
Security Score3
Cost ClassHigh
Avg Tokens1500
Stars0
Forks0
Last Update2025-11-29

Tags

DockerKubernetesAzureMonitoringLogs