Back to Home
aliyun icon

alibabacloud-ack-mcp-server

Verified Safe

by aliyun

Overview

This MCP server unifies ACK cluster/resource management, Kubernetes native operations, and container observability, security auditing, and diagnostic inspection capabilities into an AI-native, standardized toolset.

Installation

Run Command
No command provided

Environment Variables

  • ACCESS_KEY_ID
  • ACCESS_KEY_SECRET
  • REGION_ID
  • KUBECONFIG_MODE
  • KUBECONFIG_PATH
  • PROMETHEUS_ENDPOINT_MODE
  • ENABLE_EXECUTION_LOG
  • CACHE_TTL
  • CACHE_MAX_SIZE
  • FASTMCP_LOG_LEVEL
  • DEVELOPMENT
  • DIAGNOSE_TIMEOUT
  • DIAGNOSE_POLL_INTERVAL
  • KUBECTL_TIMEOUT
  • API_TIMEOUT

Security Notes

The server correctly handles sensitive credentials by reading them from environment variables or command-line arguments, rather than hardcoding them. It also implements checks in `kubectl_handler.py` to prevent write operations and interactive commands in read-only mode, which is a good security practice. However, the `subprocess.run` and `subprocess.Popen` calls in `kubectl_handler.py` use `shell=True`. While the command string is constructed with the kubeconfig path and the provided command, using `shell=True` with user-controlled input (even if pre-processed by an LLM) can introduce shell injection vulnerabilities if the input is not perfectly sanitized. The current `is_write_command` and `is_interactive_command` functions are based on simple string checks, not robust command parsing, which leaves a potential attack surface. The file management for temporary kubeconfigs in `~/.kube` is reasonable, with cleanup mechanisms in place.

Similar Servers

Stats

Interest Score70
Security Score7
Cost ClassHigh
Avg Tokens1000
Stars92
Forks8
Last Update2025-12-09

Tags

KubernetesAlibaba Cloud ACKAI-NativeObservabilityDevOpsMCP