mcp-victorialogs

v1.11.0
io.github.VictoriaMetrics/mcp-victorialogs Checked 2 days ago Published 9 days ago

MCP Server for VictoriaLogs.

Values you need

VariableWhat it is
VL_INSTANCE_ENTRYPOINToptional URL to VictoriaLogs instance (it should be root URL of vlsingle or vlselect), for example http://localhost:9428 or https://play-vmlogs.victoriametrics.com. Required unless VMC_API_KEY is set, cannot be used with VMC_API_KEY
VL_INSTANCE_BEARER_TOKENoptional secret Optional: authentication token for VictoriaLogs API
VMC_API_KEYoptional secret Optional: API key from VictoriaMetrics Cloud Console (if you have VictoriaLogs deployments in VictoriaMetrics Cloud). Required unless VL_INSTANCE_ENTRYPOINT is set, cannot be used with VL_INSTANCE_ENTRYPOINT
VMC_API_BASE_URLoptional Optional: base URL of the VictoriaMetrics Cloud API, https://api.victoriametrics.cloud by default
MCP_DISABLED_TOOLSoptional Comma-separated list of tools to disable

Docker

Requires Docker

Run in a terminal
claude mcp add mcp-victorialogs -- docker run -i --rm ghcr.io/victoriametrics/mcp-victorialogs:1.11.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-victorialogs": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-victorialogs": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-victorialogs": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-victorialogs]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json