
victoriametrics/mcp-victorialogs
Deployment & DevOpsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
victoriametrics/mcp-victorialogsは、https://github.com/victoriametrics/mcp-victorialogs.からインポートされたMCPサーバー候補です。
概要
victoriametrics/mcp-victorialogsは、https://github.com/victoriametrics/mcp-victorialogs.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
VictoriaLogs向けのモデルコンテキストプロトコル(MCP)サーバーの実装。
これにより、VictoriaLogsインスタンスへのアクセスとVictoriaLogsのAPIやドキュメントとのシームレスな統合が可能になります。 VictoriaLogsのインスタンスに関連するログ、観測可能性、デバッグタスクの包括的なインターフェースを提供し、エンジニアやツール向けの高度な自動化およびインタラクション機能を可能にします。
特徴
このMCPサーバーにより、VictoriaLogsのほぼすべての読み取り専用API、すなわちWeb UIで利用可能なすべての機能を使用できます。
- ログのクエリおよびログデータの探索
- VictoriaLogsインスタンスのパラメータ表示
- 利用可能なストリーム、フィールド、フィールド値の一覧
- ログの統計をメトリックとしてクエリする
- ルートエンドポイントでのセットアップ指示およびツール検査機能を備えたUI(Streamable HTTPモードのみ)
さらに、MCPサーバーには最新のドキュメントが埋め込まれており、オンラインアクセスなしで検索が可能です。
利用可能なツールやプロンプトの詳細については、「使用」セクションでご覧いただけます。
ツールやドキュメント検索の機能をプロンプトに組み合わせて、VictoriaLogsインスタンスの優れた利用シナリオを考案できます。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
VictoriaLogs MCP Server
The implementation of Model Context Protocol (MCP) server for VictoriaLogs.
This provides access to your VictoriaLogs instance and seamless integration with VictoriaLogs APIs and documentation. It can give you a comprehensive interface for logs, observability, and debugging tasks related to your VictoriaLogs instances, enable advanced automation and interaction capabilities for engineers and tools.
Features
This MCP server allows you to use almost all read-only APIs of VictoriaLogs, i.e. all functions available in Web UI:
- 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
- UI with setup instructions and tools inspection on the root endpoint (only in Streamable HTTP mode)
In addition, the MCP server contains embedded up-to-date documentation and is able to search it without online access.
More details about the exact available tools and prompts can be found in the Usage section.
You can combine functionality of tools, docs search in your prompts and invent great usage scenarios for your VictoriaLogs instance. And please note the fact that the quality of the MCP Server and its responses depends very much on the capabilities of your client and the quality of the model you are using.
You can also combine the MCP server with other observability or doc search related MCP Servers and get even more powerful results.
Try without installation
There is a publicly available instance of the VictoriaMetrics MCP Server that you can use to test the features without installing it:
インストール
docker run -i --rm -e VL_INSTANCE_ENTRYPOINT -e VL_INSTANCE_BEARER_TOKEN -e VL_INSTANCE_HEADERS ghcr.io/victoriametrics/mcp-victorialogs設定
{
"mcpServers": {
"victorialogs": {
"command": "/path/to/mcp-victorialogs",
"env": {
"VL_INSTANCE_ENTRYPOINT": "<YOUR_VL_INSTANCE>",
"VL_INSTANCE_BEARER_TOKEN": "<YOUR_VL_BEARER_TOKEN>",
"VL_INSTANCE_HEADERS": "<HEADER>=<HEADER_VALUE>,<HEADER>=<HEADER_VALUE>"
}
}
}
}