Back to Home
martinimarcello00 icon

k8s-observability-mcp

Verified Safe

by martinimarcello00

Overview

Provides an MCP server to explore and analyze Kubernetes metrics, logs, traces, and service graph data for observability and debugging.

Installation

Run Command
poetry run python mcp_server.py

Environment Variables

  • TARGET_NAMESPACE
  • PROMETHEUS_SERVER_URL
  • JAEGER_URL
  • NEO4J_URI
  • NEO4J_USER
  • NEO4J_PASSWORD
  • TRACE_SERVICE_STARTING_POINT
  • MCP_TRANSPORT

Security Notes

The server uses standard Python libraries for interacting with Kubernetes, Prometheus, Jaeger, and Neo4j, which generally use structured arguments or parameterized queries, mitigating common injection risks. Environment variables are used for configuration, preventing hardcoded credentials. A minor potential risk could arise if malicious input for pod names in Prometheus queries crafts a regex that causes performance issues, but this is less severe than direct code execution. The Neo4j graph creation/deletion functions are administrative and require manual file input or confirmation, not exposed to general user queries.

Similar Servers

Stats

Interest Score30
Security Score8
Cost ClassMedium
Avg Tokens3500
Stars1
Forks1
Last Update2025-12-05

Tags

KubernetesObservabilityMetricsLogsTracing