MCP Victorialogs logo

MCP Victorialogs

Query VictoriaLogs, inspect log metadata and statistics, and search embedded documentation through MCP.

Install MCP Victorialogs

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://play-vmlogs-mcp.victoriametrics.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The mcp-victorialogs MCP server connects MCP clients to a VictoriaLogs instance through its APIs and embedded documentation. It supports read-only log queries, stream and field discovery, instance parameters, and log statistics exposed as metrics. Run it in stdio or Streamable HTTP mode, using environment variables to configure the VictoriaLogs endpoint and optional authentication. Reach for it when an agent needs to investigate logs, understand available log data, or look up VictoriaLogs syntax without separate online documentation access.

Use cases

  • Query logs during incident investigation
  • Explore available streams, fields, and values
  • Inspect VictoriaLogs instance parameters
  • Review log query statistics as metrics
  • Search VictoriaLogs documentation offline

Key features

  • Read-only VictoriaLogs API access
  • Log querying and exploration
  • Stream, field, and value listing
  • Embedded documentation search
  • Stdio and Streamable HTTP modes
  • Optional bearer token and custom headers

Tools13

What MCP Victorialogs lets your agent do. Expand a tool for its parameters.

Verified live~4.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

17/20 checks healthy over the last 91d

What it can do

From the 13 tools this server returned when we ran it.

Read-only tools · 13

Observed 2026-10-15 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars110Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Tools exposed13Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Victorialogs works

What mcp-victorialogs MCP server does

The mcp-victorialogs MCP server gives an MCP client read-only access to a VictoriaLogs deployment. It works with single-node and cluster installations through the VictoriaLogs HTTP API, and also includes a locally embedded copy of VictoriaLogs documentation that can be searched without network access.

Its supported use cases center on log investigation and observability. An agent can query log records, inspect the available streams, enumerate fields and field values, retrieve instance parameters, and obtain query statistics in a metrics-oriented form. The available functionality corresponds broadly to the read-only operations exposed by the VictoriaLogs web UI.

How it works

The server receives requests from an MCP client and sends the relevant API requests to the configured VictoriaLogs endpoint. The target URL is supplied through configuration rather than selected by the client for each installation. Optional bearer authentication and custom request headers allow the server to reach protected or specially configured instances.

Two operating modes are described: stdio for local client integrations and Streamable HTTP for network-accessible use. Streamable HTTP mode also provides a root-endpoint UI with setup instructions and tool inspection. A public Streamable HTTP instance is available for trying the server against the VictoriaLogs playground, although it is intended for MCP clients rather than direct browser use.

Setup and configuration

Install the binary with Go, download a release artifact, run the published container, build from source, or use the available Helm chart. Building from source requires Go 1.26 or newer. A VictoriaLogs instance is required regardless of the installation method.

Set VL_INSTANCE_ENTRYPOINT to the VictoriaLogs URL. Authentication can use VL_INSTANCE_BEARER_TOKEN, while VL_INSTANCE_HEADERS accepts comma-separated key-value pairs for custom HTTP headers. In HTTP or SSE modes, MCP_PASSTHROUGH_HEADERS can forward selected headers from incoming MCP requests and takes precedence over matching configured headers. VL_DEFAULT_TENANT_ID supplies a fallback tenant in AccountID:ProjectID or AccountID form, defaulting to 0:0. Select the transport with MCP_SERVER_MODE; stdio is the default.

Tools and capabilities

The mcp-victorialogs MCP server supports capabilities for:

  • Querying and exploring VictoriaLogs records
  • Listing log streams
  • Listing fields and values
  • Reading VictoriaLogs instance parameters
  • Returning log query statistics as metrics
  • Searching embedded VictoriaLogs documentation
  • Inspecting setup instructions and available tools through the HTTP root endpoint

The server is intended for read-only operations. Prompts can combine log queries with documentation searches, depending on the MCP client and model used.

Limitations and notes

This server does not provide write operations in the described API surface; its documented VictoriaLogs functions are read-only. Access still depends on a reachable VictoriaLogs instance and any required credentials or headers. The quality of generated investigations depends on the MCP client and model handling the returned tools and responses.

The mcp-victorialogs MCP server can be used with the public playground configuration for evaluation, but production deployments should point VL_INSTANCE_ENTRYPOINT at the intended VictoriaLogs service. The README specifically demonstrates Claude Desktop and does not document client-specific setup for other clients.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Victorialogs

mcp-victorialogs is an MCP server that connects MCP clients to VictoriaLogs through its HTTP APIs and embedded documentation. Its main tools support read-only log queries, stream and field discovery, field-value listing, instance parameter inspection, query statistics, and documentation search for VictoriaLogs deployments.

Install it with Go, download a release binary, run the published Docker image, build it from source, or deploy the Helm chart. Source builds require Go 1.26 or newer. You must also provide a VictoriaLogs instance through `VL_INSTANCE_ENTRYPOINT`.

Set `VL_INSTANCE_BEARER_TOKEN` for bearer authentication, or use `VL_INSTANCE_HEADERS` for custom comma-separated request headers. In SSE or Streamable HTTP mode, `MCP_PASSTHROUGH_HEADERS` can forward selected incoming headers and overrides matching configured headers.

It documents stdio and Streamable HTTP operation and provides a Claude Desktop example, so Cursor configuration would depend on its support for those MCP transport modes.

You can query and explore logs, list streams, fields, and field values, inspect VictoriaLogs parameters, and retrieve query statistics as metrics. The server also searches embedded VictoriaLogs documentation, while its documented VictoriaLogs API access is read-only.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Victorialogs AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-victorialogs?style=directory)](https://allmcps.com/mcp/mcp-victorialogs)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-victorialogs"><img src="https://allmcps.com/api/badge/mcp-victorialogs?style=directory" alt="MCP Victorialogs on AllMCPs" /></a>