Skip to content
appsgit

MCP Victoriametrics

MCP Victoriametrics is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Server for VictoriaMetrics. Provides integration with… It has 236 GitHub stars, is released under the Apache-2.0 license and runs locally with docker run -i --rm -e VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN -e VMC_API_KEY ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0.

github.com/VictoriaMetrics/mcp-victoriametrics (opens in a new tab)

Install MCP Victoriametrics

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "mcp-victoriametrics": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VM_INSTANCE_ENTRYPOINT",
        "-e",
        "VM_INSTANCE_TYPE",
        "-e",
        "VM_INSTANCE_BEARER_TOKEN",
        "-e",
        "VMC_API_KEY",
        "ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0"
      ],
      "env": {
        "VM_INSTANCE_ENTRYPOINT": "your-value",
        "VM_INSTANCE_TYPE": "your-value",
        "VM_INSTANCE_BEARER_TOKEN": "your-value",
        "VMC_API_KEY": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env VM_INSTANCE_ENTRYPOINT=your-value --env VM_INSTANCE_TYPE=your-value --env VM_INSTANCE_BEARER_TOKEN=your-value --env VMC_API_KEY=your-value --transport stdio mcp-victoriametrics -- docker run -i --rm -e VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN -e VMC_API_KEY ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "mcp-victoriametrics": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VM_INSTANCE_ENTRYPOINT",
        "-e",
        "VM_INSTANCE_TYPE",
        "-e",
        "VM_INSTANCE_BEARER_TOKEN",
        "-e",
        "VMC_API_KEY",
        "ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0"
      ],
      "env": {
        "VM_INSTANCE_ENTRYPOINT": "your-value",
        "VM_INSTANCE_TYPE": "your-value",
        "VM_INSTANCE_BEARER_TOKEN": "your-value",
        "VMC_API_KEY": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "vm_instance_bearer_token",
      "description": "VM_INSTANCE_BEARER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vmc_api_key",
      "description": "VMC_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-victoriametrics": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VM_INSTANCE_ENTRYPOINT",
        "-e",
        "VM_INSTANCE_TYPE",
        "-e",
        "VM_INSTANCE_BEARER_TOKEN",
        "-e",
        "VMC_API_KEY",
        "ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0"
      ],
      "env": {
        "VM_INSTANCE_ENTRYPOINT": "your-value",
        "VM_INSTANCE_TYPE": "your-value",
        "VM_INSTANCE_BEARER_TOKEN": "${input:vm_instance_bearer_token}",
        "VMC_API_KEY": "${input:vmc_api_key}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
VM_INSTANCE_ENTRYPOINTYesURL to VictoriaMetrics instance (it should be root URL of vmsingle or vmselect), for example http://localhost:8428 or https://play.victoriametrics.com
VM_INSTANCE_TYPEYesType of VictoriaMetrics instance (single / cluster)
VM_INSTANCE_BEARER_TOKENsecretYesAuthentication token for VictoriaMetrics API
VMC_API_KEYsecretNoOptional: API key from VictoriaMetrics Cloud Console (if you have deployment in VictoriaMetrics Cloud)
MCP_DISABLED_TOOLSNoComma-separated list of tools to disable
MCP_DISABLE_RESOURCESNoDisable all resources (documentation tool will continue to work)

About MCP Victoriametrics

The implementation of Model Context Protocol (MCP) server for VictoriaMetrics. This provides access to your VictoriaMetrics instance and seamless integration with VictoriaMetrics APIs and documentation. It can give you a comprehensive interface for monitoring, observability, and debugging tasks related to your VictoriaMetrics instances, enable advanced automation and interaction capabilities for engineers and tools.

  • ai
  • mcp
  • mcp-server
  • monitoring
  • observability
  • victoriametrics
  • rag

FAQ

MCP Victoriametrics FAQ

Still curious? Email info@appsgit.com.

What is MCP Victoriametrics?

MCP Victoriametrics is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Server for VictoriaMetrics. Provides integration with… It has 236 GitHub stars, is released under the Apache-2.0 license and runs locally with docker run -i --rm -e VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN -e VMC_API_KEY ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0. The source code is at github.com/VictoriaMetrics/mcp-victoriametrics.

How do I install the MCP Victoriametrics MCP server?

Add the command docker run -i --rm -e VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN -e VMC_API_KEY ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0 to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is MCP Victoriametrics free?

The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (VM_INSTANCE_BEARER_TOKEN and VMC_API_KEY) for the service it connects to, which may require a paid account.

Is MCP Victoriametrics actively maintained?

The most recent commit was on Sep 30, 2026. The latest release is v1.20.2, published Apr 15, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.