Add VMMCP, VLMCP and VTMCP CRDs for MCP servers
Maintainers usually reply within 1 day
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
- Domain
- backend, infrastructure
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
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:instanceTypeandcloudAPIKeyexist 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
VMUsertargetRef.crdsupport for routing viaVMAuthcould 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
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from VictoriaMetrics/operator
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
VictoriaMetrics/operator#2854 ·
Maintainers usually reply within 1 day
-
VLAgent `spec.k8sCollector.includePodLabels: false` has no effectPossibly taken @Haleygo claimed this 25 days ago. Openbug waiting for release
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
VictoriaMetrics/operator#2772 · 1 assignee ·
Maintainers usually reply within 1 day
-
Bug: VMRule `spec.groups[].tenant` should accept an integer, not only a stringPossibly taken @megative claimed this 40 days ago. Openenhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
VictoriaMetrics/operator#2608 · 5 comments ·
Maintainers usually reply within 1 day
-
VMAlert datasource bearer token isn't documentedMay be free again @Haleygo claimed this 35 days ago, and no pull request is open. Opendocs
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
VictoriaMetrics/operator#2365 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
VictoriaMetrics/operator#2845 ·
Maintainers usually reply within 1 day
All issues in VictoriaMetrics/operator
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
uselagoon/lagoon-cli#501 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
slavakurilyak/awesome-ai-agents#1026 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Tarektouati/made#197 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100