k8s-mcp

v2026.5.27.147 safe
2.9
Low Risk

A Model Context Protocol (MCP) server for Kubernetes with 270+ tools, 8 resources, and 8 prompts

📦 Package Quality Overall: Low (3.6/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/xuyun-io/k8s-mcp#readme
  • Detailed PyPI description (35387 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 582 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • cpu_req = requests.get("cpu", "0") cpu_lim = limits.get("cp
  • mem_req = requests.get("memory", "0") mem_lim = limits.get(
  • cpu = container.resources.requests.get("cpu", "0") memory = container.resou
  • memory = container.resources.requests.get("memory", "0") pod_cpu += _parse_cpu
  • parse_cpu(container.resources.requests.get("cpu", "0")) total_mem_req += _parse
  • se_memory(container.resources.requests.get("memory", "0")) if total_cpu_req == 0 and t
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • S_ERROR result = subprocess.run( ["kubectl", "config", "use-context", args.n
  • bprocess result = subprocess.run(["kubectl", "version", "--client", "-o", "json"],
  • bprocess result = subprocess.run(["helm", "version", "--short"], capture_output=True, text=Tr
  • bprocess result = subprocess.run(["agent-browser", "--version"], capture_output=True, text=Tr
  • == "kubectl": subprocess.check_output( [tool, "version", "--client", "--output
  • ol == "helm": subprocess.check_output( [tool, "version", "--short"],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

⚠ Registered Email Domain score 3.0

Suspicious email domain flags: Very short email domain: qq.com>

  • Very short email domain: qq.com>
✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with k8s-mcp
Build a simple Python application using the k8s-mcp package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!