Add VMMCP, VLMCP and VTMCP CRDs for MCP servers

Open
#2,739 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@megative is already working on this.

Since Oct 18, 2026.

  • #2740 by @megative — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go, kubernetes

Research direction

Start by reading the operator's existing CRD and controller patterns for VictoriaMetrics workloads, then compare the three official MCP Helm charts named in the issue. The requested work spans three CRDs and their generated Kubernetes resources, optional policies, resources, probes, and tests. Done means all three MCP server types are deployable through operator managed objects with unit and end to end coverage; the author reports a working implementation and plans to open a PR.

Written by the indexing model from the issue text.

Description

enhancement
Is your feature request related to a problem? Please describe

The operator can't deploy MCP servers for VictoriaMetrics, VictoriaLogs and VictoriaTraces (mcp-victoriametrics, mcp-victorialogs, mcp-victoriatraces). Users who manage the whole stack with the operator have to install them with separate helm charts and set the backend URL, credentials and monitoring by hand, outside of the operator-managed objects.

Describe the solution you'd like

Add three CRDs in operator.victoriametrics.com/v1, one per official chart (victoria-metrics-mcp, victoria-logs-mcp, victoria-traces-mcp): VMMCP, VLMCP and VTMCP. For each CR the operator creates a Deployment, Service, ServiceAccount and VMServiceScrape, and optionally a PDB, VPA and NetworkPolicy. The objects are named vmmcp-<name>, vlmcp-<name> and vtmcp-<name>, like in the charts. The backend is set with spec.entrypoint, credentials come from Secret references, and the transport is set with spec.serverMode (http or sse).

apiVersion: operator.victoriametrics.com/v1
kind: VMMCP
metadata:
  name: example
spec:
  entrypoint: http://vmselect-example.default.svc:8481
  instanceType: cluster
Describe alternatives you've considered
  • A single CRD with spec.type: metrics|logs|traces. It would break the VM/VL/VT naming of other CRDs and charts, and the settings differ: instanceType and cloudAPIKey exist only for VictoriaMetrics.
  • References to operator-managed CRs instead of a URL. This can be added later, while a URL also covers external and Cloud instances.
Additional information
  • MCP servers don't authenticate clients, so VMUser targetRef.crd support for routing via VMAuth could be a follow-up.
  • mcp-victoriametrics keeps an index of the built-in documentation in memory (~700MiB), so it needs higher default resources and a startup probe.
  • I have a working implementation with unit and e2e tests and will open a PR.
Dominant language
Go
Stars
603
Forks
242
Avg merge
1d 14h
Merged PRs (30d)
57

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VictoriaMetrics/operator

All issues in VictoriaMetrics/operator

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.