Mcp Victoriametrics

general MCP Server

The implementation of Model Context Protocol (MCP) server for VictoriaMetrics

Verified
generalgeneral
4 views200 stars25 forksApache-2.0

Why This Matters

Discovered via smithery and last synced 2mo ago.

Verified
Source
smithery
Stars
200
Last synced
2mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
54
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (54)

Default

Allowed values

MCP_DISABLED_TOOLS

Comma-separated list of tools to disable

info

`debug`, `info`, `warn`, `error`

export

Export raw time series data to JSON or CSV

metrics_metadata

Stored metrics metadata (type, help and unit)

top_queries

View most frequent or slowest queries

MCP_LOG_LEVEL

Minimum log level

VM_INSTANCE_TYPE

Type of VictoriaMetrics instance

Prompt

Description

documentation

Search VictoriaMetrics documentation for specific topics

Variable

Description

prettify_query

Prettify and format PromQL/MetricsQL queries

explain_query

Parse PromQL/MetricsQL queries and explain how it works

cloud_providers

List available cloud providers in VictoriaMetrics Cloud

tiers

List available deployment tiers in VictoriaMetrics Cloud

VM_INSTANCE_HEADERS

Custom HTTP headers to send with requests (comma-separated key=value pairs)

false

`false`, `true`

query_range

Execute range PromQL/MetricsQL queries over a time period

flags

View non-default flags of the VictoriaMetrics instance

retention_filters_debug

Debug retention filters configuration

stdio

`stdio`, `sse`, `http`

series

List available time series

deployments

List available deployments in VictoriaMetrics Cloud

Endpoint

Description

text

`text`, `json`

MCP_DISABLE_RESOURCES

Disable all resources (documentation tool will continue to work)

query

Execute instant PromQL/MetricsQL queries

alerts

View current alerts (firing and pending)

downsampling_filters_debug

Debug downsampling configuration

Tool

Description

label_values

List values for a specific label

tsdb_status

View TSDB cardinality statistics

test_rules

Unit-test alerting and recording rules using vmalert tool

VM_INSTANCE_BEARER_TOKEN

Authentication token for VictoriaMetrics API

rules

View alerting and recording rules

metric_relabel_debug

Debug Prometheus-compatible relabeling rules

regions

List available cloud providers regions in VictoriaMetrics Cloud

VM_DEFAULT_TENANT_ID

Default tenant ID for cluster mode. Format: `accountID` or `accountID:projectID` (32-bit integers). See [VictoriaMetrics cluster docs](https://docs.victoriametrics.com/cluster-victoriametrics/#multitenancy)

active_queries

View currently executing queries

metrics

List available metrics

metric_statistics

Get metrics usage (in queries) statistics

rule_filenames

List available alerting and recording rule filenames in VictoriaMetrics Cloud

labels

List available label names

MCP_SERVER_MODE

Server operation mode. See [Modes](#modes) for details.

access_tokens

List available deployment access tokens in VictoriaMetrics Cloud

rule_file

Content of a specific alerting or recording rule file in VictoriaMetrics Cloud

unused_metrics

Find metrics that are never queried and create relabel configs to stop ingesting them

MCP_HEARTBEAT_INTERVAL

Defines the heartbeat interval for the streamable-http protocol. <br /> It means the MCP server will send a heartbeat to the client through the GET connection, <br /> to keep the connection alive from being closed by the network infrastructure (e.g. gateways)

tenants

List available tenants in multi-tenant cluster setup

VMC_API_KEY

[API key from VictoriaMetrics Cloud Console](https://docs.victoriametrics.com/victoriametrics-cloud/api/)

MCP_LISTEN_ADDR

Address for SSE or HTTP server to listen on

MCP_LOG_FORMAT

Log output format

rarely_used_metrics_with_high_cardinality

Identify high-cardinality metrics that are rarely queried

MCP_PASSTHROUGH_HEADERS

HTTP header names to forward from incoming MCP requests to VictoriaMetrics (comma-separated list). Overrides `VM_INSTANCE_HEADERS` on collision. Only applies in `sse`/`http` modes.