# MCP Victorialogs

> MCP Victorialogs is an open-source MCP server. MCP Server for VictoriaLogs. Provides integration with VictoriaLogs API and documentation. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/victoriametrics-community/mcp-victorialogs
- **MCP Registry name:** io.github.VictoriaMetrics-Community/mcp-victorialogs
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-victorialogs --env VL_INSTANCE_ENTRYPOINT='<VL_INSTANCE_ENTRYPOINT>' --env VL_INSTANCE_BEARER_TOKEN='<VL_INSTANCE_BEARER_TOKEN>' -- docker run -i --rm -e VL_INSTANCE_ENTRYPOINT -e VL_INSTANCE_BEARER_TOKEN ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-victorialogs": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VL_INSTANCE_ENTRYPOINT",
        "-e",
        "VL_INSTANCE_BEARER_TOKEN",
        "ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0"
      ],
      "env": {
        "VL_INSTANCE_ENTRYPOINT": "<VL_INSTANCE_ENTRYPOINT>",
        "VL_INSTANCE_BEARER_TOKEN": "<VL_INSTANCE_BEARER_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-victorialogs": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VL_INSTANCE_ENTRYPOINT",
        "-e",
        "VL_INSTANCE_BEARER_TOKEN",
        "ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0"
      ],
      "env": {
        "VL_INSTANCE_ENTRYPOINT": "<VL_INSTANCE_ENTRYPOINT>",
        "VL_INSTANCE_BEARER_TOKEN": "<VL_INSTANCE_BEARER_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-victorialogs": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VL_INSTANCE_ENTRYPOINT",
        "-e",
        "VL_INSTANCE_BEARER_TOKEN",
        "ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0"
      ],
      "env": {
        "VL_INSTANCE_ENTRYPOINT": "<VL_INSTANCE_ENTRYPOINT>",
        "VL_INSTANCE_BEARER_TOKEN": "<VL_INSTANCE_BEARER_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-victorialogs": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VL_INSTANCE_ENTRYPOINT",
        "-e",
        "VL_INSTANCE_BEARER_TOKEN",
        "ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0"
      ],
      "env": {
        "VL_INSTANCE_ENTRYPOINT": "<VL_INSTANCE_ENTRYPOINT>",
        "VL_INSTANCE_BEARER_TOKEN": "<VL_INSTANCE_BEARER_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-victorialogs": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "VL_INSTANCE_ENTRYPOINT",
        "-e",
        "VL_INSTANCE_BEARER_TOKEN",
        "ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0"
      ],
      "env": {
        "VL_INSTANCE_ENTRYPOINT": "<VL_INSTANCE_ENTRYPOINT>",
        "VL_INSTANCE_BEARER_TOKEN": "<VL_INSTANCE_BEARER_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is MCP Victorialogs free?

Yes. MCP Victorialogs is open source, so you can use and self-host it for free.

### How do I add MCP Victorialogs to Claude Code?

Run this command in your terminal: claude mcp add mcp-victorialogs --env VL_INSTANCE_ENTRYPOINT='<VL_INSTANCE_ENTRYPOINT>' --env VL_INSTANCE_BEARER_TOKEN='<VL_INSTANCE_BEARER_TOKEN>' -- docker run -i --rm -e VL_INSTANCE_ENTRYPOINT -e VL_INSTANCE_BEARER_TOKEN ghcr.io/victoriametrics-community/mcp-victorialogs:1.8.0

---
Source: https://ai-powered.com/mcp/mcp-victorialogs
