VictoriaMetrics MCP Server
@VictoriaMetrics-Community
VictoriaMetrics MCP Server について
The implementation of Model Context Protocol (MCP) server for VictoriaMetrics
基本情報
設定
以下の設定を使って、このサーバーを 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>"
}
}
}
}ツール
ツールは検出されませんでした
ツールは 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
FAQ from VictoriaMetrics MCP Server
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.
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.
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.
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.
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.
「その他」の他のコンテンツ
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Codelf
unbugA search tool helps dev to solve the naming things problem.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
コメント