Back to Home
shaharco99 icon

MCP

by shaharco99

Overview

Serve as a local Model Context Protocol (MCP) server, exposing DevOps tools like kubectl, docker, and helm, with optional LLM integration for enhanced capabilities.

Installation

Run Command
python server.py

Environment Variables

  • LLM_PROVIDER
  • OLLAMA_MODEL
  • OPENAI_API_KEY
  • OPENAI_MODEL
  • GOOGLE_API_KEY
  • GOOGLE_MODEL
  • ANTHROPIC_API_KEY
  • ANTHROPIC_MODEL
  • PYTHONIMAGEVERSION
  • CONTAINERNAME
  • KUBECONFIG
  • PYTHONUNBUFFERED
  • PYTHONDONTWRITEBYTECODE
  • HOME
  • USERPROFILE

Security Notes

The `load_kube` utility in `server.py` explicitly disables SSL verification for Kubernetes connections when running within Docker, which is a critical security risk as it allows for man-in-the-middle attacks. While `kubectl` and `run_shell` tools implement whitelisting and checks against shell injection, the fundamental network configuration flaw compromises overall security. API keys are managed via `.env` files, which requires careful handling in shared environments.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens1024
Stars0
Forks1
Last Update2025-12-06

Tags

DevOpsKubernetesDockerLLMToolingCI/CD