# MCP Server Kubernetes Service # Exposes MCP server for AI/LLM integration # # Usage: # nickel eval --format json mcp-server-service.yaml.ncl | yq -P > mcp-server-service.yaml # kubectl apply -f mcp-server-service.yaml { apiVersion = "v1", kind = "Service", metadata = { name = "mcp-server", labels = { app = "mcp-server", component = "provisioning-platform", }, annotations = { "description" = "MCP server for AI/LLM integration", }, }, spec = { # Internal service for MCP (typically accessed via stdio or WebSocket) type = "ClusterIP", selector = { app = "mcp-server", }, ports = [ { name = "http", protocol = "TCP", port = 8888, targetPort = 8888, }, { name = "metrics", protocol = "TCP", port = 8889, targetPort = 8889, }, ], }, }