VictoriaMetrics-mcp-server
VictoriaMetrics MCP 服务器
VictoriaMetrics 的 MCP 服务器。
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 VictoriaMetrics Server:
npx -y @smithery/cli install @yincongcyincong/victoriametrics-mcp-server --client claude调试
npx @modelcontextprotocol/inspector -e VM_URL=http://127.0.0.1:8428 node src/index.js
NPX
{
"mcpServers": {
"victoriametrics": {
"command": "npx",
"args": [
"-y",
"@yincongcyincong/victoriametrics-mcp-server"
],
"env": {
"VM_URL": "",
"VM_SELECT_URL": "",
"VM_INSERT_URL": ""
}
}
}
}📊 VictoriaMetrics 工具 API 文档
Related MCP server: mcp-netbird
1. vm_data_write
描述:将数据写入 VictoriaMetrics 数据库。
输入参数:
范围 | 类型 | 描述 | 必需的 |
|
| 指标标签 | ✅ |
|
| 指标值数组 | ✅ |
|
| 以 Unix 秒为单位的时间戳数组 | ✅ |
2. vm_prometheus_write
描述:将 Prometheus 公开格式数据导入 VictoriaMetrics。
输入参数:
范围 | 类型 | 描述 | 必需的 |
|
| Prometheus 公开格式的指标 | ✅ |
3. vm_query_range
描述:查询特定时间范围内的时间序列数据。
输入参数:
范围 | 类型 | 描述 | 必需的 |
|
| PromQL 表达式 | ✅ |
|
| 以 Unix 秒为单位的开始时间戳 | ⛔️ |
|
| 以 Unix 秒为单位的结束时间戳 | ⛔️ |
|
| 查询解析步长(例如 | ⛔️ |
仅
query是必需的;其他字段是可选的。
4. vm_query
描述:查询时间序列的当前值。
输入参数:
范围 | 类型 | 描述 | 必需的 |
|
| PromQL 表达式来评估 | ✅ |
|
| 评估时间戳(以 Unix 秒为单位) | ⛔️ |
5. vm_labels
描述:获取所有唯一的标签名称。
输入参数:无
6. vm_label_values
描述:获取特定标签的所有唯一值。
输入参数:
范围 | 类型 | 描述 | 必需的 |
|
| 要获取值的标签名称 | ✅ |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Prometheus metrics and data.17MIT
- Apache 2.0
- AlicenseNot gradedqualityBmaintenanceThe implementation of Model Context Protocol (MCP) server for VictoriaMetrics208Apache 2.0
- AlicenseBqualityAmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to integreate with Prometheus Alertmanager923Apache 2.0
Related MCP Connectors
MCP server for Blockscout
MCP server for managing Prisma Postgres.
An MCP server giving access to Grafana dashboards, data and more.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yincongcyincong/VictoriaMetrics-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server