VictoriaLogs MCP
An MCP server implementation for VictoriaLogs that provides read-only access to its APIs, enabling log querying, stream listing, field value exploration, and query statistics. It integrates with VictoriaLogs instances and VictoriaMetrics Cloud, offering a comprehensive interface for logs, observability, and debugging tasks.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Querying logs and exploring logs data
- Showing parameters of your VictoriaLogs instance
- Listing available streams, fields, field values
- Query statistics for the logs as metrics
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/victoriametrics/mcp-victorialogs:1.11.0
{
"transport": "stdio",
"identifier": "ghcr.io/victoriametrics/mcp-victorialogs:1.11.0",
"registryType": "oci",
"environmentVariables": [
{
"name": "VL_INSTANCE_ENTRYPOINT",
"format": "string",
"description": "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"
},
{
"name": "VL_INSTANCE_BEARER_TOKEN",
"format": "string",
"description": "Optional: authentication token for VictoriaLogs API"
},
{
"name": "VMC_API_KEY",
"format": "string",
"description": "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"
},
{
"name": "VMC_API_BASE_URL",
"format": "string",
"description": "Optional: base URL of the VictoriaMetrics Cloud API, https://api.victoriametrics.cloud by default"
},
{
"name": "MCP_DISABLED_TOOLS",
"format": "string",
"description": "Comma-separated list of tools to disable"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"victorialogs-mcp-1-11-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VL_INSTANCE_ENTRYPOINT=<YOUR_VL_INSTANCE_ENTRYPOINT>",
"-e",
"VL_INSTANCE_BEARER_TOKEN=<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"-e",
"VMC_API_KEY=<YOUR_VMC_API_KEY>",
"-e",
"VMC_API_BASE_URL=<YOUR_VMC_API_BASE_URL>",
"-e",
"MCP_DISABLED_TOOLS=<YOUR_MCP_DISABLED_TOOLS>",
"ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
],
"env": {
"VL_INSTANCE_ENTRYPOINT": "<YOUR_VL_INSTANCE_ENTRYPOINT>",
"VL_INSTANCE_BEARER_TOKEN": "<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"VMC_API_KEY": "<YOUR_VMC_API_KEY>",
"VMC_API_BASE_URL": "<YOUR_VMC_API_BASE_URL>",
"MCP_DISABLED_TOOLS": "<YOUR_MCP_DISABLED_TOOLS>"
}
}
}
}Cline
{
"mcpServers": {
"victorialogs-mcp-1-11-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VL_INSTANCE_ENTRYPOINT=<YOUR_VL_INSTANCE_ENTRYPOINT>",
"-e",
"VL_INSTANCE_BEARER_TOKEN=<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"-e",
"VMC_API_KEY=<YOUR_VMC_API_KEY>",
"-e",
"VMC_API_BASE_URL=<YOUR_VMC_API_BASE_URL>",
"-e",
"MCP_DISABLED_TOOLS=<YOUR_MCP_DISABLED_TOOLS>",
"ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
],
"env": {
"VL_INSTANCE_ENTRYPOINT": "<YOUR_VL_INSTANCE_ENTRYPOINT>",
"VL_INSTANCE_BEARER_TOKEN": "<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"VMC_API_KEY": "<YOUR_VMC_API_KEY>",
"VMC_API_BASE_URL": "<YOUR_VMC_API_BASE_URL>",
"MCP_DISABLED_TOOLS": "<YOUR_MCP_DISABLED_TOOLS>"
}
}
}
}VS Code
{
"servers": {
"victorialogs-mcp-1-11-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VL_INSTANCE_ENTRYPOINT=<YOUR_VL_INSTANCE_ENTRYPOINT>",
"-e",
"VL_INSTANCE_BEARER_TOKEN=<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"-e",
"VMC_API_KEY=<YOUR_VMC_API_KEY>",
"-e",
"VMC_API_BASE_URL=<YOUR_VMC_API_BASE_URL>",
"-e",
"MCP_DISABLED_TOOLS=<YOUR_MCP_DISABLED_TOOLS>",
"ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
],
"env": {
"VL_INSTANCE_ENTRYPOINT": "<YOUR_VL_INSTANCE_ENTRYPOINT>",
"VL_INSTANCE_BEARER_TOKEN": "<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"VMC_API_KEY": "<YOUR_VMC_API_KEY>",
"VMC_API_BASE_URL": "<YOUR_VMC_API_BASE_URL>",
"MCP_DISABLED_TOOLS": "<YOUR_MCP_DISABLED_TOOLS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"victorialogs-mcp-1-11-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"VL_INSTANCE_ENTRYPOINT=<YOUR_VL_INSTANCE_ENTRYPOINT>",
"-e",
"VL_INSTANCE_BEARER_TOKEN=<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"-e",
"VMC_API_KEY=<YOUR_VMC_API_KEY>",
"-e",
"VMC_API_BASE_URL=<YOUR_VMC_API_BASE_URL>",
"-e",
"MCP_DISABLED_TOOLS=<YOUR_MCP_DISABLED_TOOLS>",
"ghcr.io/victoriametrics/mcp-victorialogs:1.11.0"
],
"env": {
"VL_INSTANCE_ENTRYPOINT": "<YOUR_VL_INSTANCE_ENTRYPOINT>",
"VL_INSTANCE_BEARER_TOKEN": "<YOUR_VL_INSTANCE_BEARER_TOKEN>",
"VMC_API_KEY": "<YOUR_VMC_API_KEY>",
"VMC_API_BASE_URL": "<YOUR_VMC_API_BASE_URL>",
"MCP_DISABLED_TOOLS": "<YOUR_MCP_DISABLED_TOOLS>"
}
}
}
}Let your agent find its tools
Find servers like VictoriaLogs MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.