Skip to content
VS Code

mcp victorialogs for VS Code

io.github.victoriametrics/mcp-victorialogs

MCP Server for VictoriaLogs. Provides integration with VictoriaLogs API and documentation

client:VS Code transport:stdio runtime:oci

Install mcp victorialogs in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "vl-instance-entrypoint",
      "description": "VL_INSTANCE_ENTRYPOINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vl-instance-bearer-token",
      "description": "VL_INSTANCE_BEARER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-disabled-tools",
      "description": "MCP_DISABLED_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "mcp-victorialogs": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/victoriametrics/mcp-victorialogs:1.9.0"
      ],
      "env": {
        "VL_INSTANCE_ENTRYPOINT": "${input:vl-instance-entrypoint}",
        "VL_INSTANCE_BEARER_TOKEN": "${input:vl-instance-bearer-token}",
        "MCP_DISABLED_TOOLS": "${input:mcp-disabled-tools}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp victorialogs in other clients