MCP.so
ログイン

VictoriaMetrics MCP Server

@VictoriaMetrics-Community

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

トランスポート

stdio

作者

VictoriaMetrics-Community

VictoriaMetrics MCP Server について

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

VictoriaMetrics MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "victoriametrics": {
      "command": "/path/to/mcp-victoriametrics",
      "env": {
        "VM_INSTANCE_ENTRYPOINT": "<YOUR_VM_INSTANCE>",
        "VM_INSTANCE_TYPE": "<YOUR_VM_INSTANCE_TYPE>",
        "VM_INSTANCE_BEARER_TOKEN": "<YOUR_VM_BEARER_TOKEN>"
      }
    }
  }
}

VictoriaMetrics MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is VictoriaMetrics MCP Server?

The VictoriaMetrics MCP Server is an implementation of the Model Context Protocol (MCP) that provides an interface to VictoriaMetrics instances. It enables AI assistants and tools to query metrics, explore data, search documentation, and perform monitoring and debugging tasks using VictoriaMetrics read-only APIs.

How to use VictoriaMetrics MCP Server?

Install via pre-built binaries, Docker, or build from source. Configure environment variables such as VM_INSTANCE_ENTRYPOINT and VM_INSTANCE_TYPE to point to your VictoriaMetrics instance. Then connect an MCP-compatible client to the server (stdio, SSE, or Streamable HTTP modes). A public test instance is available at https://play-mcp.victoriametrics.com/mcp.

Key features of VictoriaMetrics MCP Server

  • Query metrics and explore data, including graph rendering
  • List, export metrics, labels, label values, and series
  • Analyze and test alerting and recording rules
  • Show VictoriaMetrics instance configuration parameters
  • Explore cardinality and metrics usage statistics
  • Debug relabeling, downsampling, and retention policies
  • Embedded up-to-date documentation searchable offline

Use cases of VictoriaMetrics MCP Server

  • AI-assisted monitoring and observability of VictoriaMetrics instances
  • Automated debugging and investigation of metric data
  • Integration with MCP-compatible clients for natural language queries
  • Testing and validating alerting and recording rules without a UI

よくある質問

1

What are the prerequisites to run the server?

You need a VictoriaMetrics instance (single-node or cluster) or a VictoriaMetrics Cloud account. To build from source, Go 1.26+ is required; pre-built binaries do not require Go.

2

What transport modes are supported?

Three modes: `stdio` (default for CLI integration), `sse` (Server-Sent Events over HTTP), and `http` (Streamable HTTP). Configure via the `MCP_SERVER_MODE` environment variable.

3

How can I authenticate to my VictoriaMetrics instance?

Use the `VM_INSTANCE_BEARER_TOKEN` environment variable for a bearer token, or provide custom HTTP headers via `VM_INSTANCE_HEADERS`. For VictoriaMetrics Cloud, use `VMC_API_KEY`.

4

Can I use it with VictoriaMetrics Cloud?

Yes. Set the `VMC_API_KEY` environment variable with an API key from the VictoriaMetrics Cloud Console. No `VM_INSTANCE_ENTRYPOINT` is needed when using `VMC_API_KEY`.

5

Does the server support write operations?

No. The server exposes only read‑only VictoriaMetrics APIs—the same functions available in VMUI. It does not support writing or modifying data.

コメント

「その他」の他のコンテンツ