Skip to main content
Glama
dot-ai.nu2.64 kB
#!/usr/bin/env nu # Installs DevOps AI Toolkit with MCP server support and controller # # Examples: # > main apply dot-ai --host dot-ai.127.0.0.1.nip.io # > main apply dot-ai --provider openai --model gpt-4o # > main apply dot-ai --enable-tracing true def "main apply dot-ai" [ --anthropic-api-key = "", --openai-api-key = "", --provider = "anthropic", --model = "claude-haiku-4-5-20251001", --ingress-enabled = true, --ingress-class = "nginx", --host = "dot-ai.127.0.0.1.nip.io", --version = "0.140.0", --controller-version = "0.16.0", --enable-tracing = false ] { let anthropic_key = if ($anthropic_api_key | is-empty) { $env.ANTHROPIC_API_KEY? | default "" } else { $anthropic_api_key } let openai_key = if ($openai_api_key | is-empty) { $env.OPENAI_API_KEY? | default "" } else { $openai_api_key } let tracing_flags = if $enable_tracing { [ --set 'extraEnv[0].name=OTEL_TRACING_ENABLED' --set-string 'extraEnv[0].value=true' --set 'extraEnv[1].name=OTEL_EXPORTER_OTLP_ENDPOINT' --set 'extraEnv[1].value=http://jaeger-collector.observability.svc.cluster.local:4318/v1/traces' --set 'extraEnv[2].name=OTEL_SERVICE_NAME' --set 'extraEnv[2].value=dot-ai-mcp' ] } else { [] } ( helm upgrade --install dot-ai-controller $"oci://ghcr.io/vfarcic/dot-ai-controller/charts/dot-ai-controller:($controller_version)" --namespace dot-ai --create-namespace --wait ) ( helm upgrade --install dot-ai-mcp $"oci://ghcr.io/vfarcic/dot-ai/charts/dot-ai:($version)" --set $"secrets.anthropic.apiKey=($anthropic_key)" --set $"secrets.openai.apiKey=($openai_key)" --set $"ai.provider=($provider)" --set $"ai.model=($model)" --set $"ingress.enabled=($ingress_enabled)" --set $"ingress.className=($ingress_class)" --set $"ingress.host=($host)" --set "controller.enabled=true" ...$tracing_flags --namespace dot-ai --create-namespace --wait ) print $"DevOps AI Controller (ansi yellow_bold)($controller_version)(ansi reset) installed in (ansi yellow_bold)dot-ai(ansi reset) namespace" print $"DevOps AI Toolkit is available at (ansi yellow_bold)http://($host)(ansi reset)" if $enable_tracing { print $"Tracing enabled: Traces will be sent to (ansi yellow_bold)Jaeger in observability namespace(ansi reset)" } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vfarcic/dot-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server