Skip to main content
Glama
deployment.yaml3.7 kB
apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "mcp-victorialogs.fullname" . }} labels: {{ include "mcp-victorialogs.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: {{ include "mcp-victorialogs.selectorLabels" . | nindent 6 }} template: metadata: {{- with .Values.podAnnotations }} annotations: {{ toYaml . | nindent 8 }} {{- end }} labels: {{- include "mcp-victorialogs.labels" . | nindent 8 }} {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }} {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "mcp-victorialogs.serviceAccountName" . }} {{- with .Values.podSecurityContext }} securityContext: {{ toYaml . | nindent 8 }} {{- end }} containers: - name: {{ .Chart.Name }} {{- with .Values.securityContext }} securityContext: {{ toYaml . | nindent 12 }} {{- end }} {{- $repo := .Values.image.repository }} {{- with .Values.image.registry }} {{- $repo = printf "%s/%s" . $repo }} {{- end }} image: "{{ $repo }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: MCP_LISTEN_ADDR value: "0.0.0.0:{{ .Values.service.port }}" - name: MCP_SERVER_MODE value: "{{ .Values.mcp.mode }}" - name: VL_INSTANCE_ENTRYPOINT value: "{{ required ".Values.vl.entrypoint should be set" .Values.vl.entrypoint }}" {{- with .Values.vl.bearerToken }} - name: VL_INSTANCE_BEARER_TOKEN {{- if kindIs "map" . }} valueFrom: {{ toYaml . | nindent 16 }} {{- else }} value: "{{ . }}" {{- end }} {{- end }} {{- with .Values.vl.headers }} - name: VL_INSTANCE_HEADERS value: "{{ join "," . }}" {{- end }} {{- with .Values.mcp.disable.resources }} - name: MCP_DISABLE_RESOURCES value: "{{ . }}" {{- end }} {{- with .Values.mcp.disable.tools }} - name: MCP_DISABLED_TOOLS value: "{{ join "," . }}" {{- end }} {{- with .Values.mcp.heartbeatInterval }} - name: MCP_HEARTBEAT_INTERVAL value: "{{ . }}" {{- end }} {{- with .Values.env }} {{- toYaml . | nindent 12 }} {{- end }} ports: - name: http containerPort: {{ .Values.service.port }} protocol: TCP {{- with .Values.livenessProbe }} livenessProbe: {{ toYaml . | nindent 12 }} {{- end }} {{- with .Values.readinessProbe }} readinessProbe: {{ toYaml . | nindent 12 }} {{- end }} {{- with .Values.resources }} resources: {{ toYaml . | nindent 12 }} {{- end }} {{- with .Values.volumeMounts }} volumeMounts: {{ toYaml . | nindent 12 }} {{- end }} {{- with .Values.volumes }} volumes: {{ toYaml . | nindent 8 }} {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | nindent 8 }} {{- end }} {{- with .Values.affinity }} affinity: {{ toYaml . | nindent 8 }} {{- end }} {{- with .Values.tolerations }} tolerations: {{ toYaml . | nindent 8 }} {{- end }}

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/VictoriaMetrics-Community/mcp-victorialogs'

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