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
{{- if .Values.gateway.create }}
{{- if not .Values.gateway.className }}
{{- fail "gateway.className is required when gateway.create is true" }}
{{- end }}
{{- if not (or .Values.gateway.listeners.http.enabled .Values.gateway.listeners.https.enabled) }}
{{- fail "At least one listener (http or https) must be enabled when gateway.create is true" }}
{{- end }}
{{- if .Values.gateway.name }}
{{- fail "gateway.name and gateway.create cannot both be set; disable gateway.create when using an existing gateway.name" }}
{{- end }}
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: {{ include "dot-ai.fullname" . }}-http
labels:
{{- include "dot-ai.labels" . | nindent 4 }}
{{- $annotations := include "dot-ai.annotations" (dict "global" .Values.annotations "local" .Values.gateway.annotations) -}}
{{- if $annotations }}
annotations:
{{- $annotations | nindent 4 }}
{{- end }}
spec:
gatewayClassName: {{ .Values.gateway.className }}
listeners:
{{- if .Values.gateway.listeners.http.enabled }}
- name: http
protocol: HTTP
port: 80
{{- if .Values.gateway.listeners.http.hostname }}
hostname: {{ .Values.gateway.listeners.http.hostname }}
{{- end }}
allowedRoutes:
namespaces:
from: Same
{{- end }}
{{- if .Values.gateway.listeners.https.enabled }}
- name: https
protocol: HTTPS
port: 443
{{- if .Values.gateway.listeners.https.hostname }}
hostname: {{ .Values.gateway.listeners.https.hostname }}
{{- end }}
tls:
mode: Terminate
{{- if .Values.gateway.listeners.https.certificateRefs }}
certificateRefs:
{{- range .Values.gateway.listeners.https.certificateRefs }}
- kind: {{ .kind | default "Secret" }}
name: {{ .name }}
{{- if .group }}
group: {{ .group }}
{{- end }}
{{- if .namespace }}
namespace: {{ .namespace }}
{{- end }}
{{- end }}
{{- else }}
certificateRefs:
- kind: Secret
name: {{ .Values.gateway.listeners.https.secretName | default (printf "%s-tls" (include "dot-ai.fullname" .)) }}
{{- end }}
allowedRoutes:
namespaces:
from: Same
{{- end }}
{{- end }}